Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.24 KB

bucket-versioning.md

File metadata and controls

21 lines (17 loc) · 1.24 KB

CloudSploit

GOOGLE / Storage / Bucket Versioning

Quick Info

Plugin Title Bucket Versioning
Cloud GOOGLE
Category Storage
Description Ensures object versioning is enabled on storage buckets
More Info Object versioning can help protect against the overwriting of objects or data loss in the event of a compromise.
GOOGLE Link https://cloud.google.com/storage/docs/using-object-versioning
Recommended Action Bucket Versioning can only be enabled by using the Command Line Interface, use this command to enable Versioning: gsutil versioning set on gs://[BUCKET_NAME]

Detailed Remediation Steps

  1. Log into the Google Cloud Platform Console.
  2. Click on the 'cloud shell' icon on the top left of navigation bar ,as Bucket Versioning can only be enabled by using the CLI (Command Line Interface) .
  3. Enter the command gsutil versioning set on gs://[BUCKET_NAME]
  4. Repeat steps 3 to enable versioning to all other buckets in the project.