Get violations grouped by account or entity with aggregated metrics
CRITICAL, HIGH, MEDIUMtotal_amount may require investigation.
total_cases and compliance_score to display scan-level metrics.
max_severity is determined using this hierarchy:
top_rule corresponds to the most severe violation for that account.
cases array includes all accounts (even those with only false positives)total_cases excludes accounts with only false positivestotal_violations excludes false positive violations