Skip to content

Commit

Permalink
Update rationale in PostgreSQL rules
Browse files Browse the repository at this point in the history
  • Loading branch information
silverhack committed May 26, 2023
1 parent 2a3e7cc commit 0dc2559
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"dashboard_name": "PostgreSQL Configuration",
"menu_name": "Database Configuration",
"issue_name": "Enable log_disconnections on PostgreSQL Servers",
"description": "Enabling log_disconnections helps PostgreSQL Database to Logs end of a session, including duration, which in turn generates query and error logs. Query and error logs can be used to identify, troubleshoot, and repair configuration errors and sub-optimal performance.",
"rationale": null,
"issue_name": "Ensure server parameter 'log_disconnections' is set to 'ON' for PostgreSQL Database Server",
"description": "Enable `log_disconnections` on PostgreSQL Servers.",
"rationale": "Enabling `log_disconnections` helps PostgreSQL Database to `Logs end of a session`, including duration, which in turn generates query and error logs. Query and error logs can be used to identify, troubleshoot, and repair configuration errors and sub-optimal performance.",
"impact": null,
"remediation": null,
"references": [
"https://docs.microsoft.com/en-us/rest/api/postgresql/configurations/listbyserver"
"https://learn.microsoft.com/en-us/azure/postgresql/single-server/how-to-configure-server-parameters-using-portal",
"https://docs.microsoft.com/en-us/rest/api/postgresql/configurations/listbyserver",
"https://learn.microsoft.com/en-us/security/benchmark/azure/security-controls-v2-logging-threat-detection#lt-4-enable-logging-for-azure-resources"
],
"compliance": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"dashboard_name": "PostgreSQL Configuration",
"menu_name": "Database Configuration",
"issue_name": "Enable log_retention_days on PostgreSQL Servers",
"description": "Enabling log_disconnections helps PostgreSQL Database to Logs end of a session, including duration, which in turn generates query and error logs. Query and error logs can be used to identify, troubleshoot, and repair configuration errors and sub-optimal performance.",
"rationale": null,
"issue_name": "Ensure server parameter 'log_retention_days' is greater than 3 days for PostgreSQL Database Server",
"description": "Enable `log_retention_days` on PostgreSQL Servers.",
"rationale": "Enabling `log_retention_days` helps PostgreSQL Database to `Sets number of days a log file is retained` which in turn generates query and error logs. Query and error logs can be used to identify, troubleshoot, and repair configuration errors and sub-optimal performance.",
"impact": null,
"remediation": null,
"references": [
"https://docs.microsoft.com/en-us/rest/api/postgresql/configurations/listbyserver"
"https://learn.microsoft.com/en-us/azure/postgresql/single-server/how-to-configure-server-parameters-using-portal",
"https://docs.microsoft.com/en-us/rest/api/postgresql/configurations/listbyserver",
"https://learn.microsoft.com/en-us/security/benchmark/azure/security-controls-v2-logging-threat-detection#lt-6-configure-log-storage-retention"
],
"compliance": [
{
Expand Down

0 comments on commit 0dc2559

Please sign in to comment.