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

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

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