Skip to content

Commit 23bcde2

Browse files
keroxpCopilot
andauthored
Update cli/cage/audit/aggregator.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 5c7a5d2 commit 23bcde2

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

cli/cage/audit/aggregator.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ func (a *aggregater) Add(r *ScanResult) {
5050
}
5151

5252
type AggregateResult struct {
53-
CriticalCount int
54-
HighCount int
55-
MediumCount int
56-
LowCount int
57-
InfoCount int
58-
TotalCount int
59-
HighestSeverity ecrtypes.FindingSeverity
53+
CriticalCount int `json:"critical_count"`
54+
HighCount int `json:"high_count"`
55+
MediumCount int `json:"medium_count"`
56+
LowCount int `json:"low_count"`
57+
InfoCount int `json:"info_count"`
58+
TotalCount int `json:"total_count"`
59+
HighestSeverity ecrtypes.FindingSeverity `json:"highest_severity"`
6060
}
6161

6262
func (a *aggregater) SummarizeTotal() *AggregateResult {

0 commit comments

Comments
 (0)