id: postman-api-key

info:
  name: Postman API Key
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/rules/postman.yml
    - https://learning.postman.com/docs/developer/intro-api/
  metadata:
    verified: true
  tags: postman,keys,file,token
file:
  - extensions:
      - all

    extractors:
      - type: regex
        part: body
        regex:
          - '\b(PMAK-[a-zA-Z0-9]{24}-[a-zA-Z0-9]{34})\b'
# digest: 4a0a00473045022100a12774e26dca4d9cba4c64c0fa16e0a4b57625a14fcbdf1a35b82f5074b1706f022055721496cebd9716a40c5a3f0d7be5357e8988e1cb1f9ff3a6e1d7b20023bd7c:922c64590222798bb761d5b6d8e72950