40 lines
2.3 KiB
Markdown
40 lines
2.3 KiB
Markdown
# Evidence Pack Download and Verification
|
|
|
|
## Module
|
|
Cli
|
|
|
|
## Status
|
|
VERIFIED
|
|
|
|
## Description
|
|
Full evidence pack system with UI for browsing, exporting, and ribbon/thread views. CLI for bundle export and verification. Dedicated Evidence Locker module for evidence storage.
|
|
|
|
## Implementation Details
|
|
- **Bundle Export**: `src/Cli/StellaOps.Cli/Commands/BundleExportCommand.cs` -- `BuildExportBundleCommand()` for evidence bundle export
|
|
- **Bundle Verify**: `src/Cli/StellaOps.Cli/Commands/BundleVerifyCommand.cs` -- `BuildVerifyBundleEnhancedCommand()` for bundle verification
|
|
- **Bundle Command Group**: `src/Cli/StellaOps.Cli/Commands/BundleCommandGroup.cs` -- `stella bundle` commands
|
|
- **Pack Client**: `src/Cli/StellaOps.Cli/Services/PackClient.cs` / `IPackClient.cs` -- evidence pack API client
|
|
- **DevPortal Verifier**: `src/Cli/StellaOps.Cli/Services/DevPortalBundleVerifier.cs` / `IDevPortalBundleVerifier.cs`
|
|
- **Tests**: `src/Cli/__Tests/StellaOps.Cli.Tests/Commands/VerifyBundleCommandTests.cs`, `src/Cli/__Tests/StellaOps.Cli.Tests/Services/DevPortalBundleVerifierTests.cs`
|
|
- **Commands**:
|
|
- `stella bundle export <digest> --output <path>` -- export evidence bundle
|
|
- `stella bundle verify <path>` -- verify bundle integrity with manifest hash checking
|
|
- `stella evidence list-packs` -- list available evidence packs
|
|
|
|
## E2E Test Plan
|
|
- [ ] Run `stella bundle export sha256:abc123 --output ./bundle/` and verify bundle created
|
|
- [ ] Run `stella bundle verify ./bundle/` and verify integrity check passes
|
|
- [ ] Run `stella bundle verify` with tampered bundle and verify failure detected
|
|
- [ ] Run `stella evidence list-packs` and verify packs listed
|
|
- [ ] Verify bundle contains all evidence artifacts (verdict, policy, SBOM, attestations)
|
|
- [ ] Verify `--format json` output
|
|
|
|
## Verification
|
|
|
|
- **Verified**: 2026-02-13T15:30:00Z
|
|
- **Tier 0 (Source)**: pass -- all referenced source files exist on disk
|
|
- **Tier 1 (Build)**: pass -- module builds cleanly, 412 tests pass in StellaOps.Cli.Commands.Tests
|
|
- **Tier 2d (Integration)**: pass -- targeted integration tests confirm behavioral correctness
|
|
- **Test Project**: `src/Cli/__Tests/StellaOps.Cli.Commands.Tests/StellaOps.Cli.Commands.Tests.csproj`
|
|
- **Evidence**: `docs/qa/feature-checks/runs/cli/evidence-pack-download-and-verification/run-001/tier2-integration-check.json`
|