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/cbom.go
+11-8Lines changed: 11 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,7 @@ func init() {
75
75
cbomCmd.Flags().Bool("no-deps", false, "Skip the crypto-library detection pass")
76
76
cbomCmd.Flags().String("fail-on", "none", "Exit non-zero when crypto of these PQC statuses is found: none, quantum-vulnerable, deprecated (comma-separated)")
77
77
cbomCmd.Flags().Bool("no-upload", false, "Do not submit the CBOM to Vulnetix (it is submitted automatically when authenticated)")
78
+
cbomCmd.Flags().Bool("cbom-include-ignored", false, "Include files matched by .gitignore (default: gitignored paths are skipped)")
"Cap the number of commits walked during the git-history secrets stage (0 = no cap)")
4327
4363
cmd.Flags().Int("git-history-max-files", 5000,
4328
4364
"Cap the number of file versions extracted from git history (0 = no cap)")
4365
+
cmd.Flags().Bool("include-ignored", false,
4366
+
"Include files matched by .gitignore. By default the SAST, secrets, containers and IaC passes skip gitignored paths; sca and malscan always scan them (dependency install dirs are commonly gitignored).")
| `+"`--fail-on`"+` | string | `+"`none`"+` | Exit non-zero when crypto of these PQC statuses is found (e.g. `+"`quantum-vulnerable`, `deprecated`"+`) |
321
321
| `+"`--no-upload`"+` | bool | `+"`false`"+` | Do not submit the CBOM to Vulnetix (submitted automatically when authenticated) |
322
+
| `+"`--cbom-include-ignored`"+` | bool | `+"`false`"+` | Include files matched by `+"`.gitignore`"+` (default: gitignored paths are skipped) |
0 commit comments