semi implemented and features implemented save checkpoint

This commit is contained in:
master
2026-02-08 18:00:49 +02:00
parent 04360dff63
commit 1bf6bbf395
20895 changed files with 716795 additions and 64 deletions

View File

@@ -0,0 +1,26 @@
# Offline SBOM Verification CLI
## Module
Cli
## Status
IMPLEMENTED
## Description
CLI command `stella sbom verify` for offline SBOM verification including signature validation, canonical hash recomputation, and format compliance checks for CycloneDX/SPDX documents without network connectivity.
## Implementation Details
- **Command Group**: `src/Cli/StellaOps.Cli/Commands/SbomCommandGroup.cs` -- `SbomCommandGroup` for `stella sbom` commands
- **SBOM Client**: `src/Cli/StellaOps.Cli/Services/SbomClient.cs` / `ISbomClient.cs` -- SBOM operations
- **SBOMer Client**: `src/Cli/StellaOps.Cli/Services/SbomerClient.cs` / `ISbomerClient.cs` -- SBOM generation client
- **Tests**: `src/Cli/__Tests/StellaOps.Cli.Tests/SbomCommandTests.cs`, `src/Cli/__Tests/StellaOps.Cli.Tests/Integration/SbomCanonicalVerifyIntegrationTests.cs`, `SbomVerifyIntegrationTests.cs`
- **Commands**:
- `stella sbom verify <file>` -- verify SBOM offline. Options: `--format cdx|spdx`, `--check-signature`, `--recompute-hash`
## E2E Test Plan
- [ ] Run `stella sbom verify ./sbom.cdx.json` and verify CycloneDX compliance check
- [ ] Run `stella sbom verify ./sbom.spdx.json` and verify SPDX compliance check
- [ ] Run with `--check-signature` and verify SBOM signature validation
- [ ] Run with `--recompute-hash` and verify canonical hash matches
- [ ] Verify offline operation (no network required)
- [ ] Verify invalid SBOM produces clear error with specific violations