Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

c7n-gcp

Package Overview
Dependencies
Maintainers
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

c7n-gcp

Cloud Custodian - Google Cloud Provider

  • 0.4.41
  • PyPI
  • Socket score

Maintainers
3

Custodian GCP Support

Status - Alpha

Features

  • Serverless ✅
  • Api Subscriber ✅
  • Metrics ✅
  • Resource Query ✅
  • Multi Account (c7n-org) ✅

Getting Started

via pip

pip install c7n-gcp

By default custodian will use credentials associated to the gcloud cli, which will generate warnings per google.auth (https://github.com/googleapis/google-auth-library-python/issues/292)

The recommended authentication form for production usage is to create a service account and credentials, which will be picked up via by the custodian cli via setting the GOOGLE_APPLICATION_CREDENTIALS environment variable.

Serverless

Custodian supports both periodic and api call events for serverless policy execution.

GCP Cloud Functions require cloudbuild api be enabled on the project the functions are deployed to.

Periodic execution mode also requires cloudscheduler api be enabled on a project. Cloudscheduler usage also requires an app engine instance in the same region as the function deployment.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc