nuclei-templates/apis/nerdgraph.yaml

25 lines
572 B
YAML

id: api-nerdgraph
info:
name: New Relic NerdGraph API Test
author: zzeitlin
reference: https://docs.newrelic.com/docs/apis/nerdgraph/get-started/introduction-new-relic-nerdgraph/
severity: info
tags: api,newrelic,nerdgraph
requests:
- method: POST
path:
- "https://api.newrelic.com/graphql"
headers:
Content-Type: application/json
API-Key: "{{token}}"
body: "{ \"query\": \"{ requestContext { userId apiKey }}\" }"
matchers:
- type: word
part: body
negative: true
words:
- 'errors'