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

30 lines
679 B
YAML

id: api-instatus
info:
name: Instatus API Test
author: daffainfo
severity: info
description: Post to and update maintenance and incidents on your status page through an HTTP REST API
reference:
- https://instatus.com/help/api
- https://github.com/daffainfo/all-about-apikey/tree/main/instatus
tags: token-spray,instatus
self-contained: true
requests:
- method: GET
path:
- "https://api.instatus.com/v1/pages"
headers:
Authorization: Bearer {{token}}
matchers:
- type: word
part: body
words:
- '"id":'
- '"subdomain":'
- '"name":'
- '"logoUrl":'
condition: and