diff --git a/token-spray/api-newrelic.yaml b/token-spray/api-newrelic.yaml new file mode 100644 index 0000000000..56c1c272c5 --- /dev/null +++ b/token-spray/api-newrelic.yaml @@ -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