Ensure that your AWS Kinesis streams have a sufficient data retention period configured for reliability and compliance purposes. The retention period represents the number of days to retain stream data. Prior to running this rule by the Cloud Conformity engine, the data retention period for your Amazon Kinesis streams need to be defined in the rule settings, on your Cloud Conformity account dashboard. The retention period can be configured to any value between 24 and 168 hours.
A sufficient data retention period allows more time for your Kinesis stream data consumers to recover. The default retention period for an AWS Kinesis stream is 24 hours. To ensure that your consumers are able to read stream data before it expires if any problems occur, you can extend your data retention period up to 168 hours (7 days).
Audit
To determine if your Amazon Kinesis streams have a sufficient data retention period, perform the following actions:
Remediation / Resolution
To update your Amazon Kinesis streams configuration in order to set up a sufficient data retention period, perform the following actions:
References
- AWS Documentation
- Amazon Kinesis Data Streams
- Amazon Kinesis Data Streams FAQs
- Creating and Managing Streams
- Creating and Managing Streams
- Managing Kinesis Data Streams Using the Console
- AWS Command Line Interface (CLI) Documentation
- kinesis
- list-streams
- describe-stream
- increase-stream-retention-period