nuclei-templates/token-spray/onelogin.yaml

24 lines
530 B
YAML

id: api-onelogin
info:
name: OneLogin API Test
author: dwisiswant0
reference: https://developers.onelogin.com/api-docs/2/getting-started/dev-overview
severity: info
tags: token-spray,onelogin
self-contained: true
requests:
- method: GET
path:
- "https://api.us.onelogin.com/api/2/users?fields=id"
- "https://api.eu.onelogin.com/api/2/users?fields=id"
headers:
Authorization: Bearer {{token}}
stop-at-first-match: true
matchers:
- type: status
status:
- 200