id: pega-detect

info:
  name: Pega Infinity Detection
  author: sshell
  severity: info
  metadata:
    max-request: 1
  tags: tech,pega

http:
  - method: GET
    path:
      - "{{BaseURL}}/prweb/PRRestService/unauthenticatedAPI/v1/docs"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"description" :"The Pega API'

      - type: status
        status:
          - 200

      - type: word
        part: header
        words:
          - 'application/json'

# digest: 490a00463044022050e2ffb685163cec98e6ae3b5a2bf62b9f4c26fdee81e5e25a0e21c6b2284fd6022004b7517fe653b8f666245f6445d4c046447de65e574d222ea3f4c6dbc384cb4a:922c64590222798bb761d5b6d8e72950
