QuestionQ4

VerifiedConfiguring, implementing and managing a cloud network security solution

Your company uses web application firewall (WAF) capabilities from a third-party cloud WAF provider. The WAF provider proxies every HTTPS connection from internet clients, applies security policies, and then opens a new HTTPS connection to the public IP address of your global Application Load Balancer in Google Cloud. Your Google Cloud workloads are the backends for this global Application Load Balancer. Cloud Am1or is currently not configured.

You need to create a Cloud Armor security policy that blocks sessions originating from internet clients whose source IP addresses belong to the IP_RANGE_BLOCK IP range. The block must be enforced by the Cloud Armor security policy; the third-party cloud WAF provider will not perform it. What should you do?

Explanation

A trusted upstream proxy causes origin.ip to contain the proxy’s address rather than the original internet client’s address. Configuring userIpRequestHeaders[] enables Cloud Armor to populate origin.user_ip from the client-IP header supplied by that proxy, so inIpRange(origin.user_ip, 'IP_RANGE_BLOCK') blocks the intended clients. A backend security policy is the appropriate policy type to attach to the backend service; edge security policies do not support origin.user_ip.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!