We just raised $3.5M and we are hiring!

Google Cloud Policies

With GCP Policies, you can use CloudQuery to automatically check compliance and security of Google Cloud resources.

$ cloudquery policy run gcp
Category
compliance
Version
v0.0.4
License
MPL-2.0
License
MPL-2.0

Official GCP security & compliance policy pack for CloudQuery.

What is CloudQuery

The open-source cloud asset inventory powered by SQL.

CloudQuery extracts, transforms, and loads your cloud assets into normalized PostgreSQL tables. CloudQuery enables you to assess, audit, and evaluate the configurations of your cloud assets.

Links

Included Policies

  • CIS v1.2.0

Quick Start

Prerequisite

  1. Install CloudQuery

# install with brew brew install cloudquery/tap/cloudquery # or download precompiled binaries from https://github.com/cloudquery/cloudquery/releases
  1. Download and Configure GCP Provider

cloudquery init gcp
  1. Fetch

# connect or run a local PostgreSQL docker run -p 5432:5432 -e POSTGRES_PASSWORD=pass -d postgres # extract your cloud infra configuration cloudquery fetch

Running

# Describe what is available in the policy pack cloudquery policy describe gcp # Run the whole pack cloudquery policy run gcp # Run specific policy cloudquery policy run gcp//cis_v1.2.0