Control: 6.3 Ensure that 'Auditing' is set to 'On' for applicable database instances
Description
Enable SQL auditing on all RDS except SQL Server 2012/2016/2017 and MariaDB TX.
Remediation
From Console
- Logon to RDS Console.
- In the upper-left corner, select the region of the target instance.
- Locate the target instance, and click the instance ID.
- In the left-side navigation pane, select
SQL Explorer
. - Click
Activate Now
. - Specify the
SQL log storage duration
(for how long you want to keep the SQL log), and clickActivate
.
Usage
Run the control in your terminal:
powerpipe control run alicloud_compliance.control.cis_v100_6_3
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run alicloud_compliance.control.cis_v100_6_3 --share
SQL
This control uses a named query:
rds_instance_sql_audit_enabled