Control: GCP SQL PostgreSQL instance should have pgaudit database flag set to 'on'
Description
This control checks whether the pgaudit database flag for Cloud SQL PostgreSQL instance is set to 'on'.
Usage
Run the control in your terminal:
powerpipe control run terraform_gcp_compliance.control.sql_instance_postgresql_pgaudit_database_flag_on
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_gcp_compliance.control.sql_instance_postgresql_pgaudit_database_flag_on --share
SQL
This control uses a named query:
sql_instance_postgresql_pgaudit_database_flag_on