Control: ECS task definitions should not share the host's process namespace
Description
This control checks if Amazon ECS task definitions are configured to share a host's process namespace with its containers. The control fails if the task definition shares the host's process namespace with the containers running on it.
Usage
Run the control in your terminal:
powerpipe control run terraform_aws_compliance.control.ecs_task_definition_no_host_pid_mode
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_aws_compliance.control.ecs_task_definition_no_host_pid_mode --share
SQL
This control uses a named query:
ecs_task_definition_no_host_pid_mode