turbot/aws_compliance

Query: ecs_service_fargate_using_latest_platform_version

Usage

powerpipe query aws_compliance.query.ecs_service_fargate_using_latest_platform_version

Steampipe Tables

SQL

select
arn as resource,
case
when launch_type <> 'FARGATE' then 'skip'
when platform_version = 'LATEST' then 'ok'
else 'alarm'
end as status,
case
when launch_type <> 'FARGATE' then title || ' is ' || launch_type || ' service.'
when platform_version = 'LATEST' then title || ' running on the latest fargate platform version.'
else title || ' not running on the latest fargate platform version.'
end as reason
, region, account_id
from
aws_ecs_service;

Controls

The query is being used by the following controls: