UNCLASSIFIED - NO CUI

Sonarqube findings: violations.go

Fix the Sonarqube scan findings.

  1. Refactor listAuditViolations method to reduce its Cognitive Complexity from 25 to the 15 allowed. Too many loops and if statements. Create helper functions to fix.