CloudWatch log group retention period is not set Affecting CloudWatch service in AWS


Severity

0.0
medium
0
10
Severity Framework
Snyk CCSS
Rule category
General/ Logging

Is your environment 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 applications
Frameworks
CIS-ControlsCSA-CCMGDPRISO-27001PCI-DSSSOC-2
  • Snyk IDSNYK-CC-00330
  • creditSnyk 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.