Skip to main content
由 Techstack v0.32.8 版本生成(源码 4c7d219a5d56)。对于已安装的版本,请以 techstack api <command> --help 为准。

techstack api discovery cache clear

清除发现缓存(仅限管理员)。
需要确认:此操作会丢弃所有已缓存的发现结果;下一次发现会重新扫描网络。传入 --yes 或回答提示;未使用 --yes 的非交互式运行会在发出任何请求之前以退出码 9 停止。

techstack api discovery devices get

获取调用方拥有的已发现设备。

techstack api discovery devices list

列出调用方拥有的已发现设备。 只返回由经过认证的调用方所拥有的扫描产生的设备。

techstack api discovery devices probe

深度探测调用方拥有的设备。 非管理员调用方只能探测自己发现结果中的 IP;管理员可以探测任意 IP。

techstack api discovery networks

获取本地网络接口。

techstack api discovery scans cancel

取消正在运行的扫描。

techstack api discovery scans enrich

用附加数据丰富扫描结果。

techstack api discovery scans get

获取扫描状态和结果。

techstack api discovery scans start

启动网络扫描(异步)。

techstack api discovery stats

获取发现统计信息(仅限管理员)。

techstack api discovery test-ssh

测试到设备的 SSH 连通性。 非管理员调用方只能测试自己发现结果中的 IP;管理员可以测试任意 IP。