PostgreSQL database 'log_retention_days' is set to less than 3 days Affecting Database service in Azure


Severity

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

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-AzureCIS-ControlsCSA-CCMSOC-2
  • Snyk IDSNYK-CC-00542
  • creditSnyk Research Team

Description

Logs will only be preserved for a short period of time, which can impede troubleshooting or investigations.

How to fix?

Set name attribute to log_retention_days, and properties.value to 4 or greater.