2021-10-24 02:02:48 +00:00
|
|
|
id: api-onelogin
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: OneLogin API Test
|
|
|
|
author: dwisiswant0
|
2021-10-24 02:04:15 +00:00
|
|
|
reference: https://developers.onelogin.com/api-docs/2/getting-started/dev-overview
|
2021-10-24 02:02:48 +00:00
|
|
|
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}}
|
|
|
|
|
2021-10-24 02:08:57 +00:00
|
|
|
stop-at-first-match: true
|
2021-10-24 02:02:48 +00:00
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|