Skip to content

Improve go_leak_rule-pprof-endpoint rule

Michael Henriksen requested to merge feat/issue-409443/pprof-endpoint into main

Modifies go_leak_rule-pprof-endpoint to require both import of net/http/pprof and a call to an HTTP serve function. Also improves the related test file with more examples and test annotations.

Playground: https://semgrep.dev/playground/s/QrqdP

Merge request reports