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 @@
# SBOM Deterministic Generation CLI
## Module
Cli
## Status
IMPLEMENTED
## Description
Deterministic SBOM generation from container images or directories in CycloneDX, SPDX, or both formats. Includes hash computation and verification for SBOM determinism validation.
## Implementation Details
- **Command Group**: `src/Cli/StellaOps.Cli/Commands/SbomCommandGroup.cs` -- SBOM generation commands
- **SBOM Client**: `src/Cli/StellaOps.Cli/Services/SbomClient.cs` / `ISbomClient.cs`
- **SBOMer Client**: `src/Cli/StellaOps.Cli/Services/SbomerClient.cs` / `ISbomerClient.cs`
- **Commands**:
- `stella sbom generate <image|dir>` -- generate deterministic SBOM. Options: `--format cdx|spdx|both`, `--output <path>`, `--verify-determinism`
- **Determinism**: Same input produces byte-identical SBOM output
## E2E Test Plan
- [ ] Run `stella sbom generate myregistry/app:v1.0 --format cdx` and verify CycloneDX SBOM
- [ ] Run with `--format spdx` and verify SPDX SBOM
- [ ] Run with `--format both` and verify both formats generated
- [ ] Run with `--verify-determinism` and verify hash matches across runs
- [ ] Verify deterministic output (same image produces identical SBOM)
- [ ] Verify directory-based SBOM generation