{"id":13514368,"url":"https://github.com/turbot/steampipe-mod-gcp-compliance","last_synced_at":"2025-04-15T06:55:11.640Z","repository":{"id":40418978,"uuid":"369009046","full_name":"turbot/steampipe-mod-gcp-compliance","owner":"turbot","description":"Run individual configuration, compliance and security controls or full compliance benchmarks for CIS across all of your GCP projects using Powerpipe and Steampipe.","archived":false,"fork":false,"pushed_at":"2025-04-14T19:15:30.000Z","size":2906,"stargazers_count":40,"open_issues_count":0,"forks_count":11,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-15T06:55:06.080Z","etag":null,"topics":["cis","cis-benchmark","compliance","gcp","hacktoberfest","powerpipe","powerpipe-mod","security","sql","steampipe","steampipe-mod"],"latest_commit_sha":null,"homepage":"https://hub.powerpipe.io/mods/turbot/gcp_compliance","language":"Puppet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/turbot.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-19T21:47:13.000Z","updated_at":"2025-04-14T19:14:59.000Z","dependencies_parsed_at":"2023-10-10T15:23:14.371Z","dependency_job_id":"c2d1f9b6-940d-428f-ac70-91f235f531ec","html_url":"https://github.com/turbot/steampipe-mod-gcp-compliance","commit_stats":null,"previous_names":[],"tags_count":50,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turbot%2Fsteampipe-mod-gcp-compliance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turbot%2Fsteampipe-mod-gcp-compliance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turbot%2Fsteampipe-mod-gcp-compliance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turbot%2Fsteampipe-mod-gcp-compliance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/turbot","download_url":"https://codeload.github.com/turbot/steampipe-mod-gcp-compliance/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249023712,"owners_count":21199958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cis","cis-benchmark","compliance","gcp","hacktoberfest","powerpipe","powerpipe-mod","security","sql","steampipe","steampipe-mod"],"created_at":"2024-08-01T05:00:54.713Z","updated_at":"2025-04-15T06:55:11.610Z","avatar_url":"https://github.com/turbot.png","language":"Puppet","funding_links":[],"categories":["Puppet","Google cloud platform"],"sub_categories":[],"readme":"# GCP Compliance Mod for Powerpipe\n\n80+ checks covering industry defined security best practices for Google Cloud services.\n\n**Includes full support for v1.2.0 CIS, v1.3.0 CIS, v2.0.0 CIS, v3.0.0 CIS, CFT Scorecard, Forseti Security, HIPAA, PCI DSS v3.2.1, NIST CSF v1.0 and NIST 800-53 Revision 5 benchmarks**.\n\nRun checks in a dashboard:\n![image](https://raw.githubusercontent.com/turbot/steampipe-mod-gcp-compliance/main/docs/gcp_cis_v200_dashboard.png)\n\nOr in a terminal:\n![image](https://raw.githubusercontent.com/turbot/steampipe-mod-gcp-compliance/main/docs/gcp_cis_v200_console.png)\n\n## Documentation\n\n- **[Benchmarks and controls →](https://hub.powerpipe.io/mods/turbot/gcp_compliance/controls)**\n- **[Named queries →](https://hub.powerpipe.io/mods/turbot/gcp_compliance/queries)**\n\n## Getting Started\n\n### Installation\n\nInstall Powerpipe (https://powerpipe.io/downloads), or use Brew:\n\n```sh\nbrew install turbot/tap/powerpipe\n```\n\nThis mod also requires [Steampipe](https://steampipe.io) with the [GCP plugin](https://hub.steampipe.io/plugins/turbot/gcp) as the data source. Install Steampipe (https://steampipe.io/downloads), or use Brew:\n\n```sh\nbrew install turbot/tap/steampipe\nsteampipe plugin install gcp\n```\n\nSteampipe will automatically use your default GCP credentials. Optionally, you can [setup multiple projects](https://hub.steampipe.io/plugins/turbot/gcp#multi-project-connections).\n\nFinally, install the mod:\n\n```sh\nmkdir dashboards\ncd dashboards\npowerpipe mod init\npowerpipe mod install github.com/turbot/steampipe-mod-gcp-compliance\n```\n\n### Browsing Dashboards\n\nStart Steampipe as the data source:\n\n```sh\nsteampipe service start\n```\n\nStart the dashboard server:\n\n```sh\npowerpipe server\n```\n\nBrowse and view your dashboards at **http://localhost:9033**.\n\n### Running Checks in Your Terminal\n\nInstead of running benchmarks in a dashboard, you can also run them within your\nterminal with the `powerpipe benchmark` command:\n\nList available benchmarks:\n\n```sh\npowerpipe benchmark list\n```\n\nRun a benchmark:\n\n```sh\npowerpipe benchmark run gcp_compliance.benchmark.cis_v200\n```\n\nDifferent output formats are also available, for more information please see\n[Output Formats](https://powerpipe.io/docs/reference/cli/benchmark#output-formats).\n\n### Common and Tag Dimensions\n\nThe benchmark queries use common properties (like `connection_name`, `location` and `project`) and tags that are defined in the form of a default list of strings in the `variables.sp` file. These properties can be overwritten in several ways:\n\nIt's easiest to setup your vars file, starting with the sample:\n\n```sh\ncp powerpipe.ppvars.example powerpipe.ppvars\nvi powerpipe.ppvars\n```\n\nAlternatively you can pass variables on the command line:\n\n```sh\npowerpipe benchmark run gcp_compliance.benchmark.cis_v200 --var 'tag_dimensions=[\"environment\", \"owner\"]'\n```\n\nOr through environment variables:\n\n```sh\nexport PP_VAR_common_dimensions='[\"connection_name\", \"location\", \"project\"]'\nexport PP_VAR_tag_dimensions='[\"environment\", \"owner\"]'\npowerpipe benchmark run gcp_compliance.benchmark.cis_v200\n```\n\n## Open Source \u0026 Contributing\n\nThis repository is published under the [Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0). Please see our [code of conduct](https://github.com/turbot/.github/blob/main/CODE_OF_CONDUCT.md). We look forward to collaborating with you!\n\n[Steampipe](https://steampipe.io) and [Powerpipe](https://powerpipe.io) are products produced from this open source software, exclusively by [Turbot HQ, Inc](https://turbot.com). They are distributed under our commercial terms. Others are allowed to make their own distribution of the software, but cannot use any of the Turbot trademarks, cloud services, etc. You can learn more in our [Open Source FAQ](https://turbot.com/open-source).\n\n## Get Involved\n\n**[Join #powerpipe on Slack →](https://turbot.com/community/join)**\n\nWant to help but don't know where to start? Pick up one of the `help wanted` issues:\n\n- [Powerpipe](https://github.com/turbot/powerpipe/labels/help%20wanted)\n- [GCP Compliance Mod](https://github.com/turbot/steampipe-mod-gcp-compliance/labels/help%20wanted)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturbot%2Fsteampipe-mod-gcp-compliance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturbot%2Fsteampipe-mod-gcp-compliance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturbot%2Fsteampipe-mod-gcp-compliance/lists"}