{
  "Provider": "aws",
  "CheckID": "secretsmanager_automatic_rotation_enabled",
  "CheckTitle": "Check if Secrets Manager key rotation is enabled.",
  "CheckType": [],
  "ServiceName": "secretsmanager",
  "SubServiceName": "",
  "ResourceIdTemplate": "arn:aws:secretsmanager:region:account-id:secret:secret-name",
  "Severity": "medium",
  "ResourceType": "AwsSecretsManagerSecret",
  "Description": "Check if Secrets Manager key rotation is enabled.",
  "Risk": "Rotating secrets minimizes exposure to attacks using stolen keys.",
  "RelatedUrl": "https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets_strategies.html",
  "Remediation": {
    "Code": {
      "CLI": "aws secretsmanager rotate-secret --region <REGION> --secret-id <SECRET-ID> --rotation-lambda-arn <LAMBDA-ARN> --rotation-rules AutomaticallyAfterDays=30",
      "NativeIaC": "",
      "Other": "",
      "Terraform": ""
    },
    "Recommendation": {
      "Text": "Implement automated detective control to scan accounts for passwords and secrets. Use secrets manager service to store and retrieve passwords and secrets.",
      "Url": "https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets_strategies.html"
    }
  },
  "Categories": [],
  "Tags": {
    "Tag1Key": "value",
    "Tag2Key": "value"
  },
  "DependsOn": [],
  "RelatedTo": [],
  "Notes": "Infrastructure Protection",
  "Compliance": []
}