Skip to content

Example Cloud Function to prevent unauthorized APIs from being enabled

License

Notifications You must be signed in to change notification settings

reechar-goog/GCP-API-Police-CF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GCP-API-Police-CF

Example Cloud Function to prevent unauthorized APIs from being enabled

Usage

To run this Cloud Function in blockedMode, deploy the apiPolice function in index.js. To customize for your organizations usage, update const blockedList to match the list of your organizations blocked APIs.

To run this Cloud Function in allowMode, deploy the apiPoliceAllowedList function in index.js. To customize for your organizations usage, update const allowedList.

Deployment Guides

Terraform Module

PDF step-by-step gcloud guide

About

Example Cloud Function to prevent unauthorized APIs from being enabled

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published