diff --git a/http/exposures/logs/go-pprof-debug.yaml b/http/exposures/logs/go-pprof-debug.yaml index 3aae1c0e3a..10c9028aca 100644 --- a/http/exposures/logs/go-pprof-debug.yaml +++ b/http/exposures/logs/go-pprof-debug.yaml @@ -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 \ No newline at end of file + - 200