{
  "Provider": "aws",
  "CheckID": "elbv2_deletion_protection",
  "CheckTitle": "Check if Elastic Load Balancers have deletion protection enabled.",
  "CheckType": [
    "Data Protection"
  ],
  "ServiceName": "elbv2",
  "SubServiceName": "",
  "ResourceIdTemplate": "arn:partition:service:region:account-id:resource-id",
  "Severity": "medium",
  "ResourceType": "AwsElasticLoadBalancingV2LoadBalancer",
  "Description": "Check if Elastic Load Balancers have deletion protection enabled.",
  "Risk": "If deletion protection is not enabled, the resource is not protected against deletion.",
  "RelatedUrl": "",
  "Remediation": {
    "Code": {
      "CLI": "aws elbv2 modify-load-balancer-attributes --load-balancer-arn <lb_arn> --attributes Key=deletion_protection.enabled,Value=true",
      "NativeIaC": "",
      "Other": "https://www.trendmicro.com/cloudoneconformity/knowledge-base/aws/ELBv2/deletion-protection.html",
      "Terraform": "https://docs.bridgecrew.io/docs/bc_aws_networking_62#terraform"
    },
    "Recommendation": {
      "Text": "Enable deletion protection attribute, this is not enabled by default.",
      "Url": "https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#deletion-protection"
    }
  },
  "Categories": [],
  "Tags": {
    "Tag1Key": "value",
    "Tag2Key": "value"
  },
  "DependsOn": [],
  "RelatedTo": [],
  "Notes": ""
}
