id: adobe-secret

info:
  name: Adobe OAuth Client Secret
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/adobe.yml
    - https://developer.adobe.com/developer-console/docs/guides/authentication/
    - https://developer.adobe.com/developer-console/docs/guides/authentication/OAuthIntegration/
    - https://developer.adobe.com/developer-console/docs/guides/authentication/OAuth/
  metadata:
    verified: true
  tags: file,keys,adobe,oauth,token

file:
  - extensions:
      - all

    extractors:
      - type: regex
        part: body
        regex:
          - '(?i)\b(p8e-[a-z0-9-]{32})(?:[^a-z0-9-]|$)'
# digest: 490a0046304402201a7811641891330f3d6ca1b36d6a83cd953b4a871177f223f87e31ccef235d6202207b54e306da80bd2eca011222c664505c3bdd46ff4a4c74d21d1e1b03ffe9370a:922c64590222798bb761d5b6d8e72950