DynamoDB PITR is disabled misconfiguration detected in code
Rule Details
Cortex AppSec Rule ID
APPSEC_AWS_28
Category - Subcategory
Storage - Backups
Provider
AWS
Severity
HIGH
Framework
CloudFormation, Serverless, Terraform, Terraform Plan
Impact
DynamoDB Point-In-Time Recovery (PITR) is an automatic backup service for DynamoDB table data that helps protect your DynamoDB tables from accidental write or delete operations. Once enabled, PITR provides continuous backups that can be controlled using various programmatic parameters. PITR can also be used to restore table data from any point in time during the last 35 days, as well as any incremental backups of DynamoDB tables.
How to Fix
Resource: aws_dynamodb_table
Arguments: point_in_time_recovery - (Optional) Point-in-time recovery options.
CloudFormation / Serverless
Resource: AWS::DynamoDB::Table
Property: PointInTimeRecoverySpecification [source,go]
resource "aws_dynamodb_table" "example" { ... name = "GameScores"
point_in_time_recovery {
enabled = true
} ... }
Resources: iotCatalog: Type: AWS::DynamoDB::Table Properties: ... PointInTimeRecoverySpecification:
PointInTimeRecoveryEnabled: true
Last updated
Was this helpful?
