// Governance & Compliance — posture, policy engine, retention/MDM, DPDP consent. const COMPLIANCE = [ { std: "ISO 27001", score: 98, status: "Certified", audit: "Jun 12, 2026" }, { std: "SOC 2 Type II", score: 96, status: "Attested", audit: "May 30, 2026" }, { std: "DPDP (India)", score: 94, status: "Compliant", audit: "Jul 01, 2026" }, { std: "GDPR", score: 92, status: "Compliant", audit: "Apr 18, 2026" }, { std: "HIPAA", score: 90, status: "Compliant", audit: "Mar 22, 2026" }, ]; const POLICIES = [ { name: "PII Dynamic Masking", scope: "gst_no · pan · aadhaar_ref", type: "Masking", enf: "Query-time", status: "Active", hits: "2.4M/day" }, { name: "Data Retention — Audit", scope: "audit_log (WORM)", type: "Retention", enf: "7 years", status: "Active", hits: "—" }, { name: "Row-Level Security", scope: "state analysts → own state", type: "RLS", enf: "Enforced", status: "Active", hits: "18.6K/day" }, { name: "Encryption at Rest", scope: "all PII datasets", type: "Encryption", enf: "AES-256", status: "Active", hits: "—" }, { name: "Right to Erasure", scope: "citizen scheme data", type: "DPDP", enf: "Auto-workflow", status: "Active", hits: "142/mo" }, { name: "Access Recertification", scope: "all privileged roles", type: "Review", enf: "Quarterly", status: "Due · 8d", hits: "—" }, ]; const FINDINGS = [ { sev: "medium", t: "12 stale service accounts not rotated in 90d", owner: "Platform Sec", age: "4d" }, { sev: "medium", t: "tender_bids_raw missing PII classification tag", owner: "Data Gov.", age: "1d" }, { sev: "low", t: "3 dashboards shared with expired external links", owner: "Workspace", age: "6d" }, { sev: "low", t: "Legacy Oracle uses TLS 1.1 — upgrade pending", owner: "Platform", age: "9d" }, ]; function Ring({ value, size = 58, color }) { const r = size / 2 - 5, c = 2 * Math.PI * r; const col = color || (value >= 95 ? "var(--ok)" : value >= 90 ? "var(--primary)" : "var(--accent-2)"); return ( ); } function GovernanceScreen() { return (
| Policy | Scope | Type | Enforcement | Status |
|---|---|---|---|---|
{p.hits !== '—' ? p.hits : ''} |
{p.scope} | {p.type} | {p.enf} | {p.status} |