Files
git.stella-ops.org/docs/features/unchecked/exportcenter/local-evidence-cache-with-deferred-enrichment-queue.md

1.6 KiB

Local Evidence Cache with Deferred Enrichment Queue

Module

ExportCenter

Status

IMPLEMENTED

Description

Disk-backed local evidence cache that stores scan artifacts (SBOM, VEX, reachability data) alongside findings with a deferred enrichment queue pattern for offline-first evidence collection and lazy hydration.

Implementation Details

  • Cache service interface: src/ExportCenter/StellaOps.ExportCenter/StellaOps.ExportCenter.Core/EvidenceCache/IEvidenceCacheService.cs -- evidence cache contract
  • Cache service implementation: src/ExportCenter/StellaOps.ExportCenter/StellaOps.ExportCenter.Core/EvidenceCache/LocalEvidenceCacheService.cs -- disk-backed local evidence cache with deferred enrichment queue
  • Cache models: src/ExportCenter/StellaOps.ExportCenter/StellaOps.ExportCenter.Core/EvidenceCache/CacheModels.cs -- cache entry models for SBOM, VEX, reachability data
  • Cache manifest: src/ExportCenter/StellaOps.ExportCenter/StellaOps.ExportCenter.Core/EvidenceCache/CacheManifest.cs -- cache manifest for inventory tracking
  • Tests: src/ExportCenter/StellaOps.ExportCenter/StellaOps.ExportCenter.Tests/EvidenceCache/LocalEvidenceCacheServiceTests.cs
  • Source: SPRINT_3605_0001_0001_local_evidence_cache.md

E2E Test Plan

  • Verify evidence cache stores SBOM, VEX, and reachability data to disk
  • Test deferred enrichment queue processes entries lazily
  • Verify cache manifest tracks all cached entries
  • Test offline-first behavior (cache works without network)
  • Verify cache eviction policy for disk space management