Chore: revise some of the gosec rules (#16713)
This commit is contained in:
committed by
Carl Bergquist
parent
51a98565dc
commit
c1289b308f
@@ -39,4 +39,7 @@ exit_if_fail go vet ./pkg/...
|
||||
exit_if_fail revive -formatter stylish -config ./scripts/revive.toml
|
||||
|
||||
# TODO recheck the rules and leave only necessary exclusions
|
||||
#exit_if_fail gosec -quiet -exclude=G104,G107,G201,G202,G204,G301,G302,G304,G402,G501,G505,G401 ./pkg/...
|
||||
# exit_if_fail gosec -quiet \
|
||||
# -exclude=G104,G107,G201,G202,G204,G301,G304,G401,G402,G501 \
|
||||
# -conf=./scripts/gosec.json \
|
||||
# ./pkg/...
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"G302": "0660",
|
||||
"G301": "0755"
|
||||
}
|
||||
Reference in New Issue
Block a user