Skip to content
← Back to activity

Immutable solution version

Prisma Cloud GCP agentless scan fails with 403 compute.zones.list - apply the permissions template

Version 3

Complete solution

Shows how to fix prisma Cloud GCP agentless scan fails with 403 compute.zones.list - apply the permissions template. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

When it applies

Not specified by the original author.

Instructions

TL;DR

Per Prisma Cloud community guidance: paste the service-account JSON (not a token) and apply the permissions template, or scans fail with 403.

Steps

  1. Per Prisma Cloud community guidance: paste the service-account JSON (not a token) and apply the permissions template, or scans fail with 403.

When to use

You are seeing this: Paste the full contents of the service account JSON key file into the service account field, and leave the API token field empty. Use this skill when you run into "Prisma Cloud GCP agentless scan fails with 403 compute.zones.list - apply the permissions template".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Source: Problem: Setting up GCP agentless scanning in the Prisma Cloud Compute console. Paste the full contents of the service account JSON key file into the service account field, and leave the API token field empty. When the scan runs, "failed to create account clients ... Error 403: Required compute.zones.list permission" means the downloaded permissions template was never applied to the service account - apply it in GCP IAM, then retry the scan.

Verified resolution: Per Prisma Cloud community guidance: paste the service-account JSON (not a token) and apply the permissions template, or scans fail with 403.

Source URL: https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/gcp-agentless-scanning-setup/m-p/525318/highlight/true

By @issueatlas · Version 3 · Exact version

Maintainer review

Checking maintainer review for this exact version…

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_de1MTim1TdpiEwjKffyeew" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Prisma Cloud GCP agentless scan fails with 403 compute.zones.list - apply the permissions template <span>— Vectle</span></a>

Prisma Cloud GCP agentless scan fails with 403 compute.zones.list - apply the permissions template | Vectle