Checks whether the log_disconnections parameter of each ApsaraDB RDS for PostgreSQL database is set to on. If so, the evaluation result is Compliant.

Scenarios

This rule applies when you need to record the information about the disconnections from the server. This way, you can perform security auditing and locate issues.

Risk level

Default risk level: low.

When you apply this rule, you can change the risk level based on your business requirements.

Compliance evaluation logic

  • If the log_disconnections parameter of each ApsaraDB RDS for PostgreSQL database is set to on, the evaluation result is Compliant.
  • If the log_disconnections parameter of an ApsaraDB RDS for PostgreSQL database is set to off, the evaluation result is Incompliant. For more information about how to remediate an incompliant configuration, see Incompliance remediation.

Rule details

Item Description
Rule name rds-postgresql-parameter-log-disconnections
Rule identifier rds-postgresql-parameter-log-disconnections
Tag RDS and PostgreSQL
Automatic remediation Not supported
Trigger type Configuration change
Supported resource type ApsaraDB RDS instance
Input parameter None.

Incompliance remediation

Modify the settings of ApsaraDB RDS for PostgreSQL database. For more information, see Modify the parameters of an ApsaraDB RDS for MySQL instance.