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: 4b0a0048304602210091c8e1876e6b1c6d87ef964191509e59b7cde018d92090a2e909b35ce8015302022100e0a9a5d381c5d0255f9803cd2e8bb57cdb98d4dd8b5248e9e308adb3b58b3bb0:922c64590222798bb761d5b6d8e72950