Skip to content

Commit

Permalink
F/GCP-BucketLifecycle (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
alphadev4 authored May 28, 2024
1 parent 7cc37ee commit d4c2d4c
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
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.

0 comments on commit d4c2d4c

Please sign in to comment.