Bucket Without Versioning
- Query id: 227c2f58-70c6-4432-8e9a-a89c1a548cf5
- Query name: Bucket Without Versioning
- Platform: GoogleDeploymentManager
- Severity: Medium
- Category: Observability
- URL: Github
Description¶
Bucket should have versioning enabled
Documentation
Code samples¶
Code samples with security vulnerabilities¶
Postitive test num. 1 - yaml file
resources:
- name: bucket
type: storage.v1.bucket
properties:
name: my-bucket
Postitive test num. 2 - yaml file
resources:
- name: bucket
type: storage.v1.bucket
properties:
name: my-bucket
versioning:
enabled: false