Property
Languagehcl
Severitymedium
CWECWE-320: CWE CATEGORY: Key Management Errors
OWASPA03:2017 - Sensitive Data Exposure
Confidence LevelMedium
Impact LevelMedium
Likelihood LevelMedium

Description#

An AWS CloudWatch Log Group is defined without specifying a ‘retention_in_days’ value, which means logs are kept indefinitely. This can lead to unnecessary accumulation of sensitive log data.

Impact#

Without a log retention policy, sensitive information may be stored longer than necessary, increasing the risk of data exposure if the logs are accessed by unauthorized users or in the event of a breach. This can also lead to higher storage costs and compliance issues.