azure-aks-workload-env-command
Direct pod environment values and command arguments can contain plaintext credentials.
Where it sits
| location | Kubernetes PodSpec.containers[].{env,command,args} |
| location kind | environment_variable |
| data kinds | credential password api_key access_key secret_key oauth_token connection_string |
| emits edge | ContainsSecret |
| service | AKS (azure:aks) |
Collection recipe
| access mode | data_plane |
| operation | Kubernetes GET workload resources |
| response path | spec.template.spec.containers[].{env,command,args} |
| encoding | json |
| params | {"resource_id": "\u003cazure-resource-id\u003e"} |
Required permissions
Microsoft.ContainerService/managedClusters/apps/deployments/read
References