Sonarqube findings: violations.go
Fix the Sonarqube scan findings.
- 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.
UNCLASSIFIED - NO CUI
Currently supported Big Bang Version is 2.40.0
Fix the Sonarqube scan findings.
UNCLASSIFIED - NO CUI