31 lines
871 B
YAML
31 lines
871 B
YAML
id: api-newrelic
|
|
|
|
info:
|
|
name: New Relic Rest API
|
|
author: 0xpugal
|
|
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: 4b0a00483046022100e83b1ef626e675b13b9cbafeccfb87e0cf03d80d10d59b396a6556441ceddcbb022100b8078234f024c52fa5f312e415c212cb309eb3bf05d7b0422a2bc9e134e86902:922c64590222798bb761d5b6d8e72950 |