Skip to content

Commit

Permalink
fix: Add Checkov skip for SQL version rule (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
Phi H Nguyen authored Jun 21, 2023
1 parent 93ae97b commit 7a2fc8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/google_sql_database_instance/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ resource "google_sql_database_instance" "instance" {
#checkov:skip=CKV_GCP_111:Ensure GCP PostgreSQL logs SQL statements 'pgaudit.log' flag is set to 'all'
#checkov:skip=CKV2_GCP_20:Ensure MySQL DB instance has point-in-time recovery backup configured
#checkov:skip=CKV2_GCP_13:Ensure PostgreSQL database flag 'log_duration' is set to 'on'
#checkov:skip=CKV_GCP_79: "Ensure SQL database is using latest Major version"

database_version = var.database_version

Expand Down Expand Up @@ -143,6 +144,7 @@ resource "google_sql_database_instance" "read_replica" {
#checkov:skip=CKV_GCP_111:Ensure GCP PostgreSQL logs SQL statements 'pgaudit.log' flag is set to 'all'
#checkov:skip=CKV2_GCP_20:Ensure MySQL DB instance has point-in-time recovery backup configured
#checkov:skip=CKV2_GCP_13:Ensure PostgreSQL database flag 'log_duration' is set to 'on'
#checkov:skip=CKV_GCP_79: "Ensure SQL database is using latest Major version"

depends_on = [
google_sql_database_instance.instance
Expand Down

0 comments on commit 7a2fc8d

Please sign in to comment.