id: newrelic-pixie-deploykey

info:
  name: New Relic Pixie Deploy Key
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/builtin/rules/newrelic.yml
    - https://docs.px.dev/reference/admin/api-keys/
  metadata:
    verified: true
  tags: file,keys,newrelic,pixie,token
file:
  - extensions:
      - all

    extractors:
      - type: regex
        part: body
        regex:
          - "(px-dep-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})"
# digest: 4a0a00473045022100c5356028cd30f40add95e43d5c913cdb8898070edf41f481552b019d39eafadd02204b670456909acb28ea40475aa3d243c8b8328b2fadc1cda5d462f6ecb2f3e910:922c64590222798bb761d5b6d8e72950