additional matcher
parent
1fbdbae033
commit
31e8fdf87a
|
@ -1,7 +1,7 @@
|
|||
id: go-pprof-debug
|
||||
|
||||
info:
|
||||
name: go pprof debug page
|
||||
name: Go pprof Debug Page
|
||||
author: w8ay
|
||||
severity: low
|
||||
description: go pprof debug page was exposed.
|
||||
|
@ -13,11 +13,14 @@ http:
|
|||
- "{{BaseURL}}/debug/pprof/heap?debug=1"
|
||||
- "{{BaseURL}}/pprof/heap?debug=1"
|
||||
|
||||
stop-at-first-match: true
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
words:
|
||||
- 'heap profile'
|
||||
- 'heap profile:'
|
||||
- 'Alloc'
|
||||
condition: and
|
||||
|
||||
- type: word
|
||||
words:
|
||||
|
@ -26,4 +29,4 @@ http:
|
|||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
- 200
|
||||
|
|
Loading…
Reference in New Issue