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

30 lines
757 B
YAML

id: api-pagerduty
info:
name: Pagerduty API Test
author: zzeitlin
severity: info
reference:
- https://developer.pagerduty.com/api-reference
metadata:
max-request: 1
tags: token-spray,pagerduty
self-contained: true
http:
- method: GET
path:
- "https://api.pagerduty.com/schedules"
headers:
Accept: application/vnd.pagerduty+json;version=2
Authorization: Token token={{token}}
matchers:
- type: word
part: body
words:
- '"schedules":'
- '"id":'
condition: and
# digest: 4a0a0047304502210088f8d069988094226c690e14efb2767d2ff5e3b77fa109bb081b8ef9d059094302203d2c79ed199306215f5e937cf51859e1690e13eaf806863ae94b4126659da427:922c64590222798bb761d5b6d8e72950