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

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: 490a00463044022005856d3846bb5375e2f7a363f0c02c60e41887692cfaaf81b12816b019ec9aac02206f679c7711e09433cdc3a0711fef304a00829faa8bf750fa6c41c75aa62e184b:922c64590222798bb761d5b6d8e72950