up
Some checks failed
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Concelier Attestation Tests / attestation-tests (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
Export Center CI / export-ci (push) Has been cancelled
devportal-offline / build-offline (push) Has been cancelled

This commit is contained in:
StellaOps Bot
2025-12-03 00:10:19 +02:00
parent ea1d58a89b
commit 37cba83708
158 changed files with 147438 additions and 867 deletions

View File

@@ -0,0 +1,34 @@
# Vulnerability Explorer fixtures (SAMPLES-GRAPH-24-004)
Derives a small, deterministic explorer dataset from the canonical graph-40k fixture.
## Files
- `vuln-explorer.json` — 5 records covering mixed policy verdicts and reachability (reachable/unreachable alternation).
- `vuln-explorer.csv` — same data for CSV-driven UI/CLI tests; `evidence` is `;`-separated.
- `manifest.json` — SHA-256 hashes for both files.
## Source
- Built from `samples/graph/graph-40k/overlay.ndjson` (policy overlays) using `samples/graph/scripts/build_explorer_fixture.py`.
- Tenant: `demo-tenant`; snapshot: `graph-40k-policy-overlay-20251122`.
## Determinism
- Fixed advisory list and order.
- Overlay rows sorted by `overlay_id`; first 5 overlays selected.
- No randomness; rerunning `build_explorer_fixture.py` produces identical hashes.
## Verify
```bash
python samples/graph/scripts/build_explorer_fixture.py
python - <<'PY'
import json,hashlib,Pathlib
from pathlib import Path
base=Path("samples/graph/graph-40k/explorer")
for name in ["vuln-explorer.json","vuln-explorer.csv"]:
h=hashlib.sha256((base/name).read_bytes()).hexdigest()
print(name, h)
PY
```
## Consumption hints
- UI: seed list/detail views and policy conflict badges (fields: `reachability`, `policy_verdict`, `conflict`).
- CLI: pipe JSON into explorer tests or convert from CSV as needed.