nuclei-templates/http/token-spray/api-newrelic.yaml

33 lines
870 B
YAML

id: api-newrelic
info:
name: New Relic Rest API
author: 0xpugazh
severity: info
reference:
- https://docs.newrelic.com/docs/apis/rest-api-v2/application-examples-v2/list-your-app-id-metric-timeslice-data-v2
metadata:
verified: true
max-request: 1
tags: token-spray,newrelic
self-contained: true
http:
- raw:
- |
GET https://api.newrelic.com/v2/applications.json HTTP/1.1
Host: api.newrelic.com
Api-Key: {{token}}
matchers:
- type: word
part: body
words:
- '"applications":'
- '"application.servers":'
- '"application.application_hosts":'
condition: and
# digest: 490a004630440220284f3670a18491fd97725bacd86222377d2f015639a8bd015596407ae505d5a50220124c0c9e58dfc8c73bf218bf6a7277639e628a2f44b0defa6383e87831ebf10a:922c64590222798bb761d5b6d8e72950