Cloudflare API Credentials
Bridgecrew Policy ID: BC_GIT_73
Chekov Check ID: CKV_SECRET_73
Severity: LOW
Cloudflare API Credentials
Description
Using the Cloudflare API, requires authentication so that Cloudflare knows who is making requests and what permissions they have. An API Token can be created to grant access to the API to perform actions. See creating an API Token for more on this. When using the Cloudflare API, developers need to authenticate API requests.
Fix - Buildtime
Cloudflare
curl -X DELETE \
"https://api.cloudflare.com/client/v4/zones/<ZONE_ID>/filters?id=<FILTER_ID_1>&id=<FILTER_ID_2>" \
-H "X-Auth-Email: <EMAIL>" \
-H "X-Auth-Key: <API_KEY>"
Updated 8 months ago