{
  "Provider": "aws",
  "CheckID": "cloudwatch_log_metric_filter_for_s3_bucket_policy_changes",
  "CheckTitle": "Ensure a log metric filter and alarm exist for S3 bucket policy changes.",
  "CheckType": [
    "Software and Configuration Checks/Industry and Regulatory Standards/CIS AWS Foundations Benchmark"
  ],
  "ServiceName": "cloudwatch",
  "SubServiceName": "",
  "ResourceIdTemplate": "arn:partition:cloudwatch:region:account-id:certificate/resource-id",
  "Severity": "medium",
  "ResourceType": "AwsCloudTrailTrail",
  "Description": "Ensure a log metric filter and alarm exist for S3 bucket policy changes.",
  "Risk": "Monitoring unauthorized API calls will help reveal application errors and may reduce time to detect malicious activity.",
  "RelatedUrl": "https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudwatch-alarms-for-cloudtrail.html",
  "Remediation": {
    "Code": {
      "CLI": "https://docs.bridgecrew.io/docs/monitoring_8#procedure",
      "NativeIaC": "",
      "Other": "",
      "Terraform": "https://docs.bridgecrew.io/docs/monitoring_8#fix---buildtime"
    },
    "Recommendation": {
      "Text": "It is recommended that a metric filter and alarm be established for unauthorized requests.",
      "Url": "https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudwatch-alarms-for-cloudtrail.html"
    }
  },
  "Categories": [],
  "Tags": {
    "Tag1Key": "value",
    "Tag2Key": "value"
  },
  "DependsOn": [],
  "RelatedTo": [],
  "Notes": "Logging and Monitoring"
}
