Skip to main content
All CollectionsControl Tests
Test: Storage Data Versioned or Retained
Test: Storage Data Versioned or Retained

Drata inspects all data stores to determine if the data versioning configuration is enabled.

Ashley Hyman avatar
Written by Ashley Hyman
Updated over a week ago

ASSOCIATED DRATA CONTROL

This test is part of the Storage Buckets are Versioned control that ensures storage buckets containing customer data are versioned appropriately.

WHAT TO DO IF A TEST FAILS

If Drata detects data stores that are not configured for versioning the test will fail. With a failed test you will receive a list of data stores that require versioning.

To remediate a failed test, you will need to enable data versioning on the reported data stores.

STEPS FOR PASSING

To ensure a validated state when testing for versioning within storage data, please follow the steps listed in the table below. Once the provider steps have been completed, navigate back to Drata and execute the test.

Provider / Technology

Provider Steps

AWS - S3

  1. Within AWS, go to the S3 service

  2. Create a new Bucket

  3. Enable: Bucket Versioning

  4. Save Bucket

Azure - Storage Accounts

  1. Within Azure, go to storage accounts

  2. Create a storage account

  3. Enable blob versioning for this account

GCP - Storage

  1. Within GCP, go to the Storage service

  2. Create a Bucket

  3. Choose a Location type (any)

  4. Choose a default storage class for your data (any)

  5. Choose how to control access to objects

    1. Access control - Fine-grained

  6. Choose how to protect object data

  7. Click on Create button

HELPFUL RESOURCES

Did this answer your question?