Skip to content

Commit

Permalink
rm top wls from summary
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Grunberger <[email protected]>
  • Loading branch information
Daniel Grunberger committed Aug 20, 2023
1 parent c795148 commit 4ecd430
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions reporthandling/results/v1/reportsummary/datastructures.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,14 @@ type ControlSummaries map[string]ControlSummary

// SummaryDetails detailed summary of the scanning. will contain versions, counters, etc.
type SummaryDetails struct {
Controls ControlSummaries `json:"controls,omitempty"`
Status apis.ScanningStatus `json:"status"`
Frameworks []FrameworkSummary `json:"frameworks"`
ResourcesSeverityCounters SeverityCounters `json:"resourcesSeverityCounters,omitempty"`
ControlsSeverityCounters SeverityCounters `json:"controlsSeverityCounters,omitempty"`
StatusCounters StatusCounters `json:"ResourceCounters"` // Backward compatibility
Score float32 `json:"score"`
ComplianceScore float32 `json:"complianceScore"`
TopWorkloadsByScore []reporthandling.IResource `json:"-"`
Controls ControlSummaries `json:"controls,omitempty"`
Status apis.ScanningStatus `json:"status"`
Frameworks []FrameworkSummary `json:"frameworks"`
ResourcesSeverityCounters SeverityCounters `json:"resourcesSeverityCounters,omitempty"`
ControlsSeverityCounters SeverityCounters `json:"controlsSeverityCounters,omitempty"`
StatusCounters StatusCounters `json:"ResourceCounters"` // Backward compatibility
Score float32 `json:"score"`
ComplianceScore float32 `json:"complianceScore"`
}

// FrameworkSummary summary of scanning from a single framework perspective
Expand Down

0 comments on commit 4ecd430

Please sign in to comment.