id: doppler-audit

info:
  name: Doppler Audit Token
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/builtin/rules/doppler.yml
    - https://docs.doppler.com/reference/api
    - https://docs.doppler.com/reference/auth-token-formats
  metadata:
    verified: true
  tags: doppler,keys,file

file:
  - extensions:
      - all

    extractors:
      - type: regex
        part: body
        regex:
          - \b(dp\.audit\.[a-zA-Z0-9]{40,44})\b
# digest: 490a0046304402207b321e7f956d3633b00ae1b2fc0f9ed4d22ebab237dc3c9fbfbae8efa3a45dc002204ccef776bcc030984a505a416ca57c376a68077e57a3e3cb7d6656d558f1bd0d:922c64590222798bb761d5b6d8e72950