id: doppler-service-account

info:
  name: Doppler Service Account 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\.sa\.[a-zA-Z0-9]{40,44})\b
# digest: 4a0a00473045022100df32e35edc7596c533501d67e1080ac76cc1b3127cca43edc05aabcb286a7e0402202590000d50bad37629bbf9167fefd7c6f811a25189bc8505b05efa6a3826ba82:922c64590222798bb761d5b6d8e72950