Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
tamarleviCm committed Aug 15, 2024
1 parent 60e08eb commit 7f1f26b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/integration/predicate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ func TestSastUpdateAndGetPredicatesForSimilarityId(t *testing.T) {
flag(params.ScanIDFlag), scanID, flag(params.TargetFormatFlag), printer.FormatJSON,
flag(params.TargetPathFlag), resultsDirectory,
flag(params.TargetFlag), fileName,
flag(params.DebugFlag),
)

defer func() {
Expand Down
3 changes: 3 additions & 0 deletions test/integration/scan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ func TestScanCreate_ApplicationDoesntExist_FailScanWithError(t *testing.T) {
flag(params.SourcesFlag), ".",
flag(params.ScanTypes), "sast",
flag(params.BranchFlag), "dummy_branch",
flag(params.DebugFlag),
}

err, _ := executeCommand(t, args...)
Expand Down Expand Up @@ -873,8 +874,10 @@ func executeScanAssertions(t *testing.T, projectID, scanID string, tags map[stri
func createScan(t *testing.T, source string, tags map[string]string) (string, string) {
if isFFEnabled(t, wrappers.ContainerEngineCLIEnabled) {
return executeCreateScan(t, getCreateArgs(source, tags, "sast , sca , iac-security , api-security, container-security"))
return executeCreateScan(t, getCreateArgs(source, tags, "sast , sca , iac-security , api-security, scs, container-security"))
} else {
return executeCreateScan(t, getCreateArgs(source, tags, "sast , sca , iac-security , api-security"))
return executeCreateScan(t, getCreateArgs(source, tags, "sast , sca , iac-security , api-security, scs"))
}
}

Expand Down

0 comments on commit 7f1f26b

Please sign in to comment.