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

27 lines
536 B
YAML

id: api-pagerduty
info:
name: Pagerduty API Test
author: zzeitlin
severity: info
reference:
- https://developer.pagerduty.com/api-reference
tags: token-spray,pagerduty
self-contained: true
requests:
- 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