HIGH

Ensure ECS task definitions do not run as root

ECS task definitions should specify a non-root user to limit the impact of container compromise.

Security Impact

Containers running as root can access host resources and escalate privileges if they escape the container.

How to Remediate

Set the 'user' parameter in container definitions to a non-root user (e.g., '1000:1000').

Affected Resources

AWS::ECS::TaskDefinition

Compliance Frameworks

SOC 2PCI-DSSNIST 800-53CIS Docker

How TigerGate Helps

TigerGate continuously monitors your AWS environment to detect and alert on this misconfiguration. Here's what our platform does for this specific check:

  • Continuous Scanning

    Automatically scans all Elastic Container Service (ECS) resources across your AWS accounts every hour

  • Instant Alerts

    Get notified via Slack, email, or webhooks when this misconfiguration is detected

  • One-Click Remediation

    Fix this issue directly from the TigerGate dashboard with our guided remediation

  • Compliance Evidence

    Automatically collect audit evidence for SOC 2, PCI-DSS, NIST 800-53 compliance

  • Drift Detection

    Get alerted if this configuration drifts back to an insecure state after remediation

Check Details

Check ID
aws-ecs-1
Service
Elastic Container Service (ECS)
Category
Container Security
Severity
HIGH

Automate This Check

TigerGate automatically scans your AWS environment for this and 575+ other security checks.

Start Free Trial