Skip to content

Commit 47a6486

Browse files
committed
added custom auth in all actions of cloudflare integration
1 parent cb7d89d commit 47a6486

File tree

5 files changed

+22
-5
lines changed

5 files changed

+22
-5
lines changed

docs/platform-services/automation-service/app-central/integrations/cloudflare.md

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
66

77
<img src={useBaseUrl('/img/platform-services/automation-service/app-central/logos/cloudflare.png')} alt="cloudflare" width="100"/>
88

9-
***Version: 1.1
10-
Updated: Jul 06, 2023***
9+
***Version: 1.2
10+
Updated: Nov 05, 2024***
1111

1212
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.
1313

@@ -35,27 +35,44 @@ Cloudflare makes everything you connect to the Internet secure, private, fast, a
3535

3636
* [Rule expressions](https://developers.cloudflare.com/ruleset-engine/rules-language/expressions/)
3737

38-
## Cloudflare configuration
38+
## Cloudflare configuration for global API Key
3939

4040
1. Sign in in Cloudflare using your email and password.
4141
2. Go to your profile in the left menu and select My Profile.
4242
3. From the left menu select API Tokens.
4343
4. Under Global API Key is your token.
4444
5. Make sure you copy and save them.
4545

46+
47+
## Cloudflare configuration for Custom API Token
48+
1. Sign in in Cloudflare using your email and password.
49+
2. Go to your profile in the left menu and select My Profile.
50+
3. From the left menu select API Tokens.
51+
4. Click Create Token and select Create Custom Token.
52+
5. Set Permissions: Choose the necessary permissions based on your use case. For more details, check the [Permissions](https://developers.cloudflare.com/fundamentals/api/reference/permissions/#account-permissions)
53+
6. Confirm your settings, then click Continue to summary and Create Token.
54+
7. Copy the token securely as it will only be displayed once.
55+
56+
4657
## Cloudflare in Automation Service and Cloud SOAR
4758

4859
1. Access integrations in the [Automation Service](/docs/platform-services/automation-service/automation-service-integrations/#view-integrations) or [Cloud SOAR](/docs/cloud-soar/automation).
4960
1. After the list of the integrations appears, search/look for the integration and click on the row.
5061
1. The integration details will appear. Click on the **"+"** button to add new Resource. <br/><img src={useBaseUrl('/img/platform-services/automation-service/app-central/integrations/cloudflare/cloudflare-3.png')} style={{border:'1px solid gray'}} alt="cloudflare" width="400"/>
5162
1. Populate all the required fields (\*).
63+
2. Select The Token Type (Default is set as global)
5264
1. In the API Key field, insert the previously copied key.
5365
1. Click **Save**.<br/><img src={useBaseUrl('/img/platform-services/automation-service/app-central/integrations/cloudflare/cloudflare-4.png')} style={{border:'1px solid gray'}} alt="cloudflare" width="400"/>
54-
1. To make sure the resource is working, hover over the resource and then click the pencil icon that appears on the right.<br/><img src={useBaseUrl('/img/platform-services/automation-service/app-central/integrations/cloudflare/cloudflare-5.png')} style={{border:'1px solid gray'}} alt="cloudflare" width="400"/>
55-
1. Click **TEST SAVED SETTINGS**.<br/><img src={useBaseUrl('/img/platform-services/automation-service/app-central/integrations/cloudflare/cloudflare-6.png')} style={{border:'1px solid gray'}} alt="cloudflare" width="400"/>
66+
1. To make sure the resource is working, hover over the resource and then click **TEST** that appears on the right.<br/><img src={useBaseUrl('/img/platform-services/automation-service/app-central/integrations/cloudflare/cloudflare-5.png')} style={{border:'1px solid gray'}} alt="cloudflare" width="400"/>
5667
1. You should receive a successful notification in the bottom right corner.<br/><img src={useBaseUrl('/img/platform-services/automation-service/app-central/integrations/cloudflare/cloudflare-7.png')} style={{border:'1px solid gray'}} alt="cloudflare" width="400"/>
5768

69+
70+
## Notes
71+
72+
* Email is needed only when using global API token. Any valid email will work with custom token.
73+
5874
## Change Log
5975

6076
* May 5, 2022 - First upload
6177
* July 6, 2023 (v1.1) - Updated the integration with Environmental Variables
78+
* November 5, 2024 (v1.2) - Added Custom token auth in all actions
4.77 KB
Loading
86.9 KB
Loading
6.03 KB
Loading
17.3 KB
Loading

0 commit comments

Comments
 (0)