bucket_lock_config
Check a bucket's object-lock (WORM) state, distinguishing between lock never enabled and lock enabled without default retention.
Instructions
[READ][risk=low] Object-lock (WORM) state of one bucket.
Distinguishes the two absences that look alike and mean different things: objectLockEnabled=false (lock was never enabled and cannot be enabled on an existing bucket) versus objectLockEnabled=true with defaultRetention=null (WORM is available, but an upload that omits its own retention header is retained for nothing).
Args: bucket_name: Bucket name (from bucket_ls). target: MinIO target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| bucket_name | Yes |