Ensure that CloudTrail logging is enabled for Amazon Elastic Kubernetes Service (EKS) clusters in order to record all Kubernetes API calls. Amazon CloudTrail records and documents all activities performed on EKS clusters. Whenever operations such as "CreateCluster," "ListClusters," or "DeleteCluster" are executed, corresponding records are generated in the CloudTrail trail log files. Each event or log entry includes details about the IAM identity responsible for the request and the credentials utilized.
optimisation
efficiency
excellence
Enabling CloudTrail logging for Amazon EKS clusters is vital for security monitoring, compliance adherence, incident investigation, and operational insights. It provides a detailed audit trail of API calls, enabling proactive detection of unauthorized access, ensuring regulatory compliance, facilitating incident response, and optimizing cluster performance and change management.
Audit
To determine if CloudTrail logging is enabled for Amazon EKS clusters, perform the following operations:
Remediation / Resolution
To enable CloudTrail logging for your Amazon EKS clusters, perform the following operations:
References
- AWS Documentation
- Amazon EKS FAQs
- Logging Amazon EKS API calls with AWS CloudTrail
- Amazon EKS information in CloudTrail
- Understanding Amazon EKS log file entries
- AWS Command Line Interface (CLI) Documentation
- list-trails
- get-trail-status
- start-logging
- create-trail