Control: ECS task definitions should not use root user.
Description
This control checks if ECS task definitions have root user. This control fails if the ECS task definitions have root user.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.ecs_task_definition_no_root_user
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.ecs_task_definition_no_root_user --share
SQL
This control uses a named query:
ecs_task_definition_no_root_user