Medium
RDS
Regional
RDS for PostgreSQL DB instances should publish logs to CloudWatch Logs
PCI DSS v4.0.1PCI DSS 10.4.2
Description
Checks if Amazon RDS for PostgreSQL DB instances are configured to publish logs to Amazon CloudWatch Logs. The control fails if the PostgreSQL DB instance is not configured to publish the 'postgresql' log type to CloudWatch Logs.
Remediation
To publish PostgreSQL DB instance logs to CloudWatch Logs, follow these steps:
Steps
- Sign in to the AWS Management Console and open the Amazon RDS console.
- In the navigation pane, choose 'Databases'.
- Select the identified PostgreSQL DB instance that requires log publishing to be enabled.
- Choose 'Modify'.
- In the 'Database Options' section, locate the 'Log Exports' setting.
- Select 'postgresql' from the available log types to enable PostgreSQL logs.
- Scroll to the bottom of the page and choose 'Continue'.
- On the summary page, review your changes. Select 'Apply immediately' to enable logging right away, or choose to apply them during the next maintenance window.
- Click 'Modify DB Instance' to apply the changes.
- For detailed guidance, refer to the AWS documentation: 'Publishing PostgreSQL logs to Amazon CloudWatch Logs' in the Amazon RDS User Guide.
Compliance
PCI DSS v4.0.1PCI DSS 10.4.2