CloudWatch log group retention period is not set Affecting CloudWatch service in AWS
Severity Framework
Snyk CCSS
Rule category
General / Logging
Is your enviroment affected by this misconfiguration?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsFrameworks
CIS-Controls
CSA-CCM
GDPR
ISO-27001
PCI-DSS
SOC-2
- Snyk ID SNYK-CC-00330
- credit Snyk Research Team
Description
Logs will be kept indefinitely and incur AWS costs.
How to fix?
Set retention_in_days
attribute to required value, e.g. set 365
.