{
  "Provider": "aws",
  "CheckID": "dynamodb_tables_pitr_enabled",
  "CheckTitle": "Check if DynamoDB tables point-in-time recovery (PITR) is enabled.",
  "CheckType": ["Software and Configuration Checks/Industry and Regulatory Standards/CIS AWS Foundations Benchmark"],
  "ServiceName": "dynamodb",
  "SubServiceName": "",
  "ResourceIdTemplate": "arn:partition:dynamodb:region:account-id:certificate/resource-id",
  "Severity": "medium",
  "ResourceType": "AwsDynamoDBTable",
  "Description": "Check if DynamoDB tables point-in-time recovery (PITR) is enabled.",
  "Risk": "If the DynamoDB Table does not have point-in-time recovery enabled, it is vulnerable to accidental write or delete operations.",
  "RelatedUrl": "https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/PointInTimeRecovery_Howitworks.html",
  "Remediation": {
    "Code": {
      "CLI": "aws dynamodb update-continuous-backups --table-name <table_name> --point-in-time-recovery-specification PointInTimeRecoveryEnabled=true",
      "NativeIaC": "https://docs.bridgecrew.io/docs/general_6#cloudformation--serverless",
      "Other": "",
      "Terraform": "https://docs.bridgecrew.io/docs/general_6#terraform"
    },
    "Recommendation": {
      "Text": "Enable point-in-time recovery, this is not enabled by default.",
      "Url": "https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/PointInTimeRecovery_Howitworks.html"
    }
  },
  "Categories": [],
  "Tags": {
    "Tag1Key": "value",
    "Tag2Key": "value"
  },
  "DependsOn": [],
  "RelatedTo": [],
  "Notes": "Data Protection",
  "Compliance": []
}
