jms_audit_logs
Query JumpServer security audit logs to review executed shell commands, login events, terminal sessions, or admin changes by user, asset, date range, and search text.
Instructions
Query JumpServer security audit logs: executed shell commands ('commands'), user login events ('logins'), historical terminal sessions ('sessions'), or admin changes ('operations').
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "jms_audit_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Lookback window in days (default: 7) | |
| user | No | Filter by username | |
| asset | No | Filter by asset name | |
| limit | No | ||
| search | No | Search text (e.g. 'rm -rf', 'sudo', IP) | |
| log_type | No | commands |