Added api-cloudflare (#3985)

patch-1
Sandeep Singh 2022-03-26 15:02:06 +05:30 committed by GitHub
parent 7998f606ab
commit 0fa7c1dbba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

View File

@ -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'