From 0fa7c1dbba9b2d09be23d9b0b63e1273b662924b Mon Sep 17 00:00:00 2001 From: Sandeep Singh Date: Sat, 26 Mar 2022 15:02:06 +0530 Subject: [PATCH] Added api-cloudflare (#3985) --- token-spray/api-cloudflare.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 token-spray/api-cloudflare.yaml diff --git a/token-spray/api-cloudflare.yaml b/token-spray/api-cloudflare.yaml new file mode 100644 index 0000000000..9e65ce5251 --- /dev/null +++ b/token-spray/api-cloudflare.yaml @@ -0,0 +1,24 @@ +id: api-cloudflare + +info: + name: Cloudflare API Test + author: ffffffff0x + severity: info + reference: + - https://dash.cloudflare.com/profile/api-tokens + tags: token-spray,cloudflare + +self-contained: true +requests: + - raw: + - | + GET https://api.cloudflare.com/client/v4/user/tokens/verify HTTP/1.1 + Host: api.cloudflare.com + Authorization: Bearer {{token}} + Content-Type:application/json + + matchers: + - type: word + part: body + words: + - 'This API Token is valid and active'