id: doppler-scim-token

info:
  name: Doppler SCIM 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
    max-request: 1
  tags: doppler,exposure,tokens

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

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