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,discovery

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