Amazon GuardDuty for EKS

From wikieduonline
Revision as of 09:12, 12 February 2024 by Welcome (talk | contribs)
Jump to navigation Jump to search


aws guardduty create-detector --enable --features '[{"Name" : "EKS_AUDIT_LOGS", "Status" : "ENABLED"}, {"Name" : "EKS_RUNTIME_MONITORING", "Status" : "ENABLED", "AdditionalConfiguration" : [{"Name" : "EKS_ADDON_MANAGEMENT", "Status" : "ENABLED"}]}]'


resource "aws_eks_addon" aws-guardduty-agent {
  cluster_name             = module.eks.cluster_name
  addon_name               = "aws-guardduty-agent"
  tags = {
    "eks_addon" = "aws-guardduty-agent"
    "terraform" = "true"
  }
}

See also

Advertising: