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

35 lines
902 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
# digest: 4a0a00473045022100850e53c92a054ffcf08500f345965b5674f65e8974a2d82117d4c127f613fcff02207fa1e6c159c8c013d78f0137271ff8bcba2204413bd77bb35fa6a1d25dc7c4d0:922c64590222798bb761d5b6d8e72950