Configuring file shadowing with GCS
When configuring file shadowing with GCS, you will need to create a storage bucket and a bucket policy. You must also create a service account and a corresponding private key to grant access permissions to the bucket and the shadow copies within it.
FortiDLP requires HTTPS (TLS) to prevent potential attackers from eavesdropping on or manipulating network traffic using person-in-the-middle or similar attacks. GCS has HTTPS (TLS) by enabled default, so no action is required to configure a secure connection.
The following instructions describe the tasks required to configure file shadowing with GCS.
How to configure file shadowing with GCS
- Log in to the Google Cloud Platform Console.
- Create your storage bucket:
- Go to Cloud Storage > Buckets.
- Click Create.
- In the Name your bucket field, type the bucket name. Then click Continue.
- In the Choose where to store your data section, select the appropriate Location type radio button and location for the bucket. We recommend choosing a single region that is the same region your company is located in. Then click Continue.
- In the Choose a storage class for your data section, select the radio button for the appropriate storage class option. Then click Continue.
- In the Choose how to control access to objects section, leave the Enforce public access prevention on this bucket checkbox selected and select the Uniform radio button. Then click Continue.
- In the Choose how to protect object data section:
- Select the radio button for the appropriate protection tools option.
- Optionally, to enable data encryption using a customer-managed encryption key, click Data encryption and then select the Cloud KMS key checkbox. To use this feature, you must also create a new key in your Cloud Key Management Console, as described here. Google Cloud provides default encryption at rest using AES-256 encryption standards, which applies if a Cloud KMS key is not configured.
- Click Create.
- In the Public access will be prevented dialog box, click Confirm.
- Create a service account key:
- Go to IAM and admin > Service accounts.
- Click Create service account.
- In the Service account details section:
- In the Service account name field, type a service account display name.
- In the Service account description field, type a service account description.
Your Service account ID is created as you type your Service account name and is displayed in the field below in the format
serviceaccountname@projectid.iam.gserviceaccount.com
. Take note of this value, as you will need it during step 4.- Click Done.
- On the row of your service account, click> Manage keys.
- Click Add key > Create new key.
- In the Create private key dialog box, leave the JSON radio button selected and click Create.
The service account JSON file will then download to your computer. You will need this to complete the next task, Configuring file shadowing with FortiDLP.
- Go to IAM and admin > Service accounts.
- Create a bucket policy:
- Go to Cloud Storage > Buckets.
- On the row of your storage bucket, click> Edit access.
- In the right-hand panel, click Add principal.
- In the New principals field, enter the Service account ID (generated at step 3c).
- In the Select a role menu, click Cloud Storage > Storage Object Creator.
- Click Add another role.
- In the Select a role menu, click Cloud Storage > Storage Object Viewer.
- Click Save.
- Go to Cloud Storage > Buckets.
You can then proceed to the next task, Configuring file shadowing with FortiDLP.