cos_get_bucket_policy
Retrieves a Tencent Cloud COS bucket policy to identify whether it grants anonymous read access. Use this tool to audit bucket permissions and detect public exposure.
Instructions
获取腾讯云 COS 存储桶的桶策略(Bucket Policy)。用于检查是否存在向匿名主体授予读权限的策略。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | 存储桶名称 | |
| region | No | 存储桶地域,不填则用全局配置 region |