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.42.0
ATTENTION: Immediate action is required to maintain compatibility with P1 services. Please visit https://p1notifications.dso.mil and see the "DSO.MIL Certificates Renewal" announcement under the "Notifications" section for more details.
Fix the Sonarqube scan findings.
UNCLASSIFIED - NO CUI