id: newrelic-rest-api-key

info:
  name: REST API Key Disclosure
  author: Ice3man
  severity: info
  metadata:
    max-request: 1
  tags: exposure,token

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

    extractors:
      - type: regex
        part: body
        regex:
          - '(?i)NRRA-[a-f0-9]{42}'
# digest: 490a00463044022053bc2773e07dd80b7deb3d57892eda4892b7b9b856505e8be37727c3856d2db6022078baf8dc389016c52d6437ca78d2e0a14bb11576df506bb5edc77b07df5b94cd:922c64590222798bb761d5b6d8e72950