π‘οΈ AWS DynamoDB Table Point In Time Recovery is not enabledπ’
- Contextual name: π‘οΈ Table Point In Time Recovery is not enabledπ’
- ID:
/ce/ca/aws/dynamodb/table-point-in-time-recovery - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Statsβ
not available
Logicβ
- π§ prod.logic.yamlπ’
Similar Policiesβ
- AWS Security Hub: [DynamoDB.2] DynamoDB tables should have point-in-time recovery enabled
- Internal:
dec-x-a822159a
Similar Internal Rulesβ
| Rule | Policies | Flags |
|---|---|---|
| βοΈ dec-x-a822159a | 1 |
Descriptionβ
Descriptionβ
This policy identifies AWS DynamoDB Tables that are not protected by Point-in-Time Recovery (PITR).
Point-in-Time Recovery is a fully managed, continuous backup feature that captures all changes to table data, enabling recovery to any second within the preceding 35-day retention window. PITR protects against accidental writes, deletions, and data corruption by allowing precise, time-based restoration.
Rationaleβ
Enabling PITR provides an automated and resilient data protection mechanism without requiring manual backup workflows or third-party solutions. This capability improves data durability and reduces the Recovery Time Objective (RTO) in the event of data loss, operational errors, or unintended changes.
Impactβ
Enabling PITR incurs additional charges based on the total size of the DynamoDB table, including table data and any associated local secondary indexes.
Auditβ
This policy flags an AWS DynamoDB Table as
INCOMPLIANTif thePoint-in-Time Recovery Statusis set to DISABLED and no recent on-demand backup or AWS Backup recovery point exists.... see more
Remediationβ
Remediationβ
Enable Point-in-Time Recoveryβ
From Command Lineβ
To enable Point-in-Time Recovery (PITR) for an existing DynamoDB table, use the following AWS CLI command:
aws dynamodb update-continuous-backups \
--table-name {{table-name}} \
--point-in-time-recovery-specification PointInTimeRecoveryEnabled=trueUsing AWS CloudFormationβ
For CloudFormation-managed DynamoDB tables, set
PointInTimeRecoverySpecificationon the table resource:Resources:
DynamoDBTable:
Type: AWS::DynamoDB::Table
Properties:
PointInTimeRecoverySpecification:
PointInTimeRecoveryEnabled: true
RecoveryPeriodInDays: 35