Difference between revisions of "Amazon GuardDuty for EKS"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
  [[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"}]}]'
 
  [[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 ==
 +
* <code>[[aws eks]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 08:49, 19 June 2024


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: