gcp-gke-workload-literal-environment-values

Pod templates can persist literal credentials in environment variable values.

gcpcritical service: gcp:gke emits ContainsCredential

Where it sits

locationKubernetes workload GET/LIST.PodSpec.containers[].env[].value
location kindenvironment_variable
data kindscredential password api_key access_key secret_key oauth_token connection_string
emits edgeContainsCredential
serviceGKE (gcp:gke)

Collection recipe

access modedata_plane
operationKubernetes workload GET/LIST
response pathPodSpec.containers[].env[].value
encodinglist
params{"name": "\u003cresource-name\u003e"}

Required permissions

container.clusters.get

References

move · open · esc close