28 lines
573 B
YAML
28 lines
573 B
YAML
id: api-cloudflare
|
|
|
|
info:
|
|
name: Cloudflare API Test
|
|
author: ffffffff0x
|
|
severity: info
|
|
reference:
|
|
- https://dash.cloudflare.com/profile/api-tokens
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,cloudflare
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- 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'
|