From 53fc3c0b119ddfa959d7b07c2a8e7e26b32c37c3 Mon Sep 17 00:00:00 2001 From: sandeep Date: Sat, 22 Jan 2022 14:46:40 +0530 Subject: [PATCH] template update --- exposed-panels/strapi-documentation.yaml | 12 +++++++-- ...pi-private-documentation-login-portal.yaml | 25 ------------------- 2 files changed, 10 insertions(+), 27 deletions(-) delete mode 100644 exposed-panels/strapi-private-documentation-login-portal.yaml diff --git a/exposed-panels/strapi-documentation.yaml b/exposed-panels/strapi-documentation.yaml index daf2d63356..6ce1d2e504 100644 --- a/exposed-panels/strapi-documentation.yaml +++ b/exposed-panels/strapi-documentation.yaml @@ -4,21 +4,29 @@ info: name: Strapi CMS - documentation plugin from marketplace (Make the documentation endpoint private. By default, the access is public) author: idealphase severity: info - tags: strapi + tags: strapi,panel requests: - method: GET path: - '{{BaseURL}}/documentation' + - '{{BaseURL}}/documentation/login' + stop-at-first-match: true matchers-condition: and matchers: - type: word words: - - "Swagger UI" - "x-strapi-config" - "https://strapi.io/documentation/" + condition: or + + - type: word + words: + - "Swagger UI" + - "Login - Documentation" + condition: or - type: status status: diff --git a/exposed-panels/strapi-private-documentation-login-portal.yaml b/exposed-panels/strapi-private-documentation-login-portal.yaml deleted file mode 100644 index 8db75bf3a6..0000000000 --- a/exposed-panels/strapi-private-documentation-login-portal.yaml +++ /dev/null @@ -1,25 +0,0 @@ -id: strapi-private-documentation-login-portal - -info: - name: Strapi CMS - private documentation (Make the documentation endpoint private. By default, the access is public) - author: idealphase - severity: info - tags: strapi - -requests: - - method: GET - path: - - '{{BaseURL}}/documentation/login' - - matchers-condition: and - matchers: - - - type: word - words: - - "Login - Documentation" - - "Enter the password to access the documentation." - - "https://strapi.io/" - - - type: status - status: - - 200