nuclei-templates/http/token-spray/api-appveyor.yaml

32 lines
723 B
YAML

id: api-appveyor
info:
name: AppVeyor API Test
author: dwisiswant0
severity: info
reference:
- https://www.appveyor.com/docs/api/
metadata:
max-request: 1
tags: token-spray,appveyor
self-contained: true
http:
- method: GET
path:
- "https://ci.appveyor.com/api/roles"
headers:
Content-Type: application/json
Authorization: Bearer {{token}}
matchers:
- type: word
part: body
words:
- '"roleId":'
- '"created":'
condition: and
# digest: 490a00463044022015e6f1f344553fca9c4d1692f24a0f16dfd25d843ca49e5e964b62de347863e9022059f1676f4a19b82033665201e9ba232546dc2321a3469bad64e04a80191e5af2:922c64590222798bb761d5b6d8e72950