From 659eb0ee7b8803071bbf7faf589c4b5dfa792150 Mon Sep 17 00:00:00 2001 From: Dwi Siswanto Date: Mon, 25 Oct 2021 07:51:04 +0700 Subject: [PATCH 1/2] Add LeanIX API test --- token-spray/leanix.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 token-spray/leanix.yaml diff --git a/token-spray/leanix.yaml b/token-spray/leanix.yaml new file mode 100644 index 0000000000..8ad2e155eb --- /dev/null +++ b/token-spray/leanix.yaml @@ -0,0 +1,25 @@ +id: api-leanix + +info: + name: LeanIX API Test + author: dwisiswant0 + reference: https://docs.leanix.net/docs/rest-api + severity: info + 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 From 17d4b8f95f44b714ed185851811664acab127945 Mon Sep 17 00:00:00 2001 From: Prince Chaddha Date: Mon, 25 Oct 2021 12:52:21 +0530 Subject: [PATCH 2/2] Update and rename leanix.yaml to api-leanix.yaml --- token-spray/{leanix.yaml => api-leanix.yaml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename token-spray/{leanix.yaml => api-leanix.yaml} (100%) diff --git a/token-spray/leanix.yaml b/token-spray/api-leanix.yaml similarity index 100% rename from token-spray/leanix.yaml rename to token-spray/api-leanix.yaml index 8ad2e155eb..53be0b6e95 100644 --- a/token-spray/leanix.yaml +++ b/token-spray/api-leanix.yaml @@ -3,8 +3,8 @@ id: api-leanix info: name: LeanIX API Test author: dwisiswant0 - reference: https://docs.leanix.net/docs/rest-api severity: info + reference: https://docs.leanix.net/docs/rest-api tags: token-spray,leanix self-contained: true