alicloud-security-center-sas
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCategory: service
分类:服务
Security Center
安全中心(Sas)
Use Alibaba Cloud OpenAPI (RPC) with official SDKs or OpenAPI Explorer to manage resources for Security Center.
使用阿里云OpenAPI(RPC)结合官方SDK或OpenAPI Explorer来管理安全中心的资源。
Workflow
工作流程
- Confirm region, resource identifiers, and desired action.
- Discover API list and required parameters (see references).
- Call API with SDK or OpenAPI Explorer.
- Verify results with describe/list APIs.
- 确认地域、资源标识符以及所需执行的操作。
- 查找API列表和所需参数(请参阅参考资料)。
- 使用SDK或OpenAPI Explorer调用API。
- 通过Describe*/List*类API验证结果。
AccessKey priority (must follow)
AccessKey优先级(必须遵循)
- Environment variables: /
ALICLOUD_ACCESS_KEY_ID/ALICLOUD_ACCESS_KEY_SECRETRegion policy:ALICLOUD_REGION_IDis an optional default. If unset, decide the most reasonable region for the task; if unclear, ask the user.ALICLOUD_REGION_ID - Shared config file:
~/.alibabacloud/credentials
- 环境变量:/
ALICLOUD_ACCESS_KEY_ID/ALICLOUD_ACCESS_KEY_SECRET地域策略:ALICLOUD_REGION_ID是可选的默认配置。若未设置,请为任务选择最合理的地域;若不确定,请询问用户。ALICLOUD_REGION_ID - 共享配置文件:
~/.alibabacloud/credentials
API discovery
API查找
- Product code:
Sas - Default API version:
2021-01-14 - Use OpenAPI metadata endpoints to list APIs and get schemas (see references).
- 产品代码:
Sas - 默认API版本:
2021-01-14 - 使用OpenAPI元数据端点来列出API并获取schema(请参阅参考资料)。
High-frequency operation patterns
高频操作模式
- Inventory/list: prefer /
List*APIs to get current resources.Describe* - Change/configure: prefer /
Create*/Update*/Modify*APIs for mutations.Set* - Status/troubleshoot: prefer /
Get*/Query*APIs for diagnosis.Describe*Status
- 资源清单/列表:优先使用/
List*类API获取当前资源。Describe* - 修改/配置:优先使用/
Create*/Update*/Modify*类API执行变更操作。Set* - 状态查询/故障排查:优先使用/
Get*/Query*类API进行诊断。Describe*Status
Minimal executable quickstart
最简可执行快速入门
Use metadata-first discovery before calling business APIs:
bash
python scripts/list_openapi_meta_apis.pyOptional overrides:
bash
python scripts/list_openapi_meta_apis.py --product-code <ProductCode> --version <Version>The script writes API inventory artifacts under the skill output directory.
在调用业务API之前,先进行元数据优先查找:
bash
python scripts/list_openapi_meta_apis.py可选覆盖配置:
bash
python scripts/list_openapi_meta_apis.py --product-code <ProductCode> --version <Version>该脚本会将API清单文件写入技能输出目录。
Output policy
输出策略
If you need to save responses or generated artifacts, write them under:
output/alicloud-security-center-sas/若需保存响应内容或生成的文件,请写入以下目录:
output/alicloud-security-center-sas/References
参考资料
- Sources:
references/sources.md
- 来源:
references/sources.md