Skip to content

Commit fa3879d

Browse files
Merge pull request #1124 from Checkmarx/other/saraChen/AddAlternateIDField
Add an AlternateID field to enable opening the vulnerability details.
2 parents 8ba7be3 + 6022404 commit fa3879d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

internal/wrappers/results-json.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ type ScanResult struct {
2424
Label string `json:"label,omitempty"`
2525
ID string `json:"id,omitempty"`
2626
SimilarityID string `json:"similarityId,omitempty"`
27+
AlternateID string `json:"alternateId,omitempty"`
2728
Status string `json:"status,omitempty"`
2829
State string `json:"state,omitempty"`
2930
Severity string `json:"severity,omitempty"`

test/integration/util_command.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import (
1414
"github.com/checkmarx/ast-cli/internal/commands"
1515
"github.com/checkmarx/ast-cli/internal/params"
1616
"github.com/checkmarx/ast-cli/internal/wrappers"
17-
"github.com/checkmarx/ast-cli/internal/wrappers/configuration"
1817
"github.com/spf13/cobra"
1918
"github.com/spf13/viper"
2019
"gotest.tools/assert"
@@ -57,7 +56,6 @@ func bindProxy(t *testing.T) {
5756
func createASTIntegrationTestCommand(t *testing.T) *cobra.Command {
5857
bindProxy(t)
5958
bindKeysToEnvAndDefault(t)
60-
configuration.LoadConfiguration()
6159
_ = viper.BindEnv(pat)
6260
viper.AutomaticEnv()
6361
viper.Set("CX_TOKEN_EXPIRY_SECONDS", 2)

0 commit comments

Comments
 (0)