Open github-edouard-devouge opened 2 years ago
Would someone be able to take this on? It would be nice to have this and other protection plan items:
S3 Protection EKS Protection Runtime MonitoringNew Malware Protection RDS Protection Lambda Protection
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/guardduty_detector
We should add at least the ones currently supported by the provider.
And watch this:
Describe the Feature
Terraform AWS Guardduty Module should support the new EKS protection feature enablement.
Use Case
Continuously monitor and profile Amazon Elastic Kubernetes Service (Amazon EKS) cluster activity to identify malicious or suspicious behavior that represents potential threats to container workloads.
Enable EKS protection in Amazon GuardDuty.
Equivalent CLI Call :
aws guardduty update-member-detectors --detector-id <replace_detector_id> --account-ids <replace_account_id> --data-sources '{"Kubernetes":{"AuditLogs":{"Enable":true}}}'