Skip to content

Commit

Permalink
supporting api-sec missing case (#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagobcx authored Aug 7, 2024
1 parent d7ec6de commit 2a8c3c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/commands/result.go
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,8 @@ func enhanceWithScanSummary(summary *wrappers.ResultSummary, results *wrappers.S
summary.EnginesResult[commonParams.APISecType].High = summary.APISecurity.Risks[1]
if !criticalEnabled {
summary.EnginesResult[commonParams.APISecType].Critical = notAvailableNumber
} else {
summary.EnginesResult[commonParams.APISecType].Critical = summary.APISecurity.Risks[0]
}
}

Expand Down

0 comments on commit 2a8c3c6

Please sign in to comment.