Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 699 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 699 Bytes

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