Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 1.06 KB

File metadata and controls

15 lines (13 loc) · 1.06 KB

CloudflareAccessGroupUpdaterForGoogleAssistantIPs

Script for automatically updating a CloudFlare Access group to include all the IP addresses used by Google Assistant.

CloudFlare setup

  1. Get your account ID
  2. Create an API token with following permissions:
    • Access: Organizations, Identity Providers, and Groups: Edit
    • Access: Organizations, Identity Providers, and Groups: Read
  3. Create an access group in your Zero Trust environment

Script setup

git clone https://github.com/vhkristof/CloudflareAccessGroupUpdaterForGoogleAssistantIPs
cd CloudflareAccessGroupUpdaterForGoogleAssistantIPs
pip install -r requirements.txt
python script.py --account <id from step 1> --token <id from step 2> --group <id from step 3>