id: bimi-record-detect

info:
  name: BIMI Record - Detection
  author: rxerium
  severity: info
  description: |
    A BIMI record was detected
  reference:
    - https://postmarkapp.com/blog/what-the-heck-is-bimi
  metadata:
    max-request: 1
  tags: dns,bimi,discovery
dns:
  - name: "{{FQDN}}"
    type: TXT
    matchers:
      - type: word
        words:
          - "v=BIMI1"

    extractors:
      - type: regex
        regex:
          - "v=BIMI1(.+)"
# digest: 490a00463044022003e1f73fc04829063ce85ce4e8bcfa5b23af1bbc23fbb1403fafb1a651a3c3a4022054824c1b8bd3472601f619d04e7cbebe842eb2e722c202897ff0514162ebc702:922c64590222798bb761d5b6d8e72950