> ## Documentation Index
> Fetch the complete documentation index at: https://docs.plerion.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GCP workload scanning coverage

> Which GCP workloads Plerion scans, which it skips and why, and the conditions that decide whether a given asset is scanned

With **[GCP workload scanning](https://docs.plerion.com/guides/integrations/gcp/workload-scanning/overview.md)**, Plerion decides at the start of each scan run whether each asset can be scanned. Use this page to tell a coverage gap from a missing finding.

***

## Supported workloads

| Workload type | Toggle in Plerion | Scanned from | Notes |
| - | - | - | - |
| Compute Engine instances | **Compute Engine instances** | Snapshot of the boot disk | `RUNNING` and `TERMINATED` (stopped) instances only. CMEK-encrypted disks are supported (see below) |
| Compute Engine custom images | **Compute Engine custom images** | A disk created from the image | `READY` and `DEPRECATED` images, up to 2048 GB. Linux and Windows images |
| Compute Engine managed instance groups | **Compute Engine managed instance groups** | One sampled member per boot image | Findings attach to the group. Members stop being scanned individually |
| Cloud Run services | **Cloud Run services** | The container image each serving revision runs | Every container in the revision, including sidecars |
| Cloud Functions (2nd gen) | **Cloud Functions (2nd gen)** | The image Google built for the function | Stored in your project's `gcf-artifacts` repository |
| Cloud Functions (1st gen) | **Cloud Functions (1st gen)** | The deployed source archive | Dependency findings need pinned versions (see below) |
| Vertex AI Agent Engine agents | **Vertex AI Agent Engine agents** | The agent's container image, or its code in a Cloud Storage staging bucket | Depends on how the agent was deployed (see [below](#vertex-ai-agent-engine-agents)) |

Every workload type supports all three scan types: **Vulnerabilities**, **Software bill of materials (SBOM)**, and **Sensitive data**.

> [!NOTE]
>
> GKE Standard node pools are ordinary Compute Engine instances, so Plerion scans each node the way it scans any instance. This is node-level coverage only. Pods, deployments, and other Kubernetes objects are covered by the [Kubernetes integration](https://docs.plerion.com/guides/integrations/kubernetes/overview.md). GKE Autopilot nodes don't appear in the Compute Engine API, so they can't be scanned.

***

## What is skipped, and why

| Skipped | Why | Notes |
| - | - | - |
| **Instances that aren't running or stopped** | Only `RUNNING` and `TERMINATED` instances are scanned | Suspended, staging, or stopping instances are picked up on a later run |
| **Instances whose only disks are Local SSD** | Local SSD can't be snapshotted | A GCP limitation, not a Plerion one |
| **Confidential VMs** | Plerion doesn't snapshot the disks of Confidential VMs | |
| **CSEK-encrypted disks** | Plerion can't supply a customer-supplied encryption key at snapshot or disk creation | No decryption path exists for this case |
| **Projects with the Compute Engine API disabled** | Plerion can't list instances, images, or groups in a project that has never enabled `compute.googleapis.com` | Posture scanning of the project is unaffected, so it still has findings, just no workload findings |
| **GKE Autopilot nodes** | Not visible in the Compute Engine API | |
| **Managed instance groups owned by GKE node pools** | Skipped at the group level | Their nodes are scanned individually as instances |
| **Workloads outside your Workload regions** | Out of scope by configuration, not a coverage gap | See [Regions](#regions) |
| **Cloud Run services with no ready revision**, and **revisions receiving no traffic** | Nothing is serving | |
| **Cloud Functions that aren't `ACTIVE`** | The function is deploying, failed, or being deleted | |
| **1st gen functions with source over 100 MB compressed or 500 MB unpacked** | Too large for the scan job | |
| **Vertex AI Agent Engine agents whose container image isn't in Artifact Registry** | The artifact scanner pulls only from Artifact Registry repositories (`<region>-docker.pkg.dev`) | For example, images on Docker Hub or `gcr.io` |
| **Google-managed projects** | Excluded from Plerion entirely, not only from workload scanning | See [Projects Plerion does not scan](https://docs.plerion.com/guides/integrations/gcp/overview.md#projects-plerion-does-not-scan) |

A skipped asset has no workload scan for that run. The reason isn't shown in the dashboard, except for the Vertex AI Agent Engine agents listed in [Why an Agent Engine agent was not scanned](#why-an-agent-engine-agent-was-not-scanned). Plerion records it in its operational logs, which Plerion support can check for you. If an asset you expect to be scanned has no workload findings, check this table and [Why does one of my projects have findings but no vulnerabilities?](https://docs.plerion.com/guides/integrations/gcp/workload-scanning/faq.md#why-does-one-of-my-projects-have-findings-but-no-vulnerabilities) first.

An asset Plerion tried to scan but couldn't is different. A disk that wouldn't mount, an image that couldn't be pulled, or a source archive that was too large produces a scan record with a failed status and an error message on the project's **Workload scans** tab. A run that an [organization policy check](https://docs.plerion.com/guides/integrations/gcp/workload-scanning/prerequisites.md#organization-policies) blocked also shows there as failed, for the whole project.

***

## CMEK-encrypted disks

Instances and custom images protected by a customer-managed encryption key (CMEK) are scanned. The snapshot keeps your key, but the scan disk Plerion creates in the scanning project uses Google-managed encryption for the minutes it exists, because Plerion creates it without your key. See [Encrypted disks and images](https://docs.plerion.com/guides/integrations/gcp/workload-scanning/how-scanning-works.md#encrypted-disks-and-images).

`PlerionAccess: Denied` is a resource tag you apply to a project yourself (see [Excluding a project's custom images](https://docs.plerion.com/guides/integrations/gcp/overview.md#excluding-a-projects-custom-images)). If custom image scanning is on, it removes Plerion's ability to read that project's custom images. It doesn't stop the project's workloads from being scanned, and that includes instances with CMEK-encrypted disks. Plerion holds no access to your keys and never needs it. Your project's Compute Engine service agent, which already holds your key because it created the encrypted disk, decrypts the snapshot when the scan disk is created. The scan disk itself uses Google-managed encryption, so no key is involved after that point. To stop scanning a project altogether, exclude it from the organization integration under **Manage projects**.

> [!WARNING]
>
> Excluding a project that is already onboarded deletes its project integration and all the findings and scan history Plerion holds for it, for both posture scanning and workload scanning. This can't be undone, and Plerion asks you to confirm first.

***

## Compute Engine custom images

Plerion scans every custom image a project owns, including images nothing has ever booted from. Whether an image is scanned depends on its state:

* `READY` images are scanned. `DEPRECATED` images are scanned too, because they're marked as on the way out but are still bootable.
* Images that aren't ready yet (`PENDING`, `FAILED`, `DELETING`) and images that can no longer be booted (`OBSOLETE`, `DELETED`) are skipped.
* Images larger than 2048 GB are skipped.
* An image Plerion can't read is skipped. This happens when the access command hasn't been re-run since you turned on the custom image type, when the grant has been removed, or when the image's project is tagged `PlerionAccess: Denied`.
* An image whose CMEK key Plerion can't use is skipped without affecting the rest of the run.

Findings attach to the image (`GCP::Compute::Image`) and are independent of findings on instances booted from it. Image identity follows the image's numeric ID, so rebuilding an image under the same name creates a new asset with its own finding history.

***

## Compute Engine managed instance groups

Plerion samples one member per distinct boot image in the group, scans each sample like a standalone instance, and reports the merged result against the group. A group on one image produces one sample. A group mid-rolling-update produces one sample per image, each labeled with its image. Groups are capped at 10 samples per run.

While managed instance group scanning is on, members of a scanned group aren't scanned or reported as standalone instances. A group with no members has nothing to sample and is skipped for that run.

Sampling has two limits:

* **A member patched after boot can differ from the sample.** The sample reflects one member's disk, not every member's current state. Patch the image, not individual members, so future samples and every member built from them reflect the fix.
* **Only the sampled member's boot disk is scanned.** Data disks attached to group members aren't covered while group scanning is on.

***

## Cloud Functions (1st gen): dependency findings need pinned versions

Secrets scanning works on any deployed source. Dependency vulnerability findings need the function's dependencies declared with exact versions or a lockfile in the deployed archive, because no scanner can tell which version of an unpinned dependency is deployed. A function without pinned dependencies still gets a completed scan, with secrets findings but no dependency findings.

| Ecosystem | What the deployed source needs |
| - | - |
| Node.js | `package-lock.json` |
| Python | Exact pins in `requirements.txt` (`==1.2.3`, not a range) |
| Ruby | `Gemfile.lock` |
| PHP | `composer.lock` |
| Java | `pom.xml` gives partial results: versions resolve, but transitive dependency locations don't, since that lookup needs a repository the scanner doesn't call out to |

> [!TIP]
>
> `gcloud functions deploy` helps: its default `.gcloudignore` excludes `node_modules` but keeps `package-lock.json`, so most Node.js deployments qualify without changes. If you deploy with Terraform or a custom build, check that the lockfile or pinned manifest is in the uploaded archive.

***

## Vertex AI Agent Engine agents

What Plerion can scan depends on how the agent was deployed.

| Deployment | What Plerion scans | Setup |
| - | - | - |
| Container image in Artifact Registry | The image | None |
| Staging bucket (the Vertex AI SDK default) | The agent's `requirements.txt` and dependency archive. Plerion never opens the agent's pickle file | [Share the staging bucket](https://docs.plerion.com/guides/integrations/gcp/additional-gcp-configurations/scan-agent-engine-code.md) with the tag `PlerionAccess: Granted` |
| Inline source, a Dockerfile, a git repository or Developer Connect | Nothing. Google builds the agent from source code that only Google can read | Not possible. Deploy from a container image or a staging bucket to have the agent scanned |

The **Vertex AI Agent Engine agents** type covers vulnerabilities, the software bill of materials (SBOM) and sensitive data. Vertex AI Agent Engine scanning also reads each agent's tools and prompt, to show what the agent can do. Tools are read for agents written with LangChain, LangGraph, Strands or the Google Agent Development Kit (ADK). See [Tools and prompt](https://docs.plerion.com/guides/integrations/gcp/additional-gcp-configurations/scan-agent-engine-code.md#tools-and-prompt).

For an agent deployed from a staging bucket:

* The SBOM lists only the packages pinned to an exact version (`==`) in `requirements.txt`. Pin your dependencies to get complete results.
* The staging files can be up to 250 MB compressed, and the dependency archive up to 750 MB and 90,000 files unpacked. A larger agent fails its scan with a message that names the limit.
* If the agent's class was written in a notebook, its code is stored inside the pickle file. Plerion scans `requirements.txt` for vulnerabilities and an SBOM, but the agent's own code isn't checked for tools, prompt or secrets. The agent shows as partly scanned.

### Why an Agent Engine agent was not scanned

An agent that wasn't scanned, whose last scan failed, or that was only partly scanned shows a notice with one of these messages on its page.

| Message on the agent | Why | What to do |
| - | - | - |
| To scan this agent, add the tag PlerionAccess: Granted to Cloud Storage bucket … | Plerion can't read the staging bucket. Usually it isn't tagged; sometimes an access command older than v13 held back the read grant | [Share the staging bucket](https://docs.plerion.com/guides/integrations/gcp/additional-gcp-configurations/scan-agent-engine-code.md#share-a-staging-bucket-with-plerion), or re-run the access command, as in [Before you start](https://docs.plerion.com/guides/integrations/gcp/additional-gcp-configurations/scan-agent-engine-code.md#before-you-start) |
| To scan this agent, re-run the Plerion onboarding command for your organization. … | The agent code scanner service account doesn't exist yet, because the access command hasn't been re-run since you turned the type on | Re-run the access command, then share the bucket. See [Before you start](https://docs.plerion.com/guides/integrations/gcp/additional-gcp-configurations/scan-agent-engine-code.md#before-you-start) |
| Plerion can't scan this agent because gs\://…, which held its code, no longer exists. | The staging files the agent was deployed from were deleted or replaced | Redeploy the agent |
| Plerion can't scan this agent because Google builds it from source code that only Google can read. … | The agent was deployed from inline source, a Dockerfile, a git repository or Developer Connect | Deploy it from a container image or a staging bucket |
| Plerion can't scan this agent because its deployment spec doesn't say where its code is. | The agent has no container image, staging files or source in its deployment | Nothing to scan. Redeploy the agent if you expected code |
| This agent's code is larger than Plerion's scan limit of … | The staging files are over 250 MB, or the dependency archive is over 750 MB or 90,000 files unpacked | Remove what the agent doesn't need from its dependencies, or deploy it from a container image |
| Plerion scanned this agent's requirements.txt. Its code is stored in a serialized file (pickle) that Plerion doesn't open, … | The agent's class was written in a notebook, so there is no source file to read. This is a partial scan | Define the agent's class in a Python file, and list that file in `extra_packages` when you deploy, so its source goes into the dependency archive. Or deploy from a container image |

***

## Regions

Scan disks and scanner VMs are always created in the same region as the instance being scanned, and image and source scan jobs run in the region of the service, function or agent. Cross-region scanning never happens.

If you've limited scanning with the **Workload regions** setting, workloads outside those regions are skipped as out of scope. A custom image is a global resource, so Plerion scans it in the first region in that list. If the list is empty, it uses a region the project's instance scans already use. Otherwise, it uses `us-central1`.

***

## Next step

* [Managing workload scanning](https://docs.plerion.com/guides/integrations/gcp/workload-scanning/managing-workload-scanning.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.