Create unauth-netdata.yaml

patch-1
Dhiyaneshwaran 2021-05-09 11:47:58 +05:30 committed by GitHub
parent 6bbea03bc6
commit ab93cda4ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
id: unauth-netdata
info:
name: Unauthenticated Netdata
author: dhiyaneshDk
severity: medium
reference: https://github.com/netdata/netdata
tags: netdata,unauth
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
- type: word
words:
- "application/json"
part: header
condition: and