id: newrelic-pixie-apikey

info:
  name: New Relic Pixie API Key
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/data/default/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-api-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})"
# digest: 4b0a00483046022100c1f6735b1d0564a4487cdb3ae15be7081519f423b55685d85449bf2b6d96890302210092c62bc56577fc39a5fd7e1ec7eaf2ebfa702f55f420e7c676d4b63d5db844e7:922c64590222798bb761d5b6d8e72950