Cloudflare
Version: 1.2
Updated: Nov 05, 2024
Cloudflare makes everything you connect to the Internet secure, private, fast, and reliable. With using the product you can secure your websites, APIs, and internet applications, protect corporate networks, employees, and devices.
Actions​
- List Accounts (Enrichment) - List all accounts you have ownership or verified access to.
- List Zones (Enrichment) - List your zones.
- Validate Expression (Containment) - Expression validation.
- Create Filter (Containment) - Create new filter.
- List Filters (Enrichment) - List all the filters currently defined.
- Get Filter (Enrichment) - List specified filter.
- Update Filter (Containment) - Update existing filter.
- Create Rule List (Containment) - Create a new list.
- List Rules List (Enrichment) - Get all Lists for the account.
- Create IP List Item (Containment) - Append new items to the List.
- List List Items (Enrichment) - Get all items in the List.
- Delete List Items (Containment) - Delete one or more items in a List.
- Create Firewall Rule (Containment) - Create new firewall rule.
- List Firewall Rules (Enrichment) - List all the firewall rules currently defined.
- Get Firewall Rule (Enrichment) - List specified firewall rule.
- Update Firewall Rule (Containment) - Update existing firewall rule.
- Get Bulk Operation (Enrichment) - Get the current status of an operation.
Notes​
Cloudflare configuration for Global API Key​
- Sign in in Cloudflare using your email and password.
- Go to your profile in the left menu and select My Profile.
- From the left menu select API Tokens.
- Under Global API Key is your token.
- Make sure you copy and save them.
Cloudflare configuration for Custom API Token​
- Sign in in Cloudflare using your email and password.
- Go to your profile in the left menu and select My Profile.
- From the left menu select API Tokens.
- Click Create Token and select Create Custom Token.
- Set Permissions: Choose the necessary permissions based on your use case. For more details, check the Permissions
- Confirm your settings, then click Continue to summary and Create Token.
- Copy the token securely as it will only be displayed once.
Cloudflare in Automation Service and Cloud SOAR​
- Access integrations in the Automation Service or Cloud SOAR.
- After the list of the integrations appears, search for the integration and click on the row.
- The integration details will appear. Click on the "+" button to add new Resource.
- Populate all the required fields (*).
- Select the Token Type (the default is set as global).
- In the API Key field, insert the previously copied key.
- Click Save.
- To make sure the resource is working, hover over the resource and then click TEST that appears on the right.
- You should receive a successful notification in the bottom right corner.
Notes​
- Email is needed only when using global API token. Any valid email will work with custom token.
Change Log​
- May 5, 2022 - First upload
- July 6, 2023 (v1.1) - Updated the integration with Environmental Variables
- November 5, 2024 (v1.2) - Added Custom token auth in all actions