Security

JumpServer

Try it

Use for JumpServer V4 preflight, `.env.local` initialization, org selection, and read-only asset, permission, audit, and access queries through the bundled `...

What it does

Use for JumpServer V4 preflight, `.env.local` initialization, org selection, and read-only asset, permission, audit, and access queries through the bundled `...

The skill document

JumpServer Skills

JumpServer 查询型 skill:允许环境初始化写入(.env.localJMS_ORG_ID),但不执行业务对象或权限的创建、更新、删除、追加或移除。

Input / Output / 输入输出

类型常见输入返回
环境初始化JMS_API_URL、鉴权信息、可选 org-id配置完整性、.env.local 写入结果、连通性、组织写入结果
对象查询resourceidnamefilters列表、详情、解析结果
权限与审计filtersaudit-type、时间范围、command_storage_id权限详情、审计详情、最近活动
访问分析username、可选 asset-name用户可访问资产/节点、单资产访问视图

Route / 路由流程

config-status --json
  -> complete=false ? collect env info -> config-write --confirm
  -> ping
  -> org missing/inaccessible ? select-org [--org-id] -> select-org --confirm
  -> read-only query
  • 仅当可访问组织集合恰好是 {0002}{0002,0004} 时,才允许自动写入 0002

Capability Matrix / 能力矩阵

IntentMust UsePrecheckOutputStop If
初始化环境jms_diagnose.py config-status/config-write/ping/select-org配置状态、.env.local 写入结果、连通性、组织持久化结果地址或鉴权缺失、地址不可达、组织不可访问
查资产与对象jms_assets.py list/getjms_diagnose.py resolve/resolve-platformconfig-status --json -> 必要时 config-write --confirm -> ping -> 必要时 select-org --confirm资产类列表、详情、对象解析结果名称不唯一、对象不清楚、组织未准备好
查权限规则jms_permissions.py list/getconfig-status --json -> 必要时 config-write --confirm -> ping -> 必要时 select-org --confirm权限列表、权限详情组织未准备好
查审计记录jms_audit.py list/getconfig-status --json -> 必要时 config-write --confirm -> ping -> 必要时 select-org --confirm登录、操作、会话、命令审计audit-type=commandcommand_storage_id
做访问分析jms_diagnose.py user-assets/user-nodes/user-asset-access/recent-auditconfig-status --json -> 必要时 config-write --confirm -> ping -> 必要时 select-org --confirm用户可访问资产/节点、单资产访问、最近审计用户不存在、候选过多、组织未准备好

Core Rules / 核心规则

RuleRequired Behavior
预检顺序config-status --json -> config-write --confirm(如需) -> ping -> select-org --confirm(如需) -> read-only query
环境写入允许通过 config-write --confirm 生成或更新 .env.local
组织写入允许通过 select-org --confirm 持久化 JMS_ORG_ID
保留组织特判可访问组织集合仅在 {0002}{0002,0004} 时才自动写入 0002
范围边界把这个 skill 当作查询型 skill,而不是通用运维执行器
审计默认窗口date_from/date_to 省略时默认最近 7 天
命令审计audit-type=command 时必须提供 command_storage_id
非支持动作遇到 create/update/delete/append/remove/unblock 时直接说明“业务动作只保留查询”

Canonical Commands / 命令骨架

配置检查与写入:

python3 scripts/jms_diagnose.py config-status --json
python3 scripts/jms_diagnose.py config-write --payload '{"JMS_API_URL":"https://jump.example.com","JMS_ACCESS_KEY_ID":"","JMS_ACCESS_KEY_SECRET":"","JMS_VERSION":"4"}' --confirm
python3 scripts/jms_diagnose.py ping

组织选择:

python3 scripts/jms_diagnose.py select-org
python3 scripts/jms_diagnose.py select-org --org-id 
python3 scripts/jms_diagnose.py select-org --org-id  --confirm

对象查询:

python3 scripts/jms_assets.py list --resource user --filters '{"username":"openclaw"}'
python3 scripts/jms_assets.py get --resource asset --id 
python3 scripts/jms_diagnose.py resolve --resource node --name demo-node
python3 scripts/jms_diagnose.py resolve-platform --value Linux

权限与审计查询:

python3 scripts/jms_permissions.py list --filters '{"limit":20}'
python3 scripts/jms_permissions.py get --id 
python3 scripts/jms_audit.py list --audit-type operate --filters '{"limit":30}'
python3 scripts/jms_audit.py get --audit-type command --id  --filters '{"command_storage_id":""}'

Success Criteria / 成功标准

  • 先完成或明确阻塞在 config-status -> ping -> select-org 预检链路上,不跳步。
  • 配置缺失时,能按字段收集用户回复并在确认后调用 config-write --confirm
  • 组织缺失时,能先返回候选组织,再在确认后调用 select-org --confirm
  • 查询请求走正式 jms_*.py 入口,返回结果或明确说明阻塞原因。
  • 对业务写操作直接拒绝,不绕过正式入口另写临时 SDK/HTTP 脚本。

Not For / 不适用

  • 不适用于资产、平台、节点、账号、用户、用户组、组织、权限的创建、更新、删除。
  • 不适用于追加关系、移除关系、解锁用户、改密、批量修改。
  • 不适用于临时 SDK/HTTP 脚本绕过正式入口。

Related skills

JumpServer (jumpserver.org). Use this skill for ANY JumpServer request — searching and reading data. Whenever a task involves JumpServer, use this skill instead of calling the API directly.

1 installs

JumpServer V4.10 查询与分析 skill。Use when users ask to query assets/accounts/users/organizations/permissions, inspect access or governance, audit logins/sessions...

17 installs

JumpCloud (jumpcloud.com). Use this skill for ANY JumpCloud request — searching and reading data. Whenever a task involves JumpCloud, use this skill instead...

Run and interpret a read-only OpenClaw security preflight on an authorized Linux VPS. Use when an operator asks to audit gateway exposure, authentication, RP...

1 installs

Jumpseller (jumpseller.com). Use this skill for ANY Jumpseller request — reading, creating, and updating data. Whenever a task involves Jumpseller, use this skill instead of calling the API directly.

Manage and automate coding tasks with Jules, Google's autonomous AI coding agent CLI. Use when delegating repository tasks, tracking remote sessions, reviewing/applying patches, or using teleport.

2 installs