{
  "Provider": "aws",
  "CheckID": "cloudfront_distributions_using_waf",
  "CheckTitle": "Check if CloudFront distributions are using WAF.",
  "CheckType": ["IAM"],
  "ServiceName": "cloudfront",
  "SubServiceName": "",
  "ResourceIdTemplate": "arn:partition:cloudfront:region:account-id:distribution/resource-id",
  "Severity": "medium",
  "ResourceType": "AwsCloudFrontDistribution",
  "Description": "Check if CloudFront distributions are using WAF.",
  "Risk": "Potential attacks and / or abuse of service; more even for even for internet reachable services.",
  "RelatedUrl": "https://docs.aws.amazon.com/waf/latest/developerguide/cloudfront-features.html",
  "Remediation": {
    "Code": {
      "CLI": "https://www.trendmicro.com/cloudoneconformity/knowledge-base/aws/CloudFront/cloudfront-integrated-with-waf.html",
      "NativeIaC": "https://docs.bridgecrew.io/docs/bc_aws_general_27#cloudformation",
      "Other": "https://docs.bridgecrew.io/docs/bc_aws_general_27#cloudfront-console",
      "Terraform": "https://docs.bridgecrew.io/docs/bc_aws_general_27#terraform"
    },
    "Recommendation": {
      "Text": "Use AWS WAF to protect your service from common web exploits. These could affect availability and performance; compromise security; or consume excessive resources.",
      "Url": "https://docs.aws.amazon.com/waf/latest/developerguide/cloudfront-features.html"
    }
  },
  "Categories": [],
  "Tags": {
    "Tag1Key": "value",
    "Tag2Key": "value"
  },
  "DependsOn": [],
  "RelatedTo": [],
  "Notes": "",
  "Compliance": []
}
