1.5 KiB
1.5 KiB
Policy History CLI
Module
Cli
Status
VERIFIED
Description
View policy run history with filtering by tenant, time range (from/to ISO-8601), status (completed/failed/running), pagination, and table/JSON output.
Implementation Details
- Command Group:
src/Cli/StellaOps.Cli/Commands/PolicyCommandGroup.cs-- policy history commands - Commands:
stella policy history-- view policy run history. Options:--tenant <id>,--from <ISO-8601>,--to <ISO-8601>,--status completed|failed|running,--limit,--offset,--format table|json
E2E Test Plan
- Run
stella policy historyand verify policy run history displayed - Run with
--tenant <id>and verify tenant filtering - Run with
--from 2024-01-01 --to 2024-12-31and verify time range filtering - Run with
--status failedand verify status filtering - Verify pagination with
--limitand--offset - Verify
--format jsonoutput
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/policy-history-cli/run-001/tier2-integration-check.json