2022-10-02 05:32:24 +00:00
|
|
|
id: api-opsgenie
|
|
|
|
|
|
|
|
info:
|
2022-10-03 20:54:59 +00:00
|
|
|
name: OpsGenie API Test
|
|
|
|
author: 0xlittleboy
|
|
|
|
severity: info
|
|
|
|
description: Forex currency market data
|
|
|
|
reference:
|
|
|
|
- https://docs.opsgenie.com/docs/api-overview
|
|
|
|
tags: token-spray,opsgenie
|
2022-10-02 05:32:24 +00:00
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://api.opsgenie.com/v2/alerts"
|
|
|
|
headers:
|
|
|
|
Authorization: GenieKey {{token}}
|
|
|
|
|
2022-10-03 20:54:59 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
2022-10-04 09:14:46 +00:00
|
|
|
- '"data":'
|
|
|
|
- '"paging":'
|
|
|
|
- '"took":'
|
2022-10-03 20:54:59 +00:00
|
|
|
condition: and
|