Skip to main content

hackagent.interfaces.cli.commands.results

Results Commands

View and manage attack results.

results​

@click.group()
def results()

📊 View and manage attack results

show​

@results.command()
@click.argument("result_id")
@click.pass_context
@handle_errors
def show(ctx, result_id)

Show detailed information about a specific result

summary​

@results.command()
@click.option(
"--status",
type=click.Choice(["pending", "running", "completed", "failed"]),
help="Filter by status",
)
@click.option("--agent", help="Filter by agent name")
@click.option("--attack-type", help="Filter by attack type")
@click.option("--days",
default=7,
help="Number of days to include (default: 7)")
@click.pass_context
@handle_errors
def summary(ctx, status, agent, attack_type, days)

Show summary statistics of attack results