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

32 lines
706 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
metadata:
max-request: 1
self-contained: true
http:
- 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