ecs-task-definition-nonroot-user - AWS Config

ecs-task-definition-nonroot-user

Checks if ECSTaskDefinitions specify a user for Amazon Elastic Container Service (Amazon ECS) EC2 launch type containers to run on. The rule is NON_COMPLIANT if the ‘user’ parameter is not present or set to ‘root’.

Note

This rule only evaluates the latest active revision of an Amazon ECS task definition.

Identifier: ECS_TASK_DEFINITION_NONROOT_USER

Resource Types: AWS::ECS::TaskDefinition

Trigger type: Configuration changes

AWS Region: All supported AWS regions

Parameters:

None

AWS CloudFormation template

To create AWS Config managed rules with AWS CloudFormation templates, see Creating AWS Config Managed Rules With AWS CloudFormation Templates.