mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
build: update scripts go.(mod|sum) (#19834)
* build: update scripts go.(mod|sum) * build: exclude gosec rule G108 Gosec rule G108: Profiling endpoint automatically exposed on /debug/pprof is not applicable since we only enable /debug/pprof endpoint if -profile flag is provided when starting grafana.
This commit is contained in:
committed by
Marcus Efraimsson
parent
af885b2350
commit
84609abdfa
2
Makefile
2
Makefile
@@ -96,7 +96,7 @@ revive-alerting: scripts/go/bin/revive
|
||||
gosec: scripts/go/bin/gosec
|
||||
@echo "lint via gosec"
|
||||
@scripts/go/bin/gosec -quiet \
|
||||
-exclude=G104,G107,G201,G202,G204,G301,G304,G401,G402,G501 \
|
||||
-exclude=G104,G107,G108,G201,G202,G204,G301,G304,G401,G402,G501 \
|
||||
-conf=./scripts/go/configs/gosec.json \
|
||||
$(GO_FILES)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user