Skip to content

ChainShield — Simulated demo data and data model (data.js) #133

Description

@TFT444

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

  • Minimum 10 incidents across at least 5 suppliers
  • Mix of all incident types and severity levels
  • Supplier names are realistic UK/EU logistics/wholesale companies
  • No placeholder text

Part of

Epic #117 — Phase 2 ChainShield
Depends on: #132 (frontend module scaffold)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions