26 lines
600 B
YAML
26 lines
600 B
YAML
|
id: api-leanix
|
||
|
|
||
|
info:
|
||
|
name: LeanIX API Test
|
||
|
author: dwisiswant0
|
||
|
severity: info
|
||
|
reference: https://docs.leanix.net/docs/rest-api
|
||
|
tags: token-spray,leanix
|
||
|
|
||
|
self-contained: true
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "https://us.leanix.net/services/integration-api/v1/examples/starterExample"
|
||
|
- "https://eu.leanix.net/services/integration-api/v1/examples/starterExample"
|
||
|
headers:
|
||
|
Authorization: Bearer {{token}}
|
||
|
|
||
|
stop-at-first-match: true
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: body
|
||
|
words:
|
||
|
- "Credentials are required"
|
||
|
negative: true
|