You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/gosec/main.go
+25-12Lines changed: 25 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,10 @@ var (
93
93
flagScanVendor=flag.Bool("vendor", false, "Scan the vendor folder")
94
94
95
95
// fail by severity
96
-
flagSeverity=flag.String("severity", "low", "Fail the scanning for issues with the given or higher severity. Valid options are: low, medium, high")
96
+
flagSeverity=flag.String("severity", "low", "Filter out the issues with a lower severity than the given value. Valid options are: low, medium, high")
97
+
98
+
// fail by confidence
99
+
flagConfidence=flag.String("confidence", "low", "Filter out the issues with a lower confidence than the given value. Valid options are: low, medium, high")
97
100
98
101
// do not fail
99
102
flagNoFail=flag.Bool("no-fail", false, "Do not fail the scanning, even if issues were found")
0 commit comments