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
ScsScorecardUnsupportedHostWarningMsg="SCS scan warning: Unable to run Scorecard scanner due to unsupported repo host. Currently, Scorecard can only run on GitHub Cloud repos."
122
122
123
-
jsonExt=".json"
124
-
xmlExt=".xml"
125
-
sbomScanTypeErrMsg="The --sbom-only flag can only be used with scan type: sca"
123
+
jsonExt=".json"
124
+
xmlExt=".xml"
125
+
sbomScanTypeErrMsg="The --sbom-only flag can only be used with scan type: sca"
126
+
BranchPrimaryPrefix="--branch-primary="
126
127
)
127
128
128
129
var (
@@ -727,6 +728,11 @@ func scanCreateSubCommand(
727
728
"Enable SAST scan using light query configuration",
728
729
)
729
730
731
+
createScanCmd.PersistentFlags().Bool(
732
+
commonParams.BranchPrimaryFlag,
733
+
false,
734
+
"This flag sets the branch specified in --branch as the PRIMARY branch for the project")
0 commit comments