From 07a50e07e2e8ad35cb0d15b57a2c886084d3d9e5 Mon Sep 17 00:00:00 2001 From: Techbrunch Date: Thu, 28 Jul 2022 16:52:56 +0200 Subject: [PATCH 1/5] Create sap-spartacus-detect.yaml --- headless/sap-spartacus-detect.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 headless/sap-spartacus-detect.yaml diff --git a/headless/sap-spartacus-detect.yaml b/headless/sap-spartacus-detect.yaml new file mode 100644 index 0000000000..28fddabfb7 --- /dev/null +++ b/headless/sap-spartacus-detect.yaml @@ -0,0 +1,28 @@ +id: sap-spartacus-detect +info: + name: SAP Spartacus detect + author: TechbrunchFR + severity: info + description: Spartacus is a lean, Angular-based JavaScript storefront for SAP Commerce Cloud that communicates exclusively through the Commerce REST API. + reference: + - https://github.com/SAP/spartacus + tags: sap,hybris,angular +headless: + - steps: + - action: debug + - args: + url: "{{BaseURL}}/" + action: navigate + - action: waitload + - action: sleep + args: + duration: 2 + matchers: + - part: body + type: word + words: + - " Date: Fri, 29 Jul 2022 23:51:22 +0530 Subject: [PATCH 3/5] Update sap-spartacus-detect.yaml --- headless/sap-spartacus-detect.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/headless/sap-spartacus-detect.yaml b/headless/sap-spartacus-detect.yaml index c066138960..1cb14b81a5 100644 --- a/headless/sap-spartacus-detect.yaml +++ b/headless/sap-spartacus-detect.yaml @@ -6,7 +6,9 @@ info: description: Spartacus is a lean, Angular-based JavaScript storefront for SAP Commerce Cloud that communicates exclusively through the Commerce REST API. reference: - https://github.com/SAP/spartacus - tags: sap,hybris,angular + metadata: + verified: true + tags: sap,hybris,angular,headless headless: - steps: - args: From 89a47c91ebf4b21018e2d91e227d0822e264bb7a Mon Sep 17 00:00:00 2001 From: Prince Chaddha Date: Mon, 1 Aug 2022 09:18:53 +0530 Subject: [PATCH 4/5] Update sap-spartacus-detect.yaml --- headless/sap-spartacus-detect.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/headless/sap-spartacus-detect.yaml b/headless/sap-spartacus-detect.yaml index 1cb14b81a5..4c55de2c1e 100644 --- a/headless/sap-spartacus-detect.yaml +++ b/headless/sap-spartacus-detect.yaml @@ -8,7 +8,8 @@ info: - https://github.com/SAP/spartacus metadata: verified: true - tags: sap,hybris,angular,headless + tags: headless,sap,hybris,angular,spartacus + headless: - steps: - args: @@ -18,11 +19,13 @@ headless: - action: sleep args: duration: 2 + matchers: - part: body type: word words: - " Date: Tue, 2 Aug 2022 09:34:28 +0530 Subject: [PATCH 5/5] Update and rename headless/sap-spartacus-detect.yaml to technologies/sap-spartacus-detect.yaml --- .../sap-spartacus-detect.yaml | 20 +++++-------------- 1 file changed, 5 insertions(+), 15 deletions(-) rename {headless => technologies}/sap-spartacus-detect.yaml (59%) diff --git a/headless/sap-spartacus-detect.yaml b/technologies/sap-spartacus-detect.yaml similarity index 59% rename from headless/sap-spartacus-detect.yaml rename to technologies/sap-spartacus-detect.yaml index 4c55de2c1e..ade0d0eec6 100644 --- a/headless/sap-spartacus-detect.yaml +++ b/technologies/sap-spartacus-detect.yaml @@ -8,25 +8,15 @@ info: - https://github.com/SAP/spartacus metadata: verified: true - tags: headless,sap,hybris,angular,spartacus + tags: tech,sap,hybris,angular,spartacus -headless: - - steps: - - args: - url: "{{BaseURL}}/" - action: navigate - - action: waitload - - action: sleep - args: - duration: 2 +requests: + - method: GET + path: + - '{{BaseURL}}' matchers: - part: body type: word words: - "