Ensure that Cross-Origin Resource Sharing (CORS) configuration set for your Google Cloud Storage buckets only allow trusted origins in order to prevent unauthorized data access from web applications. The trusted, authorized origins must be configured in the conformity rule settings, in your Trend Cloud One™ – Conformity account.
To prevent unauthorized access and protect sensitive data, ensure that Cross-Origin Resource Sharing (CORS) configurations for Google Cloud Storage buckets only allow trusted origins restricts who can interact with your resources via cross-origin requests, reducing the risk of security vulnerabilities like data exfiltration or malicious exploitation.
Audit
To determine if the CORS configuration for your Cloud Storage buckets is compliant, perform the following operations:
Getting the CORS configuration for Cloud Storage buckets is not currently suported by Google Cloud Platform (GCP) console.Remediation / Resolution
To ensure that Cross-Origin Resource Sharing (CORS) configuration for your Google Cloud Storage buckets is compliant, perform the following operations:
Configuring CORS for Cloud Storage buckets is not currently suported by Google Cloud Platform (GCP) console.References
- Google Cloud Platform (GCP) Documentation
- Set up and view CORS configurations
- CORS configuration examples
- GCP Command Line Interface (CLI) Documentation
- gcloud projects list
- gcloud storage buckets list
- gcloud storage buckets describe
- gcloud storage buckets update