turbot/aws_compliance

Query: ecs_task_definition_no_host_pid_mode

Usage

powerpipe query aws_compliance.query.ecs_task_definition_no_host_pid_mode

Steampipe Tables

SQL

select
task_definition_arn as resource,
case
when pid_mode = 'host' then 'alarm'
else 'ok'
end as status,
case
when pid_mode = 'host' then title || ' shares the host process namespace.'
else title || ' does not share the host process namespace.'
end as reason,
region,
account_id
from
aws_ecs_task_definition;

Controls

The query is being used by the following controls: