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
|
|
|
|
author: 0xlittleboy
|
|
|
|
severity: info
|
|
|
|
description: Forex currency market data
|
|
|
|
reference:
|
|
|
|
- https://docs.newrelic.com/docs/apis/rest-api-v2/application-examples-v2/list-your-app-id-metric-timeslice-data-v2
|
|
|
|
tags: token-spray,newrelic
|
2022-10-02 06:36:58 +00:00
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://api.newrelic.com/v2/applications.json"
|
|
|
|
headers:
|
2022-10-03 21:19:44 +00:00
|
|
|
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:
|
|
|
|
- 'id'
|
|
|
|
- 'name'
|
|
|
|
- 'language'
|
|
|
|
- 'health_status'
|
|
|
|
condition: and
|