More Info:

Ensures object versioning is enabled on storage buckets. Object versioning can help protect against the overwriting of objects or data loss in the event of a compromise.

Risk Level

Low

Address

Security, Operational Maturity, Reliability

Compliance Standards

PCIDSS, HITRUST, SOC2, NISTCSF

Triage and Remediation

Remediation

To remediate the “Bucket Versioning Should Be Enabled” misconfiguration in GCP using GCP console, follow these steps:

  1. Go to the GCP console and select the project where the misconfigured bucket is located.

  2. In the top navigation bar, click on the “Storage” option.

  3. Click on the name of the bucket that needs to be remediated.

  4. In the left-hand menu, click on the “Versions” option.

  5. Click on the “Enable versioning” button.

  6. A pop-up window will appear asking you to confirm that you want to enable versioning. Click on the “Enable” button.

  7. Once versioning is enabled, you will see a message confirming that versioning has been enabled for the bucket.

  8. You can now exit the GCP console.

By following these steps, you will have successfully remediated the misconfiguration “Bucket Versioning Should Be Enabled” for the specified bucket in GCP using GCP console.

Additional Reading: