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

45 lines
1020 B
YAML

id: api-onyphe
info:
name: Onyphe API Test
author: 0xpugal
severity: info
description: Cyber Defense Search Engine and Attack Surface Management
reference:
- https://www.onyphe.io/docs
metadata:
verified: true
max-request: 1
tags: token-spray,onyphe
self-contained: true
http:
- method: GET
path:
- "https://www.onyphe.io/api/v2/user"
headers:
Authorization: Bearer {{token}}
Content-Type: application/json
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"apikey":"'
- '"apis":'
- '"@timestamp":'
- '"@category":'
condition: and
- type: word
part: header
words:
- 'application/json'
- type: status
status:
- 200
# digest: 4a0a0047304502206329a29b67b78f16f63e44240487a51e93c581cde18d8e4a0c16ed5f66a32397022100eef3271721dd4e8a42b14e7ad19fd57b0eb99eaa4cc3fc006ffb914475f2973d:922c64590222798bb761d5b6d8e72950