cos_check_public_read
Verify Tencent Cloud COS buckets for anonymous read access by examining both ACL and bucket policy, ensuring private objects remain secure before launch.
Instructions
综合检查腾讯云 COS 存储桶是否对匿名(未授权)开放读:同时校验桶 ACL 与桶策略是否包含匿名读授权。用于上线前安全自检,确认私有证件照等敏感对象不会泄露。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bucket": "<bucket>"
},
"name": "cos_check_public_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | 存储桶名称 | |
| region | No | 存储桶地域,不填则用全局配置 region |