id: sap-spartacus

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
  metadata:
    verified: true
  tags: tech,sap,hybris,angular,spartacus,headless

headless:
  - steps:
      - action: navigate
        args:
          url: "{{BaseURL}}"

      - action: waitload

    matchers-condition: and
    matchers:
      - part: body
        type: word
        words:
          - "<cx-storefront"

      - part: body
        type: word
        words:
          - "ng-version="
# digest: 4a0a0047304502207ea3e4b8fcc01ffa0a987cec1548f1b5f7542adb96d5d8efe42d2e41ab77770b022100d6e3c81015f4ef395f08e3b1ea96c4baf17cb95a5be18593cae0ac88cd3d92fa:922c64590222798bb761d5b6d8e72950