Policy: GCP > CIS v2.0 > 6 - Cloud SQL Database Services > 6.02 - PostgreSQL Database > 6.02.01 - Ensure 'Log_error_verbosity' Database Flag for Cloud SQL PostgreSQL Instance Is Set to 'DEFAULT' or Stricter
Configures auditing against a CIS Benchmark item.
Level: 2
The log_error_verbosity flag controls the verbosity/details of messages logged. Valid values are:
- TERSE - DEFAULT - VERBOSETERSE
excludes the logging of DETAIL
, HINT
, QUERY
, and CONTEXT
error information.VERBOSE
output includes the SQLSTATE
error code, source code file name, function name, and line number that generated the error.
Ensure an appropriate value is set to 'DEFAULT' or stricter.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
- GCP > CIS v2.0
- GCP > CIS v2.0 > 6 - Cloud SQL Database Services > 6.02 - PostgreSQL Database > 6.02.01 - Ensure 'Log_error_verbosity' Database Flag for Cloud SQL PostgreSQL Instance Is Set to 'DEFAULT' or Stricter
- GCP > CIS v2.0 > 6 - Cloud SQL Database Services
- GCP > CIS v2.0 > 6 - Cloud SQL Database Services > 6.02 - PostgreSQL Database
Policy Specification
Schema Type |
|
---|---|
Default |
|
Valid Values [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/cis#/control/categories/v070603
- tmod:@turbot/gcp-cisv2-0#/policy/types/r060201
- turbot graphql policy-type --id "tmod:@turbot/gcp-cisv2-0#/policy/types/r060201"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-cisv2-0#/policy/types/r060201"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI