AWS Security Hub · GuardDuty
GuardDuty.5: GuardDuty EKS audit log monitoring is off
Written and reviewed by Emnode · Last reviewed
What does AWS Security Hub GuardDuty.5 check?
GuardDuty.5 fails when EKS Audit Log Monitoring is not enabled on the GuardDuty detector. This feature reads the Kubernetes control-plane audit log — the stream recording every API call EKS already produces — and is agentless: no DaemonSet, no node agent.
Why does GuardDuty.5 matter?
The EKS API server brokers every meaningful action in a cluster — who created a pod, read a secret, bound a role, deleted a namespace — and attackers who gain a foothold almost always interact with it for enumeration and privilege escalation. Without audit-log monitoring those moves pass unseen on the most attacker-active surface in Kubernetes. Because it's agentless, the only cost of not having it is a usage-based fee you forgo.
How do I fix GuardDuty.5?
- Enable EKS Audit Log Monitoring on the GuardDuty detector.
- GuardDuty consumes the control-plane logs automatically — no cluster-side agent is required.
- Confirm coverage shows your EKS clusters as monitored.
- Route the resulting findings into your incident-response workflow.
Remediation script · bash
# Enable the EKS audit log type (non-disruptive), then bound the cost with retention.
aws eks update-cluster-config \
--name prod-platform \
--logging '{"clusterLogging":[{"types":["audit"],"enabled":true}]}'
aws logs put-retention-policy \
--log-group-name /aws/eks/prod-platform/cluster \
--retention-in-days 90
# Turn on GuardDuty EKS Audit Log Monitoring and auto-enable for the whole org.
DETECTOR=$(aws guardduty list-detectors --query 'DetectorIds[0]' --output text)
aws guardduty update-detector --detector-id "$DETECTOR" \
--features '[{"Name":"EKS_AUDIT_LOGS","Status":"ENABLED"}]'
aws guardduty update-organization-configuration --detector-id "$DETECTOR" \
--features '[{"Name":"EKS_AUDIT_LOGS","AutoEnable":"ALL"}]' Full walkthrough (console steps, edge cases and verification) in the lesson Enable cluster and search audit logging.
Is GuardDuty.5 a false positive?
This is Audit Log Monitoring, not Runtime Monitoring — it needs no agent or DaemonSet, so don't conflate it with the EKS runtime agent controls when planning the rollout.
More GuardDuty controls
- GuardDuty.1 GuardDuty threat detection is not enabled
- GuardDuty.10 GuardDuty S3 Protection is off
- GuardDuty.11 GuardDuty Runtime Monitoring is off
- GuardDuty.13 GuardDuty runtime monitoring is off for EC2