Improved matcher

patch-1
sandeep 2021-05-11 21:12:10 +05:30
parent a854fec546
commit 5b102e02ef
1 changed files with 6 additions and 4 deletions

View File

@ -4,24 +4,26 @@ info:
author: dhiyaneshDk
severity: medium
reference: https://github.com/netdata/netdata
tags: netdata,unauth
tags: netdata,unauth,misconfig
requests:
- method: GET
path:
- "{{BaseURL}}/api/v1/data?chart=system.cpu&format=json&points=125&group=average&gtime=0&options=ms%7Cflip%7Cjsonwrap%7Cnonzero&after=-120&dimensions=iowait"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "view_update_every"
- "dimensions"
part: body
condition: and
- type: word
words:
- "application/json"
part: header
condition: and
part: header