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

33 lines
707 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
metadata:
max-request: 1
tags: token-spray,instatus
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