π‘οΈ 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
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), an AWS Backup plan, or on-demand backups.
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.... 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β
- CloudFormation template (YAML):
AWSTemplateFormatVersion: '2010-09-09'
Description: Enable Point-in-Time Recovery for an existing DynamoDB table
Parameters:
TableName:
Type: String
Description: Name of the existing DynamoDB table
Resources:
PointInTimeRecovery:
Type: AWS::DynamoDB::Table
Properties:
TableName: !Ref TableName
PointInTimeRecoverySpecification:
PointInTimeRecoveryEnabled: true
RecoveryPeriodInDays: 35