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
dns:
  - name: "{{FQDN}}"
    type: TXT
    matchers:
      - type: word
        words:
          - "v=BIMI1"

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