Controls
44+ controls in 9 domains
Evidence
{evidence?.length ?? 0} documents uploaded
Risk Register
{risks?.length ?? 0} risks tracked
'use client'; import { useControls } from '@breakpilot/compliance-sdk-react'; import Link from 'next/link'; import { ArrowLeft, CheckCircle, Shield, FileCheck, AlertTriangle, Target, BarChart3, FileText, Download, } from 'lucide-react'; export default function CompliancePage() { const { controls, evidence, risks, isLoading } = useControls(); const domains = [ { id: 'access', name: 'Access Control', count: 5 }, { id: 'data', name: 'Data Protection', count: 6 }, { id: 'network', name: 'Network Security', count: 4 }, { id: 'incident', name: 'Incident Response', count: 5 }, { id: 'business', name: 'Business Continuity', count: 4 }, { id: 'vendor', name: 'Vendor Management', count: 4 }, { id: 'training', name: 'Security Training', count: 4 }, { id: 'physical', name: 'Physical Security', count: 6 }, { id: 'governance', name: 'Governance', count: 6 }, ]; const controlStats = { total: controls?.length ?? 44, implemented: controls?.filter((c) => c.implementationStatus === 'IMPLEMENTED').length ?? 32, inProgress: controls?.filter((c) => c.implementationStatus === 'IN_PROGRESS').length ?? 8, notImplemented: controls?.filter((c) => c.implementationStatus === 'NOT_IMPLEMENTED') .length ?? 4, }; const implementationRate = Math.round( (controlStats.implemented / controlStats.total) * 100 ); return (
Controls, Evidence & Obligations
44+ controls in 9 domains
{evidence?.length ?? 0} documents uploaded
{risks?.length ?? 0} risks tracked