What problem does it solve?
Managing a JumpServer bastion host through the web UI or raw REST API calls is slow and hard to automate, especially for AI agents that need structured, scriptable access to assets, users, permissions, and audit logs.
Core Features & Use Cases
- Full Bastion Management: Authenticate, then manage assets, nodes, platforms, gateways, users, user groups, asset permissions, accounts, and labels through one CLI.
- Session & Audit Operations: List and kill terminal sessions, retrieve replays and command history, and review login, operation, FTP, and password audit logs.
- Agent-Friendly Design: Every command supports JSON/YAML output, dry-run previews for mutations, and an interactive REPL mode for stateful workflows.
- Use Case: An AI agent auditing security can run
session list --active --output json to find live sessions, check audit login for failed attempts, and kill suspicious sessions, all without human intervention.
Quick Start
Ask the agent to log in to your JumpServer instance with your URL and credentials, then list all host assets in JSON format.