Binoy Koonammavu
• Google Cloud is PCI DSS validated, but you still need your own quarterly ASV scan of the systems you deploy. Google's certification does not replace it.
• Scope by public IP address and hostname: load balancer front ends, VM external IPs, GKE ingress and any public database or gateway.
• Ephemeral external IPs can change, so reserve static IPs for anything in scope, or keep workloads behind a load balancer with a stable address.
• Allow-list your ASV's scanner ranges in Cloud Armour and other active defences so the scan is not blocked. Do not open ports that stay closed to everyone else.
• The default Google Cloud load balancer SSL policy accepts TLS 1.0, which fails an ASV scan. Set an explicit policy.
PCI ASV scanning on Google Cloud works the way it does anywhere else: an Approved Scanning Vendor scans your public IP addresses and hostnames from the outside. What changes on GCP is how those addresses behave. Load balancers use their own front-end IPs, VM addresses can be ephemeral, and serverless services sit behind shared Google endpoints. Each of these affects what you submit for scanning and whether the result means anything. What is internet-facing at any moment changes whenever a VM starts or a load balancer rule is edited.
This guide covers shared responsibility on GCP, how to scope external IPs, how to allow-list the scanner, the failures we see most often, and the evidence to keep after a rescan. We are Secusy, an ASV vendor. We have written this from public Google Cloud documentation and the PCI SSC requirements, and you should confirm details with your QSA. If you run on AWS too, see our PCI compliance on AWS guide.
ASV scan: the external vulnerability scan PCI DSS Requirement 11.3.2 requires at least every three months. See what an ASV scan is.
Cardholder data environment (CDE): the people, processes and technology that store, process or transmit cardholder data or sensitive authentication data, plus systems connected to or able to affect them. On GCP, that includes cloud resources that touch payment data or are networked into systems that do.
Shared responsibility model: the split between what Google secures (the platform) and what you secure (what you deploy and configure on it).
Ephemeral external IP: a public IP assigned from a pool to a resource such as a VM, which can change when the resource is stopped, started or recreated.
Static external IP: a reserved public IP that stays yours until you release it.
Forwarding rule: the Google Cloud object that holds a load balancer's front-end IP address and port.
Cloud Armour: Google Cloud's web application firewall and DDoS protection for load-balanced services.
Scan interference: any control, such as an IPS or WAF, that blocks or alters the scanner's traffic and can invalidate results.
Google validates the platform. You are responsible for what you deploy on it, including a quarterly ASV scan of your own externally reachable systems.
An independent QSA has reviewed Google Cloud services in scope against PCI DSS 4.0.1. Google states plainly that customers remain responsible for their own applications. Its PCI DSS shared responsibility matrix adds that Google does not control the operating system, packages, or applications you deploy, and that you must meet the related requirements. In practice for GCP PCI compliance, that leaves you with:
• Firewall rules and network design: the matrix assigns VPC firewall rules, inbound and outbound restrictions and documented ports to the customer and says to use defined networks rather than the pre-configured default network.
• Vulnerability management and patching: your VMs, images and software.
• Protection of public-facing apps (6.4.2): you deploy the automated solution. Cloud Armour is the tool the matrix points to.
• External scanning (11.3.2): an ASV scan of what you expose. Google’s own scanners help with internal visibility, but they are not an Approved Scanning Vendor.
Do you need to tell Google before a scan? No. Google’s Cloud Security FAQ says you do not need to notify it before testing your own projects, as long as you follow the Acceptable Use Policy and affect only your own resources. For the scan rules themselves, see PCI ASV scan requirements.
Google’s Attestation of Compliance can be requested through the Compliance Reports Manager, and the shared responsibility matrix is a public PDF. Both help your QSA understand Google’s side. Neither covers how you configure, deploy or expose your own workloads.
Define your cardholder data environment by following cardholder data from entry to storage and mapping every GCP resource that touches it, is networked into it or could be used to reach it. VPC Service Controls and firewall rules can enforce boundaries, but they do not define scope for an ASV scan. What the internet can reach does. A misconfigured firewall rule that exposes an in-scope resource brings it into scan scope, whether or not that was intended.
Submit your load balancer IPs and hostnames and get your quarterly report.
Submit every public IP and hostname that routes to in-scope systems: load balancer front ends, VM external IPs, GKE entry points and public databases. Use static addresses so your scope does not drift between scans.
The front-end IP of each external load balancer is a scan target, and so is the hostname that points to it. TLS usually ends at the load balancer, so TLS findings come from its SSL policy, not from your backends. Backends with no external IP are not directly reachable and are not scanned. Backends that do have external IPs are separate targets and must be listed too. The ASV Program Guide gives load-balanced environments special handling, such as confirming that balanced servers are configured identically, so tell your ASV how yours is set up.
An ephemeral external IP can change when a VM is stopped and started or recreated. A scope list built in January can be wrong by March, and a GCP ephemeral IP ASV scan target that no longer exists proves nothing. Reserve static external IPs for anything that must stay in scope, or move workloads behind a load balancer so only its stable address is exposed. Private GKE nodes behind Cloud NAT keep the node IPs out of scope, because NAT handles outbound traffic only.
Auto-scaling managed instance groups and preemptible or Spot VMs can change addresses often, sometimes daily. For a managed instance group, list the IPs of each active instance, not the group's configuration. Capture the current inventory immediately before each scan, because a scan of last quarter's addresses can miss newly provisioned resources and leave a gap no one notices until a QSA review. Whichever approach you adopt, document it so your QSA can validate it. The extra cost of reserved static IPs is usually small next to the effort of managing changing addresses.
Cloud Run, Cloud Functions and App Engine endpoints sit on Google-owned shared addresses, so you submit the hostname, not an IP. Many teams put a global external load balancer with a serverless backend in front, which gives one stable, scoped address. Public Cloud SQL instances, VPN gateways and bastion hosts have external IPs and belong in the inventory.
# Reserved external addresses
gcloud compute addresses list --filter="addressType=EXTERNAL" \
--format="table(name,address,status,region)"
# Load balancer front-end IPs
gcloud compute forwarding-rules list --filter="loadBalancingScheme~EXTERNAL" \
--format="table(name,IPAddress,loadBalancingScheme,region)"
# VMs with external IPs, including ephemeral ones
gcloud compute instances list \
--format="table(name,zone.basename(),networkInterfaces[].accessConfigs[].natIP)"
# Public Cloud SQL instances
gcloud sql instances list --format="table(name,ipAddresses)"
# Across an organization, using Cloud Asset Inventory
gcloud asset search-all-resources --scope=organizations/ORG_ID \
--asset-types="compute.googleapis.com/Address,compute.googleapis.com/ForwardingRule"
gcloud compute addresses create api-lb-ip --global
Allow your ASV's published scanner ranges through Cloud Armor and any other active defence so the scan is not blocked, then confirm in the logs that nothing was denied. Do not open ports that stay closed to everyone else.
Get the current scanner source IP list from your ASV. Ranges change, so do not copy an old list. The Google Cloud firewall allow list for an ASV scan has one job: stop active protection from blocking or rate-limiting the scanner. A scan blocked mid-run is scan interference and can invalidate the result. For the same problem behind a CDN, see our Cloudflare ASV setup guide.
One rule matters more than the rest. Do not use an allow rule to open a port to the scanner that is closed to the internet. The scan would then test a configuration real attackers never see, and a passing report would mislead you. Layers that can interfere with GCP:
• Cloud Armor policies: rate limiting and preconfigured WAF rules can block scan traffic.
• VPC firewall rules: these decide which ports are reachable at all. Keep them tight, and remove permissive leftovers from the default network, such as open SSH or RDP.
• Third-party appliances and IPS: any virtual firewall or IPS in the path.
• Ingress settings: GKE ingress and Cloud Run ingress controls that restrict who can reach a service.
Cloud Armor evaluates rules by priority, lowest number first, so give the allow rule a lower number than any rate-limit or deny rule that would otherwise block the scanner. Keep it time-bound: create it for the scan window, document its creation, activation and removal as part of your quarterly procedure, and do not leave it in place longer than needed. A rule for the scan window looks like this:
gcloud compute security-policies rules create 100 \
--security-policy=my-policy \
--description="PCI ASV scanner, review after scan window" \
--src-ip-ranges="ASV_RANGE_1,ASV_RANGE_2" \
--action=allow
After the scan, check that nothing was denied. With load balancer logging enabled, a Logs Explorer filter such as the one below (adapt it to your setup) shows denied requests from the scanner:
resource.type="http_load_balancer"
jsonPayload.enforcedSecurityPolicy.outcome="DENY"
httpRequest.remoteIp=("ASV_RANGE_IP")
Turn logging on before the scan, not after. Record the rule, who approved it and when it was removed or reviewed, as part of your change control.
Most GCP failures come from the load balancer's default TLS policy, exposed management ports, unpatched software, a stale scope or a blocked scanner.
|
Failure
|
Why it happens on GCP
|
Fix
|
|---|---|---|
|
TLS 1.0 or 1.1 accepted
|
The default SSL policy is equivalent to the COMPATIBLE profile with a minimum of TLS 1.0
|
Attach an SSL policy with min TLS 1.2 and the RESTRICTED or MODERN profile
|
|
Weak ciphers offered
|
The COMPATIBLE profile allows a wide range of older suites
|
Use RESTRICTED, MODERN or a CUSTOM profile
|
|
TLS failures on a passthrough load balancer
|
Passthrough load balancers do not terminate TLS, so SSL policies do not apply
|
Fix TLS on the backend software
|
|
SSH, RDP or database ports open to the internet
|
Permissive rules inherited from the default network
|
Restrict firewall rules and use IAP or a bastion
|
|
Known CVEs on VMs or GKE nodes
|
Customer-managed OS and packages
|
Patch with OS patch management and rescan
|
|
Scope drift
|
Ephemeral IPs changed, a new load balancer, or a forgotten project
|
Reserve static IPs and re-run the inventory each quarter
|
|
Scan blocked mid-run
|
Cloud Armor or IPS rate limiting
|
Allow-list the scanner and review logs
|
|
Certificate mismatch when scanning by IP
|
A bare IP can return a different certificate than your hostname
|
Submit hostnames as well as IPs
|
gcloud compute ssl-policies create pci-tls12 \
--profile=RESTRICTED --min-tls-version=1.2
gcloud compute target-https-proxies update MY_PROXY \
--ssl-policy=pci-tls12 --global
For regional load balancers, use a regional SSL policy and proxy. For the wider TLS picture, see ASV scan TLS failures and open ports and ASV failures.
See what AWS covers, what you own, and how scanning works there.
Keep the full ASV reports and rescans, a dated export of your GCP inventory, proof of each fix, and records of any allow-list rule. An assessor wants to follow the trail from scope to passing result.
• ASV reports: every quarterly report, plus each rescan, passing and failing, kept together with dates.
• Scope record: the dated output of your inventory commands, reconciled to the IPs and hostnames you submitted.
• Configuration proof: the output of gcloud compute ssl-policies describing your firewall and Cloud Armour settings before and after each fix.
• Change records: tickets for firewall, load balancer and SSL policy changes. The matrix puts change control for GCP firewall rules with the customer.
• Patch records: OS patch management reports tied to the findings you fixed.
• Allow-list record: the Cloud Armour rule, approver, dates and the log review showing no scanner traffic was denied.
• Audit logs: Cloud Audit Logs show who changed what. Confirm your retention settings cover the assessment period.
• Post-change scans: If you add a load balancer, project or public service, scan again. See PCI DSS 11.3.2 for the rules on significant changes.
To see what each ASV report proves, read what an ASV report contains.
Inventory every project, list static and load balancer IPs plus hostnames, set an explicit TLS policy, allow-list the scanner without widening exposure, then scan and keep the evidence.
See how to scope your cardholder data environment and scan cycle.
Binoy Koonammavu, is the Founder and CEO of Secusy ASV, where he helps SMBs and fintech companies meet PCI DSS scanning requirements without the complexity of enterprise-grade tools. His writing focuses on making ASV compliance straightforward for growing businesses.