Amazon GuardDuty for EKS

From wikieduonline
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"
  }
}

Related[edit]

See also[edit]

Advertising: