Guard

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
Table view of all violations with sorting and pagination
Code Context
See the exact code snippet causing each issue
Remediation
Get fix suggestions and correct implementation examples
History
Track status changes and resolution notes over time
Note Click any violation row to expand the full details panel with code context, remediation guidance, and history.
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.

By Severity
Toggle Critical, Major, Minor, and Info levels
By Standard
Filter to specific compliance frameworks
By Status
Show Open, In Progress, Resolved, or Suppressed
By Project
Focus on a single project or compare across all
Note Filter selections persist across sessions, so your preferred view is always ready when you return.
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.

Overall Score
Your 0-100 compliance rating with trend indicators
Score Calculation
Weighted formula based on violation severity
Score by Standard
Individual ratings for each compliance framework
Score History
Visualize your compliance journey over time
Note A score above 80 indicates good compliance health. Aim to keep critical and major violations at zero.
Score Calculation Formula

Your compliance score is calculated using this formula:

S W - - - - c e o i C M M I r g r a i n e h i j n f t t o o o = s i r r : : c : : 1 a 0 0 l 5 2 . 0 : 5 p p - 1 o o p 0 i i o ( n n i w p t t n e o s s t i i s g n h t t s e d _ v i o l a t i o n s / t o t a l _ l i n e s _ o f _ c o d e 1 0 0 0 )

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.


Identify patterns and prioritize remediation efforts with trend analysis.

Trending Violations
Most common issues across your codebase
Violation Velocity
Track new vs resolved violations over time
Hotspot Files
Files with the highest violation counts
Resolution Rate
Monitor your team’s fix velocity
Warning Files appearing repeatedly in hotspots may indicate architectural issues requiring refactoring rather than individual fixes.
Trending Violations Example

The trending violations panel shows your most common issues:

  1. SQL Injection (OWASP-A03-001) - 45 occurrences
  2. Hardcoded Credentials (OWASP-A02-005) - 32 occurrences
  3. 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:

  1. UserService.java - 15 violations
  2. DatabaseConnection.java - 12 violations
  3. AuthController.js - 10 violations

Consider these files as candidates for refactoring or code review sessions.


Next Steps