ac5c17c66d
- Add /settings route with SettingsLive view - Settings stored in localStorage via Settings JS hook - Accent colors (stat card borders, integrity glow, row hover) gated behind body[data-accents] CSS attribute - Add data-accent attr to stat_card component (replaces inline border classes with CSS-driven theming) - Add Settings nav item to sidebar bottom section - FOUC prevention: inline script in root layout applies saved preference before first paint
Security Tool Sample Outputs
Production-grade sample security scan reports for testing the ingestion pipeline.
Files
| File | Tool | Format | Expected Findings |
|---|---|---|---|
trivy.json |
Trivy v2 | JSON | ~20 (container image scan) |
sarif.json |
Semgrep | SARIF v2.1.0 | ~15 (Python Flask SAST) |
cyclonedx.json |
CycloneDX | JSON v1.5 | ~12 (Node.js SCA) |
grype.json |
Grype | JSON | ~12 (container image scan) |
snyk.json |
Snyk | JSON | ~10 (npm SCA) |
checkov.sarif.json |
Checkov | SARIF v2.1.0 | ~8 (Terraform IaC) |
gitleaks.sarif.json |
Gitleaks | SARIF v2.1.0 | ~5 (secret detection) |
spdx.json |
SPDX | JSON v2.3 | 0 (BOM only, no vulns) |
Usage
Upload via /scans or test directly:
mix run -e '
raw = File.read!("samples/trivy.json")
data = Jason.decode!(raw)
{tool, format} = SecDashboard.Ingestion.Detector.detect(data)
IO.inspect({tool, format})
'