id: newrelic-pixie-deploy-key

info:
  name: New Relic Pixie Deploy 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
    max-request: 1
  tags: newrelic,pixie,token,exposure

http:
  - method: GET
    path:
      - "{{BaseURL}}"

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