mirror of
https://github.com/securego/gosec.git
synced 2025-11-23 22:15:04 +02:00
Add possibility to list waived (nosec) marked issues but not count them as such
This commit is contained in:
@@ -20,6 +20,8 @@ type GlobalOption string
|
||||
const (
|
||||
// Nosec global option for #nosec directive
|
||||
Nosec GlobalOption = "nosec"
|
||||
// ShowIgnored defines whether nosec issues are counted as finding or not
|
||||
ShowIgnored GlobalOption = "show-ignored"
|
||||
// Audit global option which indicates that gosec runs in audit mode
|
||||
Audit GlobalOption = "audit"
|
||||
// NoSecAlternative global option alternative for #nosec directive
|
||||
|
||||
Reference in New Issue
Block a user