| name | cis-aws-compute-3.8 |
| description | Ensure Amazon ECS Fargate services are using the latest Fargate platform version |
| category | cis-compute |
| version | 1.1.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","compute","ecs","containers","fargate","platform-version","patching"] |
| cis_id | 3.8 |
| cis_benchmark | CIS AWS Compute Services Benchmark v1.1.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-compute-3.2","cis-aws-compute-3.9"] |
| prerequisites | [] |
| severity_boost | {} |
Ensure Amazon ECS Fargate services are using the latest Fargate platform version
Description
Ensure that Amazon ECS Fargate services use the latest Fargate platform version to benefit from the latest security enhancements, performance improvements, and feature updates.
Rationale
Using the latest Fargate platform version ensures services benefit from up-to-date security patches and features.
Impact
Updating to the latest Fargate platform version may require minor operational effort.
Audit Procedure
Using AWS Console
- Login to the ECS console using https://console.aws.amazon.com/ecs/.
- In the left panel, click
Clusters.
- Click the name of a cluster.
- Under
Services, from the Filter launch type drop-down menu, select FARGATE.
- Click the name of a service.
- Click
Configuration and networking.
- Under
Service configuration, ensure Platform version is set to 1.4.0 or LATEST for Linux, or 1.0.0 or LATEST for Windows.
- Repeat steps 1-7 for each ECS cluster and Fargate service.
Using AWS CLI
Run the following command to list clusters:
aws ecs list-clusters
Run the following command to list services in a cluster:
aws ecs list-services --cluster <cluster-arn>
Run the following command to view the details of a service:
aws ecs describe-services --cluster <cluster-arn> --services <service-arn> --query 'services[*].[platformFamily,platformVersion]' --output table
Where platformFamily is Linux, ensure platformVersion is 1.4.0 or LATEST.
Where platformFamily is Windows, ensure platformVersion is 1.0.0 or LATEST.
Repeat for each cluster and service.
Expected Result
All Fargate services should be using platform version 1.4.0/LATEST (Linux) or 1.0.0/ (Windows).