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: 4a0a00473045022069800a67f2d3e4cec03382a37a965e51a519aa09b981a86904cffb2013b1e466022100d924f081f630287e82fba96b7f3802186fccbd04dc839f91726a86f4d7a1f0ba:922c64590222798bb761d5b6d8e72950