mirror of
https://github.com/securego/gosec.git
synced 2025-11-23 22:15:04 +02:00
Add in the config file settings for exclude and include options
Co-authored-by: kaiili <kaii@openingsource.org>
This commit is contained in:
@@ -26,6 +26,10 @@ const (
|
||||
Audit GlobalOption = "audit"
|
||||
// NoSecAlternative global option alternative for #nosec directive
|
||||
NoSecAlternative GlobalOption = "#nosec"
|
||||
// ExcludeRules global option for some rules should not be load
|
||||
ExcludeRules GlobalOption = "exclude"
|
||||
// IncludeRules global option for should be load
|
||||
IncludeRules GlobalOption = "include"
|
||||
)
|
||||
|
||||
// Config is used to provide configuration and customization to each of the rules.
|
||||
|
||||
Reference in New Issue
Block a user