Overview
Add CHAINSHIELD_DATA export to frontend/src/lib/data.js — realistic fixed dataset for the ChainShield module in demo mode.
Data shape
export const CHAINSHIELD_DATA = {
summary: {
activeIncidents: Number,
highRiskSuppliers: Number,
shipmentsFlagged: Number,
totalExposure: String, // e.g. "£34,800"
},
suppliers: [
{ id, name, riskScore, country, lastIncident, status, category }
],
incidents: [
{
id, // CS-001 …
type, // "Supplier Compromise" | "Logistics Diversion" | "Credential Abuse" | "Data Exfiltration"
supplier,
severity,
status,
timestamp,
valueAtRisk,
description,
remediation,
}
]
}
Acceptance criteria
Part of
Epic #117 — Phase 2 ChainShield
Depends on: #132 (frontend module scaffold)
Overview
Add
CHAINSHIELD_DATAexport tofrontend/src/lib/data.js— realistic fixed dataset for the ChainShield module in demo mode.Data shape
Acceptance criteria
Part of
Epic #117 — Phase 2 ChainShield
Depends on: #132 (frontend module scaffold)