Files
nuclei-templates/http/token-spray/api-onyphe.yaml
2024-12-01 13:57:55 +00:00

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: 4a0a0047304502204193277acccfa5c970e66576ecf9b79533d25c3520b7830e113eb15212e412d4022100a8351c6fb28fa2f5404129eba6e1c727b313c3445e0524d912f436ccf624b700:922c64590222798bb761d5b6d8e72950