For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/security/code_security/iac_security/iac_rules/terraform-alicloud-oss-bucket-allows-put-action-from-all-principals.md.
A documentation index is available at /llms.txt.
OSS bucket (alicloud_oss_bucket) policies must not allow the Put action from all principals. This prevents accidental exposure of private data and unauthorized uploads, overwrites, or deletions. The rule flags policies where Effect is Allow, Action includes Put, and Principal is set to * (i.e., applies to all identities). To secure access, restrict Principal to specific identities or scope access with conditions.