Files
git.stella-ops.org/docs/features/unchecked/cli/policy-history-cli.md

961 B

Policy History CLI

Module

Cli

Status

IMPLEMENTED

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 history and verify policy run history displayed
  • Run with --tenant <id> and verify tenant filtering
  • Run with --from 2024-01-01 --to 2024-12-31 and verify time range filtering
  • Run with --status failed and verify status filtering
  • Verify pagination with --limit and --offset
  • Verify --format json output