Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F/GCP-BucketLifecycle #705

Merged
merged 1 commit into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,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)
Expand Down
24 changes: 24 additions & 0 deletions en/google/storage/bucket-lifecycle-configured.md
Original file line number Diff line number Diff line change
@@ -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. </br> <img src="/resources/google/storage/bucket-lifecycle-configured/step2.png">
3. On the "Buckets" page, select the bucket which needs to be configured with lifycyvle rules by clicking on the "name".</br> <img src="/resources/google/storage/bucket-lifecycle-configured/step3.png"/>
4. Select the "LIFECYCLE" tab to access the lifecycle configuration defined for selected bucket.</br> <img src="/resources/google/storage/bucket-lifecycle-configured/step4.png"/>
5. Click on "ADD A RULE" to add the rule for lifecycle configuration. </br> <img src="/resources/google/storage/bucket-lifecycyle-configured/step5.png"/>
6. Select the desire action and create the rule. Click on "CREATE" button to add the rule.</br> <img src="/resources/google/storage/bucket-lifecycyle-configured/step6.png"/>
7. Repeat steps number 4-6 to configure encryption of lifecycle rules to all other buckets in the project.</br>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.