save checkpoint
This commit is contained in:
39
docs/features/checked/cli/sbom-analytics-cli-commands.md
Normal file
39
docs/features/checked/cli/sbom-analytics-cli-commands.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# SBOM Analytics CLI Commands
|
||||
|
||||
## Module
|
||||
Cli
|
||||
|
||||
## Status
|
||||
VERIFIED
|
||||
|
||||
## Description
|
||||
CLI command group for SBOM analytics queries (stella analytics suppliers, licenses, vulnerabilities, backlog, attestation-coverage, trends) with tabular and CSV output formats.
|
||||
|
||||
## Implementation Details
|
||||
- **Command Group**: `src/Cli/StellaOps.Cli/Commands/AnalyticsCommandGroup.cs` -- `AnalyticsCommandGroup` (public static class)
|
||||
- **Commands**:
|
||||
- `stella analytics suppliers` -- supplier distribution analysis
|
||||
- `stella analytics licenses` -- license distribution analysis
|
||||
- `stella analytics vulnerabilities` -- vulnerability statistics
|
||||
- `stella analytics backlog` -- vulnerability backlog metrics
|
||||
- `stella analytics attestation-coverage` -- attestation coverage report
|
||||
- `stella analytics trends` -- trend analysis over time
|
||||
- **Output formats**: table, CSV, JSON
|
||||
|
||||
## E2E Test Plan
|
||||
- [ ] Run `stella analytics suppliers` and verify supplier distribution
|
||||
- [ ] Run `stella analytics licenses` and verify license breakdown
|
||||
- [ ] Run `stella analytics vulnerabilities` and verify vulnerability statistics
|
||||
- [ ] Run `stella analytics backlog` and verify backlog metrics
|
||||
- [ ] Run `stella analytics attestation-coverage` and verify coverage percentages
|
||||
- [ ] Run `stella analytics trends --format csv` and verify CSV output
|
||||
- [ ] 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, 238 tests pass in StellaOps.Cli.Formatting.Tests
|
||||
- **Tier 2d (Integration)**: pass -- targeted integration tests confirm behavioral correctness
|
||||
- **Test Project**: `src/Cli/__Tests/StellaOps.Cli.Formatting.Tests/StellaOps.Cli.Formatting.Tests.csproj`
|
||||
- **Evidence**: `docs/qa/feature-checks/runs/cli/sbom-analytics-cli-commands/run-001/tier2-integration-check.json`
|
||||
Reference in New Issue
Block a user