From 4a3ba37b3744f5df3a4fbeebed22483f4121d456 Mon Sep 17 00:00:00 2001 From: Ritik Chaddha <44563978+ritikchaddha@users.noreply.github.com> Date: Fri, 20 Oct 2023 16:58:10 +0530 Subject: [PATCH] matchers update --- .../atlassian-connect-descriptor.yaml | 28 ++++++++++++++----- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/http/technologies/atlassian-connect-descriptor.yaml b/http/technologies/atlassian-connect-descriptor.yaml index ccbd18dcab..a186381c38 100644 --- a/http/technologies/atlassian-connect-descriptor.yaml +++ b/http/technologies/atlassian-connect-descriptor.yaml @@ -9,19 +9,33 @@ info: reference: - https://developer.atlassian.com/cloud/jira/platform/connect-app-descriptor/ metadata: - shodan-query: html:"atlassian-connect.json" - verified: true max-request: 1 - tags: atlassian,tech + verified: true + shodan-query: html:"atlassian-connect.json" + tags: atlassian,tech,jira http: - method: GET path: - "{{BaseURL}}/atlassian-connect.json" + matchers-condition: and matchers: - - type: dsl - dsl: - - 'status_code == 200' - - 'contains(body, "name") && contains(body, "vendor") && contains(body, "key") && contains(body, "baseUrl")' + - type: word + part: body + words: + - '"name":' + - '"vendor":' + - '"key":' + - '"baseUrl":' + - '"authentication":' condition: and + + - type: word + part: header + words: + - application/json + + - type: status + status: + - 200