Skip to content

Commit

Permalink
fix build script
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Sverdlov <[email protected]>
  • Loading branch information
sverdlov93 committed Sep 12, 2023
1 parent d205fff commit d456f90
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion xray/formats/simplejsonapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ type SourceCodeRow struct {
Severity string `json:"severity"`
SeverityNumValue int `json:"-"` // For sorting
Location
Type string `json:"type"`
Finding string `json:"finding,omitempty"`
ScannerDescription string `json:"scannerDescription,omitempty"`
CodeFlow [][]Location `json:"codeFlow,omitempty"`
Expand Down
3 changes: 0 additions & 3 deletions xray/utils/resultstable.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ func prepareSecrets(secrets []*sarif.Run, isTable bool) []formats.SourceCodeRow
EndColumn: GetLocationEndColumn(location),
Snippet: GetLocationSnippet(location),
},
Type: *secretResult.RuleID,
},
)
}
Expand Down Expand Up @@ -371,7 +370,6 @@ func prepareIacs(iacs []*sarif.Run, isTable bool) []formats.SourceCodeRow {
EndColumn: GetLocationEndColumn(location),
Snippet: GetLocationSnippet(location),
},
Type: *iacResult.RuleID,
},
)
}
Expand Down Expand Up @@ -425,7 +423,6 @@ func prepareSast(sasts []*sarif.Run, isTable bool) []formats.SourceCodeRow {
EndColumn: GetLocationEndColumn(location),
Snippet: GetLocationSnippet(location),
},
Type: *sastResult.RuleID,
CodeFlow: codeFlowToLocationFlow(codeFlows, sastRun.Invocations, isTable),
},
)
Expand Down

0 comments on commit d456f90

Please sign in to comment.