Merge pull request #2982 from dwisiswant0/add/api-leanix

Add LeanIX API test
patch-1
Prince Chaddha 2021-10-25 12:59:28 +05:30 committed by GitHub
commit c717cbd8c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
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