Metadata-Version: 2.1
Name: c7n-gcp
Version: 0.4.27
Summary: Cloud Custodian - Google Cloud Provider
Home-page: https://cloudcustodian.io
License: Apache-2.0
Author: Cloud Custodian Project
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: System :: Distributed Computing
Classifier: Topic :: System :: Systems Administration
Requires-Dist: c7n (==0.9.28) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: retrying (==1.3.4) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: google-api-python-client (==2.90.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: google-cloud-logging (==3.5.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: google-auth (==2.20.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: google-cloud-monitoring (==2.15.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: google-cloud-storage (==2.9.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: pyrate-limiter (==2.10.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: argcomplete (==3.1.1) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: boto3 (==1.26.157) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: docutils (==0.18.1) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: importlib-metadata (==5.2.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: jsonschema (==4.17.3) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: python-dateutil (==2.8.2) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: pyyaml (==6.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: tabulate (==0.9.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: urllib3 (==1.26.16) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: six (==1.16.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: google-api-core (==2.11.1) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: google-auth-httplib2 (==0.1.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: httplib2 (==0.22.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: uritemplate (==4.1.1) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: google-cloud-appengine-logging (==1.3.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: google-cloud-audit-log (==0.2.5) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: google-cloud-core (==2.3.2) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: grpc-google-iam-v1 (==0.12.6) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: proto-plus (==1.22.2) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: protobuf (==4.23.3) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: cachetools (==5.3.1) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: pyasn1-modules (==0.3.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: rsa (==4.9) ; python_version >= "3.7" and python_version < "4"
Requires-Dist: google-resumable-media (==2.5.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: requests (==2.31.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: botocore (==1.29.157) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: jmespath (==1.0.1) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: s3transfer (==0.6.1) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: typing-extensions (==4.6.3) ; python_version >= "3.7" and python_version < "3.8"
Requires-Dist: zipp (==3.15.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: attrs (==23.1.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: importlib-resources (==5.12.0) ; python_version >= "3.7" and python_version < "3.9"
Requires-Dist: pkgutil-resolve-name (==1.3.10) ; python_version >= "3.7" and python_version < "3.9"
Requires-Dist: pyrsistent (==0.19.3) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: googleapis-common-protos (==1.59.1) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: pyparsing (==3.1.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: grpcio (==1.54.2) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: grpcio-status (==1.54.2) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: pyasn1 (==0.5.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: google-crc32c (==1.5.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: certifi (==2023.5.7) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: charset-normalizer (==3.1.0) ; python_version >= "3.7" and python_version < "4.0"
Requires-Dist: idna (==3.4) ; python_version >= "3.7" and python_version < "4.0"
Project-URL: Documentation, https://cloudcustodian.io/docs/
Project-URL: Repository, https://github.com/cloud-custodian/cloud-custodian
Description-Content-Type: text/markdown

# 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.

