2022-10-02 06:36:58 +00:00
|
|
|
id: api-newrelic
|
|
|
|
|
|
|
|
info:
|
2022-10-03 21:19:44 +00:00
|
|
|
name: New Relic Rest API
|
2023-03-17 08:02:05 +00:00
|
|
|
author: 0xpugazh
|
2022-10-03 21:19:44 +00:00
|
|
|
severity: info
|
|
|
|
reference:
|
|
|
|
- https://docs.newrelic.com/docs/apis/rest-api-v2/application-examples-v2/list-your-app-id-metric-timeslice-data-v2
|
2022-10-03 21:39:27 +00:00
|
|
|
metadata:
|
2022-10-03 21:33:58 +00:00
|
|
|
verified: true
|
2022-10-03 21:19:44 +00:00
|
|
|
tags: token-spray,newrelic
|
2022-10-02 06:36:58 +00:00
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
2022-10-03 21:33:58 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
GET https://api.newrelic.com/v2/applications.json HTTP/1.1
|
|
|
|
Host: api.newrelic.com
|
|
|
|
Api-Key: {{token}}
|
2022-10-02 06:36:58 +00:00
|
|
|
|
2022-10-03 21:19:44 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
2022-10-04 09:22:05 +00:00
|
|
|
- '"applications":'
|
|
|
|
- '"application.servers":'
|
|
|
|
- '"application.application_hosts":'
|
2022-10-03 21:19:44 +00:00
|
|
|
condition: and
|