Compliance Scanning
How BarGuard's AI scanning pipeline works.
Compliance Scanning
BarGuard uses AI to analyze your web pages against state bar advertising rules. Here's how the scanning process works.
How a scan runs
When you trigger a scan (manually or via schedule), BarGuard follows these steps:
- Scrape — Your page content is fetched with full JavaScript rendering to capture dynamically loaded content
- Change detection — The page content is compared against previous scans. If nothing has changed, the scan skips re-analysis (saving credits and time)
- AI Analysis — Changed pages are sent to the AI engine along with the applicable bar advertising rules for each jurisdiction
- Violation detection — The AI identifies potential violations, assigning each a type, severity, evidence quote, rule citation, and remediation guidance
- Scoring — A compliance score (0-100) is calculated based on the violations found
- Reporting — Results are saved and a shareable report is generated

Verification mode
For pages that have been scanned before, BarGuard uses a special verification mode that:
- Checks whether previously detected violations are still present or have been fixed
- Identifies genuinely new violations
- Tracks occurrence count — how many consecutive scans a violation has persisted
- Automatically marks fixed violations as auto-resolved
- Detects regressions — when a previously resolved violation reappears
Triggering scans
| Method | Description |
|---|---|
| Scan Now button | Run a scan immediately from the dashboard or pages view |
| Scheduled scans | Automatic daily, weekly, or monthly scans |
| On add | Optionally scan a URL immediately when adding it |
Credit consumption
Each scan consumes credits based on the number of URLs multiplied by the number of jurisdictions:
Credits used = URLs scanned x jurisdictions per URL
For example, scanning 5 pages against 2 jurisdictions each uses 10 credits.
Violation types
| Type | Description |
|---|---|
| Missing disclosure | Required information not present on the page |
| Prohibited content | Content that violates bar advertising rules |
| Misleading claim | Statements that could mislead potential clients |
| Missing disclaimer | Required disclaimers not displayed |
| Fee misrepresentation | Inaccurate or misleading fee information |
| Custom rule violation | Violation of a firm-defined custom rule |
Severity levels
Violations are classified into four severity levels:
- Critical — Serious violations requiring immediate attention
- High — Important issues that should be addressed promptly
- Medium — Moderate concerns to resolve during regular review
- Low — Minor suggestions for improving compliance