id: newrelic-admin-api-key

info:
  name: Admin API Key Disclosure
  author: Ice3man
  severity: info
  reference:
    - https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/#admin-keys
  metadata:
    max-request: 1
  tags: exposure,token

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

    extractors:
      - type: regex
        part: body
        regex:
          - '(?i)NRAA-[a-f0-9]{27}'
# digest: 4a0a00473045022100821fc7072cab6be4f849a9668fa17b7f151ac66cc8433c955f4d1c58216245e80220155a076d6076ebfb2a5b6bbb6acbca3a7713a878e821eef7610a3e57f5330ab1:922c64590222798bb761d5b6d8e72950