Merge pull request #5540 from 0xlittleboy/patch-2

Create api-newrelic.yaml
patch-1
Prince Chaddha 2022-10-04 14:53:43 +05:30 committed by GitHub
commit 4a703fff60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
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
metadata:
verified: true
tags: token-spray,newrelic
self-contained: true
requests:
- 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