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

47 lines
1.0 KiB
YAML

id: api-onyphe
info:
name: Onyphe API Test
author: 0xpugazh
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: 4b0a004830460221009fbed819ee5f0de6054a6047d01ebacb9d75d95720706390d43f106acab4f6dd022100fe6c8c822772b3c74bbdbda483facd2f7b9f791c446871c3de34417474affd3c:922c64590222798bb761d5b6d8e72950