Difference between revisions of "Amazon GuardDuty for EKS"
Jump to navigation
Jump to search
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" | ||
+ | } | ||
+ | } | ||
== See also == | == See also == |
Revision as of 09:12, 12 February 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" } }
See also
Advertising: