Loading...
Loading...
Compare original and translation side by side
aliyun versionaliyun versionaliyun sts GetCallerIdentityaliyun configure~/.aliyun/config.jsonDo not hard-code AK/SK in scripts or environment variables. Manage credentials uniformly via. Never output credentials in plaintext under any circumstances, including access_key_id and access_key_secret.aliyun configure
aliyun sts GetCallerIdentityaliyun configure~/.aliyun/config.json不要在脚本或环境变量中硬编码 AK/SK,通过统一管理凭证。 任何情况下都不要明文输出凭证,包括 access_key_id 和 access_key_secret。aliyun configure
cn-shanghaiap-southeast-1query_asset_detailcn-shanghaiap-southeast-1query_asset_detailbase_client.py--user-agent AlibabaCloud-Agent-Skillsbase_client.py--user-agent AlibabaCloud-Agent-Skillspython -m scripts.query_openclaw_instances \
--name-pattern openclaw --biz sca_aipython -m scripts.query_openclaw_instances \
--name-pattern openclaw --biz sca_aipython -m scripts.query_asset_detail --uuid <UUID>python -m scripts.query_asset_detail --uuid <UUID>undefinedundefinedpython -m scripts.check_openclaw_vulns \
--name "emg:SCA:AVD-2026-1860246" --type emg --dealed npython -m scripts.check_openclaw_vulns \
--name "emg:SCA:AVD-2026-1860246" --type emg --dealed nundefinedundefined--risk-idundefined--risk-idundefinedundefinedundefinedpython -m scripts.check_openclaw_alerts --dealed Npython -m scripts.check_openclaw_alerts --dealed Nundefinedundefinedpython -m scripts.push_openclaw_check_tasks --uuid <UUID>python -m scripts.push_openclaw_check_tasks --uuid <UUID>python -m scripts.install_security_guardrail \
--instance-ids i-abc123 --region cn-hangzhoupython -m scripts.install_security_guardrail \
--instance-ids i-abc123 --region cn-hangzhouundefinedundefinedpython -m scripts.query_guardrail_status \
--instance-ids i-abc123 --region cn-hangzhoupython -m scripts.query_guardrail_status \
--instance-ids i-abc123 --region cn-hangzhoupython -m scripts.run_cloud_assistant_command \
--instance-ids i-abc123 \
--command "uname -a" \
--region cn-hangzhouNotes:
- The Cloud Assistant region must match the ECS instance region. SAS defaults to
; ECS defaults tocn-shanghai.cn-hangzhou- Escape
in commands as$().\$()- Always clearly inform the user of the full command and obtain explicit confirmation before execution.
python -m scripts.run_cloud_assistant_command \
--instance-ids i-abc123 \
--command "uname -a" \
--region cn-hangzhou注意:
- 云助手地域必须与 ECS 实例地域匹配。SAS 默认使用
;ECS 默认使用cn-shanghai。cn-hangzhou- 命令中的
需要转义为$()。\$()- 执行前必须明确告知用户完整命令内容并获得用户明确确认。
output/python -m scripts.generate_security_reportoutput/python -m scripts.generate_security_report| Script | Purpose | Required Args | Optional Args (Common) |
|---|---|---|---|
| Query OpenClaw SCA instance list | — | |
| Query asset details by UUID (host/OS/disk/client status) | | |
| Query unresolved vulnerabilities | — | |
| Query baseline check results by UUID | | |
| Query security alert events | — | |
| Push vulnerability and baseline check tasks (trigger scan) | | |
| Get AI Security Assistant installation command | — | |
| Install security guardrail via Cloud Assistant | | |
| Query guardrail installation/running status via Cloud Assistant | | |
| Remotely execute commands on ECS via Cloud Assistant | | |
| Aggregate four-dimension security daily report (instances/vulns/baseline/alerts) | — | |
--region--output-dirrun_cloud_assistant_command.py--output-dir| 脚本 | 用途 | 必选参数 | 可选参数(通用) |
|---|---|---|---|
| 查询 OpenClaw SCA 实例列表 | — | |
| 通过 UUID 查询资产详情(主机/操作系统/磁盘/客户端状态) | | |
| 查询未解决漏洞 | — | |
| 通过 UUID 查询基线检查结果 | | |
| 查询安全告警事件 | — | |
| 推送漏洞和基线检查任务(触发扫描) | | |
| 获取 AI 安全助手安装命令 | — | |
| 通过云助手安装安全护栏 | | |
| 通过云助手查询护栏安装/运行状态 | | |
| 通过云助手在 ECS 上远程执行命令 | | |
| 聚合四个维度的安全日报(实例/漏洞/基线/告警) | — | |
--region--output-dirrun_cloud_assistant_command.py--output-diroutput/output/