Invalid fix for CKV_GCP_110

Open Beginner friendly
#1,109 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
65/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
terraform
Domain
documentation

Research direction

Open the linked CKV_GCP_110 documentation page and compare its fix snippet with checkov/terraform/checks/resource/gcp/GoogleCloudPostgreSqlEnablePgaudit.py. Update the documented database flag name and value to match the check, then verify the page shows the corrected Terraform example.

Written by the indexing model from the issue text.

Description

The documentation says that the fix for CKV_GCP_110 is :

 settings {
    database_flags {
      name  = "pgaudit.log"
      value = "'all'"
    }
  }

If we look at the code we see that the expected flag is cloudsql.enable_pgaudit and value is on.

The documented fix should be :

 settings {
    database_flags {
      name  = "cloudsql.enable_pgaudit"
      value = "on"
    }
  }
Dominant language
JavaScript
Stars
21
Forks
93
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hlxsites/prisma-cloud-docs

All issues in hlxsites/prisma-cloud-docs

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.