diff --git a/README.md b/README.md index 213e64b16..10610aade 100644 --- a/README.md +++ b/README.md @@ -365,6 +365,7 @@ This repository is an extension of CloudSploit's [open-source scanning engine](h * Storage * [Bucket Logging](en/google/storage/bucket-logging.md) * [Bucket Versioning](en/google/storage/bucket-versioning.md) + * [Bucket Lifecycle Configured](en/google/storage/bucket-lifecycle-configured.md) * [Storage Bucket All Users Policy](en/google/storage/storage-bucket-all-users-policy.md) * VPC Network * [Default VPC In Use](en/google/vpcnetwork/default-vpc-in-use.md) diff --git a/en/google/storage/bucket-lifecycle-configured.md b/en/google/storage/bucket-lifecycle-configured.md new file mode 100644 index 000000000..b57308268 --- /dev/null +++ b/en/google/storage/bucket-lifecycle-configured.md @@ -0,0 +1,24 @@ +[![CloudSploit](https://cloudsploit.com/img/logo-new-big-text-100.png "CloudSploit")](https://cloudsploit.com) + +# GOOGLE / Storage / Bucket Lifecycle Configured + +## Quick Info + +| | | +|-|-| +| **Plugin Title** | Bucket Lifecycle Configured | +| **Cloud** | GOOGLE | +| **Category** | Storage | +| **Description** | Ensure that Cloud Storage buckets are using lifecycle management rules to transition objects between storage classes. | +| **More Info** | Lifecycle management rules allow you to delete buckets at the end of their lifecycle and help optimize your data for storage costs.| +| **GOOGLE Link** | https://cloud.google.com/storage/docs/managing-lifecycles | +| **Recommended Action** | Modify storage buckets and configure lifecycle rules. | + +## Detailed Remediation Steps +1. Log into the Google Cloud Platform Console. +2. Scroll down the left navigation panel and choose "Cloud Storage" to select the "Buckets" option.
+3. On the "Buckets" page, select the bucket which needs to be configured with lifycyvle rules by clicking on the "name".
+4. Select the "LIFECYCLE" tab to access the lifecycle configuration defined for selected bucket.
+5. Click on "ADD A RULE" to add the rule for lifecycle configuration.
+6. Select the desire action and create the rule. Click on "CREATE" button to add the rule.
+7. Repeat steps number 4-6 to configure encryption of lifecycle rules to all other buckets in the project.
diff --git a/resources/google/storage/bucket-lifecycle-configured/step2.png b/resources/google/storage/bucket-lifecycle-configured/step2.png new file mode 100644 index 000000000..d9415eee8 Binary files /dev/null and b/resources/google/storage/bucket-lifecycle-configured/step2.png differ diff --git a/resources/google/storage/bucket-lifecycle-configured/step3.png b/resources/google/storage/bucket-lifecycle-configured/step3.png new file mode 100644 index 000000000..d6a336640 Binary files /dev/null and b/resources/google/storage/bucket-lifecycle-configured/step3.png differ diff --git a/resources/google/storage/bucket-lifecycle-configured/step4.png b/resources/google/storage/bucket-lifecycle-configured/step4.png new file mode 100644 index 000000000..2a141168c Binary files /dev/null and b/resources/google/storage/bucket-lifecycle-configured/step4.png differ diff --git a/resources/google/storage/bucket-lifecycle-configured/step5.png b/resources/google/storage/bucket-lifecycle-configured/step5.png new file mode 100644 index 000000000..d011d40d4 Binary files /dev/null and b/resources/google/storage/bucket-lifecycle-configured/step5.png differ diff --git a/resources/google/storage/bucket-lifecycle-configured/step6.png b/resources/google/storage/bucket-lifecycle-configured/step6.png new file mode 100644 index 000000000..5019650cc Binary files /dev/null and b/resources/google/storage/bucket-lifecycle-configured/step6.png differ