Ensure that Google Cloud API Gateway is using Cloud Armor to protect your applications against common web exploits and DDoS attacks, ensuring API availability and data security.
Cloud Armor protects applications and infrastructure from DDoS and other attacks (Layer 3/4 and 7) using Google's global network to filter malicious traffic at the network edge. Cloud Armor shields Google Cloud API Gateway by applying security policies at the edge, such as IP-based filtering, geo-restrictions, and DDoS mitigation. This ensures that malicious traffic is blocked before reaching your API Gateway, reducing the risk of exploitation, improving reliability, and safeguarding sensitive data. It's important for APIs to maintain secure access and mitigate threats while ensuring legitimate traffic flows uninterrupted.
Audit
To determine if API Gateway leverages Cloud Armor as a network security service, perform the following operations:
Checking for API Gateway protection with Cloud Armor using Google Cloud Management Console is not currently supported.Remediation / Resolution
To ensure that your Google Cloud API Gateways are using Cloud Armor to protect your applications against common web exploits and DDoS attacks, perform the following operations:
References
- Google Cloud Platform (GCP) Documentation
- Security policy overview
- Example security policies
- Load balancing for API Gateway
- Security policy overview
- Getting started with load balancing for API Gateway
- GCP Command Line Interface (CLI) Documentation
- gcloud projects list
- gcloud api-gateway apis list
- gcloud compute network-endpoint-groups list
- gcloud compute backend-services list
- gcloud compute backend-services describe
- gcloud compute security-policies create
- gcloud compute backend-services update
- gcloud compute security-policies rules create