id: openmetadata-detect

info:
  name: OpenMetadata - Detect
  author: icarot
  severity: info
  description: |
    Detects a OpenMetadata server, a unified metadata platform for data discovery, data observability, and data governance powered by a central metadata repository, in-depth column level lineage, and seamless team collaboration.
  reference:
    - https://github.com/open-metadata/OpenMetadata
  classification:
    cpe: cpe:2.3:a:open-metadata:openmetadata:1.7.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: open-metadata
    product: openmetadata
    fofa-query: title="OpenMetadata"
    shodan-query: title:"OpenMetadata"
  tags: tech,openmetadata,detect,discovery

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>OpenMetadata'
          - 'content="OpenMetadata'
          - '/openmetadata.bundle'
        condition: or
        case-insensitive: true

      - type: status
        status:
          - 200
          - 404
# digest: 490a00463044022005ccbc9f57fbffc5d82a9a2eb6ffe03f8a315eb77565f4611cce3d851f23e2bf02200cae04c005a1066642eeb351ade15b43e838741d4ec00759176843be556e2f4f:922c64590222798bb761d5b6d8e72950