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 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 applications
    Frameworks
    CIS-Azure CIS-Controls CSA-CCM SOC-2
  • Snyk ID SNYK-CC-00542
  • credit Snyk 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.