2021-10-24 02:25:47 +00:00
|
|
|
id: api-fortitoken-cloud
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: FortiToken Cloud API Test
|
|
|
|
author: dwisiswant0
|
|
|
|
severity: info
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://docs.fortinet.com/document/fortitoken-cloud/latest/rest-api/456035/overview
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-12-12 23:25:50 +00:00
|
|
|
tags: token-spray,fortinet,fortitoken
|
2021-10-24 02:25:47 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-10-24 02:25:47 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://ftc.fortinet.com:9696/api/v1/user"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-10-24 02:25:47 +00:00
|
|
|
headers:
|
|
|
|
Authorization: Bearer {{token}}
|
|
|
|
|
2021-10-24 02:27:27 +00:00
|
|
|
matchers-condition: and
|
2021-10-24 02:25:47 +00:00
|
|
|
matchers:
|
2021-10-24 02:27:27 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2021-10-24 02:25:47 +00:00
|
|
|
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- "error_(code|message|name)"
|
|
|
|
negative: true
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a0048304602210085dec939ca5aa4774aa6f9061c9f5dd131840d9c20832e13ca23afa1257873f2022100b6641576a1409c2d37274fd46d42e9c46ff5e2e13486e63eddd92c1a1e5dba1d:922c64590222798bb761d5b6d8e72950
|