Script for automatically updating a CloudFlare Access group to include all the IP addresses used by Google Assistant.
- Get your account ID
- Create an API token with following permissions:
- Access: Organizations, Identity Providers, and Groups: Edit
- Access: Organizations, Identity Providers, and Groups: Read
- Create an access group in your Zero Trust environment
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>