id: wso2-products-detect

info:
  name: WSO2 Products - Detect
  author: righettod
  severity: info
  description: Try to detect the presence of a WSO2 products instance via the version endpoint
  metadata:
    max-request: 1
  tags: tech,wso2

http:
  - method: GET
    path:
      - "{{BaseURL}}/services/Version"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "version.services.core.carbon.wso2.org"

      - type: status
        status:
          - 200
# digest: 4a0a004730450220075caec194dcaef6bd96d79d11609179a05737c0da95194fc1501417d8fa0014022100a8128ad834fcd5c0ba5801d818508279c6db7408199dda906d8535dd4301dfb5:922c64590222798bb761d5b6d8e72950