GuardDuty EKS Runtime Monitoring should be enabled
Checks that GuardDuty runtime monitoring covers EKS on this Region's detector, through Runtime Monitoring or the older EKS Runtime Monitoring, so OS-level events in EKS nodes and containers are analysed for threats. It also fails while GuardDuty is suspended in the Region. In an AWS Organization, only the GuardDuty delegated administrator can change this for a member account.
- service
- GuardDuty
- severity
- High
- scope
- evaluated in every region
How to fix it
- Affects another check: This also passes GuardDuty.11, but GuardDuty.12 and GuardDuty.13 keep failing until automated agent configuration is on for ECS on Fargate and EC2.
- Can break clients: Automated agent configuration adds a GuardDuty VPC endpoint and security group to monitored VPCs, which blocks IaC deleting those subnets before Terraform AWS provider 6.43.0.
In the console
GuardDuty → Protection plans → Runtime Monitoring → Configuration
- Runtime Monitoring
- Enable
- Automated agent configuration
- Enable, so GuardDuty deploys and updates the agent on every EKS cluster; this check passes without it
With the AWS CLI
aws guardduty update-detector --detector-id <detector-id> --region <region> --features '[{"Name":"RUNTIME_MONITORING","Status":"ENABLED","AdditionalConfiguration":[{"Name":"EKS_ADDON_MANAGEMENT","Status":"ENABLED"}]}]'With Terraform
resource "aws_guardduty_detector_feature" "this" {
detector_id = aws_guardduty_detector.this.id
name = "RUNTIME_MONITORING"
status = "ENABLED"
additional_configuration {
name = "EKS_ADDON_MANAGEMENT"
status = "ENABLED"
}
}
See which of your accounts this check is failing on.
Book a live scan