Skip to content

Commit

Permalink
Show findings in Sast (#970)
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas authored Sep 20, 2023
1 parent 35c66f3 commit fd8b279
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xray/utils/resultstable.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ func prepareSast(sasts []*sarif.Run, isTable bool) []formats.SourceCodeRow {
formats.SourceCodeRow{
SeverityDetails: formats.SeverityDetails{Severity: currSeverity.printableTitle(isTable), SeverityNumValue: currSeverity.NumValue()},
ScannerDescription: scannerDescription,
Finding: GetResultMsgText(sastResult),
Location: formats.Location{
File: GetRelativeLocationFileName(location, sastRun.Invocations),
StartLine: GetLocationStartLine(location),
Expand Down

0 comments on commit fd8b279

Please sign in to comment.