Overview

Cloud Storage is a service for storing objects, which are immutable pieces of data in the form of files, in Google Cloud. Objects are stored in containers called buckets that are associated with a project. Projects can be grouped under an organization and each project, bucket, and object in Google Cloud is considered a resource. After creating a project, you can create Cloud Storage buckets, upload and download objects, and grant permissions for access to specified principals or the public internet for certain use cases such as hosting a website

Step-1: Go to google cloud console and Search for Cloud Storage.

Step2: Create a bucket

Log in to your Google Console at https://console.cloud.google.com/storage/browser and create a Bucket. You will need to decide on a globally unique "Bucket name".


-> Name your bucket - (sample_log) -> Choose where to store your data - multi-region -> Choose a default storage class for your data - Standard -> Choose how to control access to objects - Fine Grained. -> Advanced settings (optional) - Google Managed encryption key. (CREATE)

Create a custom role that has the permissions required to access the bucket and get objects.

Assigning the Custom Role to the Cloud Storage Service Account

  1. Log into the Google Cloud Platform Console as a project editor.

  2. From the home dashboard, choose Cloud Storage » Browser:

  3. Select a bucket to configure for access.

  4. Click SHOW INFO PANEL in the upper-right corner. The information panel for the bucket slides out.

  5. Click the ADD PRINCIPAL button.

  6. In the New principals field, search for the service account name from the DESCRIBE INTEGRATION output in.

8. From the Select a role dropdown, select Custom » <role>, where <role> is the custom Cloud Storage role you created in Creating a Custom Role (in this topic).\

9 . Click the Save button. The service account name is added to the Storage Object Viewer role dropdown in the information panel.

Step3: Search for Service Account.

Step4: Service account details

Service account details - (sample_log) -> Grant this service account access to project - (Cloud Storage-Storage Admin) for the role -> Grant users access to this service account (optional) - Nothing to do with this. (DONE)

Step 5: Select the service account that you have created.

Step6: Go to the keys tab.

Step7:  ADD KEY -> Create new key -> JSON -> (CREATE)

Step8: Search for Logging

Step9: Action -> Create Sink

Step10: Sink details

Sink details - (sample_log) -> Sink Destination - Select Sink Service(Cloud Storage Bucket) & After browsing bucket put you bucket for us it is (sample_log) then select.

Step11: Choose logs to include in sink -> Next and (Create Sink).

Step12: Now getting towards Seceon UI.

Step13: Go to Provisioning

Go to Provisioning -> Google Configuration -> Logs -> Add -> Put Bucket Name and CCE IP -> Browse JSON file from Google Cloud Platform then (SAVE).

Verification of configuration

Verification of configuration can be done in two ways:

Both methods can be used to ensure that the system is properly configured and working as intended.

Using UI

STEP 1:Log in to UI >> SYSTEM

STEP 2: >> Logs and flows collection status

STEP 3: >>To verify the source device IP from the UI:

This will allow you to ensure that the system is properly identifying the source device IP and that it matches the expected IP address..