Create api-newrelic.yaml

patch-1
Pugalarasan 2022-10-02 12:06:58 +05:30 committed by GitHub
parent 0d87023706
commit 559fea6b1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
id: api-newrelic
info:
name: New Relic Rest API
author: 0xlittleboy
severity: info
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
self-contained: true
requests:
- method: GET
path:
- "https://api.newrelic.com/v2/applications.json"
headers:
X-Api-Key: {{token}}
matchers:
- type: word
part: body
words:
- 'id'
- 'name'
- 'language'
- 'health_status'
condition: and