{
  "Provider": "aws",
  "CheckID": "eks_control_plane_logging_all_types_enabled",
  "CheckTitle": "Ensure EKS Control Plane Audit Logging is enabled for all log types",
  "CheckType": [
    "Logging and Monitoring"
  ],
  "ServiceName": "eks",
  "SubServiceName": "",
  "ResourceIdTemplate": "arn:partition:service:region:account-id:resource-id",
  "Severity": "medium",
  "ResourceType": "AwsEksCluster",
  "Description": "Ensure EKS Control Plane Audit Logging is enabled for all log types",
  "Risk": "If logs are not enabled; monitoring of service use and threat analysis is not possible.",
  "RelatedUrl": "",
  "Remediation": {
    "Code": {
      "CLI": "aws eks update-cluster-config --region <region_name> --name <cluster_name> --logging '{\"clusterLogging\":[{\"types\":[\"api\",\"audit\",\"authenticator\",\"controllerManager\",\"scheduler\"],\"enabled\":true}]}'",
      "NativeIaC": "",
      "Other": "https://docs.bridgecrew.io/docs/bc_aws_kubernetes_4#aws-console",
      "Terraform": "https://docs.bridgecrew.io/docs/bc_aws_kubernetes_4#fix---buildtime"
    },
    "Recommendation": {
      "Text": "Make sure you logging for EKS control plane is enabled.",
      "Url": "https://docs.aws.amazon.com/eks/latest/userguide/logging-monitoring.html"
    }
  },
  "Categories": [
    "forensics-ready"
  ],
  "DependsOn": [],
  "RelatedTo": [],
  "Notes": ""
}
