nuclei-templates/token-spray/api-onelogin.yaml

29 lines
616 B
YAML

id: api-onelogin
info:
name: OneLogin API Test
author: dwisiswant0
severity: info
reference:
- https://developers.onelogin.com/api-docs/2/getting-started/dev-overview
tags: token-spray,onelogin
self-contained: true
requests:
- method: GET
path:
- "https://api.us.onelogin.com/api/2/apps"
- "https://api.eu.onelogin.com/api/2/apps"
headers:
Authorization: Bearer {{token}}
stop-at-first-match: true
matchers:
- type: word
part: body
words:
- '"id":'
- '"connector_id":'
- '"auth_method":'
condition: and