Files
nuclei-templates/http/token-spray/api-nerdgraph.yaml

31 lines
829 B
YAML
Raw Normal View History

2021-10-01 14:33:51 +00:00
id: api-nerdgraph
info:
name: New Relic NerdGraph API Test
author: zzeitlin
severity: info
reference:
- https://docs.newrelic.com/docs/apis/nerdgraph/get-started/introduction-new-relic-nerdgraph/
metadata:
max-request: 1
2023-10-14 16:57:55 +05:30
tags: token-spray,newrelic,nerdgraph
2021-10-01 14:33:51 +00:00
2021-10-20 14:16:18 +05:30
self-contained: true
2023-10-14 16:57:55 +05:30
http:
2021-10-01 14:33:51 +00:00
- method: POST
path:
- "https://api.newrelic.com/graphql"
2023-10-14 16:57:55 +05:30
2021-10-01 14:33:51 +00:00
headers:
Content-Type: application/json
API-Key: "{{token}}"
2021-10-02 02:16:16 +05:30
2023-10-14 16:57:55 +05:30
body: "{ \"query\": \"{ requestContext { userId apiKey }}\" }"
2021-10-01 14:33:51 +00:00
matchers:
- type: word
part: body
negative: true
words:
- 'errors'
2024-12-01 13:57:55 +00:00
# digest: 4a0a00473045022100e1a672546d931ae465f456a82e386e6931a281e3aa840fa387d1364b6807cc2702207dff5be88940ea66de9f7990bf8f803360466f54e233994742069ebe57993af6:922c64590222798bb761d5b6d8e72950