Skip to content

Commit

Permalink
scs
Browse files Browse the repository at this point in the history
  • Loading branch information
tamarleviCm committed Aug 15, 2024
1 parent d6efa0c commit fff2f67
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/integration/scan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -873,10 +873,8 @@ 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"))
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 Expand Up @@ -1040,6 +1038,7 @@ func TestScanWorkflow(t *testing.T) {
}
cmd := createASTIntegrationTestCommand(t)
err := execute(cmd, args...)
log.Println(err)
assert.Assert(t, err != nil, "Failed showing a scan: response status code 404")
}

Expand Down

0 comments on commit fff2f67

Please sign in to comment.