2021-10-01 14:33:51 +00:00
|
|
|
id: api-pagerduty
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Pagerduty API Test
|
|
|
|
author: zzeitlin
|
|
|
|
severity: info
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://developer.pagerduty.com/api-reference
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,pagerduty
|
2021-10-01 14:33:51 +00:00
|
|
|
|
2021-10-20 08:46:18 +00:00
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-10-01 14:33:51 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://api.pagerduty.com/schedules"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-10-01 14:33:51 +00:00
|
|
|
headers:
|
|
|
|
Accept: application/vnd.pagerduty+json;version=2
|
|
|
|
Authorization: Token token={{token}}
|
|
|
|
matchers:
|
2021-11-10 09:35:20 +00:00
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"schedules":'
|
|
|
|
- '"id":'
|
|
|
|
condition: and
|
2023-10-19 13:13:52 +00:00
|
|
|
# digest: 4a0a0047304502210088f8d069988094226c690e14efb2767d2ff5e3b77fa109bb081b8ef9d059094302203d2c79ed199306215f5e937cf51859e1690e13eaf806863ae94b4126659da427:922c64590222798bb761d5b6d8e72950
|