id: aqua-enterprise-detect

info:
  name: Aqua Enterprise Detect
  author: daffainfo
  severity: info
  reference:
    - https://www.aquasec.com/
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.favicon.hash:-1261322577
  tags: tech,aqua,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/api"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - '"version"'
          - '"enable_sso"'
          - '"num_protected_kube_nodes"'
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        group: 1
        regex:
          - '{"version":"([0-9.]+)",'
# digest: 4a0a00473045022035670da9a4ba2a0226dc49c802f96571875e7814808a86999df0dc6ce3e4f8e1022100a1a13b61624dd103aaabc7e47e0041d133126a81791e25fb8dfb5dd81dddc178:922c64590222798bb761d5b6d8e72950