github.com/aquasecurity/trivy-iac@v0.8.1-0.20240127024015-3d8e412cf0ab/avd_docs/digitalocean/spaces/AVD-DIG-0007/Terraform.md (about)

     1  
     2  Enable versioning to protect against accidental or malicious removal or modification
     3  
     4  ```hcl
     5   resource "digitalocean_spaces_bucket" "good_example" {
     6     name   = "foobar"
     7     region = "nyc3"
     8   
     9     versioning {
    10   	enabled = true
    11     }
    12   }
    13   
    14  ```
    15  
    16  #### Remediation Links
    17   - https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/spaces_bucket#versioning
    18