1.4 KiB
1.4 KiB
CLI Slice Management Commands
Module
Cli
Status
IMPLEMENTED
Description
CLI commands for reachability slice lifecycle: query by CVE/symbol, verify DSSE signature with replay, export to offline bundle (OCI layout tar.gz), and import from bundle with integrity verification.
Implementation Details
- Command Group:
src/Cli/StellaOps.Cli/Commands/Slice/-- slice management commands - Commands:
stella slice query --cve <cve>-- query slices by CVEstella slice query --symbol <symbol>-- query slices by symbolstella slice verify <slice-id>-- verify DSSE signature and replay integritystella slice export <slice-id> --output <path>-- export to OCI layout tar.gz offline bundlestella slice import <bundle-path>-- import from bundle with integrity verification
- OCI Integration: Exports use OCI layout format for registry compatibility
E2E Test Plan
- Run
stella slice query --cve CVE-2024-1234and verify matching slices returned - Run
stella slice query --symbol "org.example.Class.method"and verify symbol-based query - Run
stella slice verify <id>and verify DSSE signature validation - Run
stella slice export <id> --output ./slice-bundle.tar.gzand verify OCI layout tar.gz - Run
stella slice import ./slice-bundle.tar.gzand verify import with integrity check - Verify import fails for tampered bundles
- Verify deterministic replay after import matches original