id: newrelic-insights-key

info:
  name: Insights Keys Disclosure
  author: Ice3man
  severity: info
  reference:
    - https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/#insights-insert-key
  metadata:
    max-request: 1
  tags: exposure,token,vuln

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

    extractors:
      - type: regex
        part: body
        regex:
          - '(?i)NRI(?:I|Q)-[A-Za-z0-9\-_]{32}'
# digest: 4a0a004730450220465b642f165c18d2a962eb58f12481c5f3d068bab61afee8d615d24c1cce36c2022100a62ab74fcf590e59bf9fedbc38b9e994a4d27bd8d4b6f0601a64996084abe07e:922c64590222798bb761d5b6d8e72950