azure-aks-configmap-data

ConfigMaps are plaintext and are often misused for credentials or sensitive configuration.

azurecritical service: azure:aks emits ContainsSecret

Where it sits

locationKubernetes core/v1 ConfigMap.{data,binaryData}
location kindconfig_field
data kindscredential password api_key access_key secret_key oauth_token connection_string source_code_secret
emits edgeContainsSecret
serviceAKS (azure:aks)

Collection recipe

access modedata_plane
operationKubernetes GET /api/v1/namespaces/{namespace}/configmaps/{name}
response path{data,binaryData}
encodingjson
params{"resource_id": "\u003cazure-resource-id\u003e"}

Required permissions

Microsoft.ContainerService/managedClusters/configmaps/read

References

move · open · esc close