aws-ecs-task-definition-command-arguments

Container commands and health-check command strings may embed command-line credentials.

awshigh service: aws:ecs emits ContainsCredential

Where it sits

locationDescribeTaskDefinition.taskDefinition.containerDefinitions[].command / entryPoint / healthCheck.command
location kindcommand_argument
data kindscredential password api_key connection_string
emits edgeContainsCredential
serviceECS/Fargate (aws:ecs)

Collection recipe

access moderead_api
operationDescribeTaskDefinition
response pathtaskDefinition.containerDefinitions[].{command,entryPoint,healthCheck.command}
encodinglist
params{"taskDefinition": "\u003cfamily:revision-or-arn\u003e"}

Required permissions

ecs:DescribeTaskDefinition

References

move · open · esc close