Viewing Violations
Master the AIVory Dashboard’s powerful violation analysis and filtering capabilities.
- Violations Page - View all detected issues with severity, status, and details
- Smart Filtering - Filter by severity, standard, status, or project
- Compliance Scores - Track your 0-100 rating across all standards
- Trend Analysis - Identify hotspots and monitor violation velocity
Violations Page
Access: Dashboard → Violations
The violations page provides a comprehensive view of all compliance issues detected across your projects.
Violation List Columns
The table displays all violations with these columns:
| Column | Description |
|---|---|
| Severity | Critical, Major, Minor, Info (color-coded) |
| Standard | Which compliance standard triggered this |
| Rule | Specific rule violated (e.g., OWASP-A03-001) |
| File | File path and line number |
| Description | What the violation is |
| Status | Open, In Progress, Resolved, Suppressed |
| Introduced | When first detected |
| Assigned To | Team member responsible (team plans) |
Violation Detail Panels
When you click a violation, you’ll see four detail sections:
Overview
- Full description of the violation
- Which compliance standard and rule
- Severity level and why it matters
- Code snippet showing the issue
Context
- File path and line number
- Surrounding code for context
- Link to file in connected VCS
Remediation
- Suggested fixes
- Code examples of correct implementation
- Links to compliance documentation
History
- When first detected
- Previous status changes
- Who made changes
- Resolution notes
Filtering Violations
Find specific violations quickly with powerful filtering options.
Severity Filter Details
Filter buttons at top of the violations list:
| Severity | Color | Use Case |
|---|---|---|
| Critical | Red | Security vulnerabilities requiring immediate attention |
| Major | Yellow | Compliance violations that need resolution |
| Minor | Blue | Best practice issues for code quality |
| Info | Gray | Suggestions and recommendations |
Click any button to toggle that severity level on or off.
Compliance Standard Filter
Use the dropdown menu to filter by standard:
- All Standards - Show everything
- OWASP Top 10 - Security issues only
- GDPR - Privacy violations only
- HIPAA - Healthcare compliance only
- PCI-DSS - Payment security only
- SOC 2 - Service controls only
- ISO 27001 - InfoSec management only
Status Filter Options
Filter by violation state:
| Status | Description |
|---|---|
| Open | Not yet addressed |
| In Progress | Being worked on |
| Resolved | Fixed and verified |
| Suppressed | Intentionally ignored |
Compliance Score Tracking
Monitor your overall compliance health with the scoring system.
Score Calculation Formula
Your compliance score is calculated using this formula:
The formula normalizes violations against codebase size for fair comparison across projects.
Score by Standard Example
See compliance score for each standard individually:
| Standard | Score | Status |
|---|---|---|
| OWASP | 85/100 | Passing |
| GDPR | 72/100 | Needs attention |
| HIPAA | 90/100 | Passing |
| PCI-DSS | 65/100 | Needs attention |
This breakdown helps identify which standards need the most attention.
Score History Views
The score history chart supports multiple time ranges:
- Daily - Last 30 days of scores
- Weekly - Last 3 months aggregated by week
- Monthly - Last year aggregated by month
Use these views to track long-term compliance improvement trends.
Violation Trends
Identify patterns and prioritize remediation efforts with trend analysis.
Trending Violations Example
The trending violations panel shows your most common issues:
- SQL Injection (OWASP-A03-001) - 45 occurrences
- Hardcoded Credentials (OWASP-A02-005) - 32 occurrences
- PII in Logs (GDPR-001) - 28 occurrences
Focus remediation efforts on these high-frequency violations for maximum impact.
Violation Velocity Metrics
Track your violation rate over time:
| Metric | Example Value |
|---|---|
| Introduced This Week | 12 new violations |
| Resolved This Week | 18 violations fixed |
| Net Change | -6 (improving!) |
A negative net change indicates your team is resolving more violations than are being introduced.
Hotspot Files Analysis
Files with the most violations warrant attention:
- UserService.java - 15 violations
- DatabaseConnection.java - 12 violations
- AuthController.js - 10 violations
Consider these files as candidates for refactoring or code review sessions.