> ## 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.

# Azure workload coverage

> Which Azure workload types Plerion scans for vulnerabilities, how each one is scanned, and what is not covered

Plerion scans the Azure workload types below when the matching option is enabled in the subscription's workload scanning settings, except AKS and Azure Red Hat OpenShift, which are scanned by the Kubernetes integration. Each scan produces vulnerability, sensitive data and SBOM results on the workload's asset, and a publicly exposed workload with high or critical vulnerabilities also produces an attack path finding (`PLERION-AZURE-446`).

## Scanned workload types

| Workload type | Asset type | Scanned from | Attack path |
| - | - | - | - |
| Virtual Machines | `Azure::VirtualMachine::Instance` | OS disk snapshot, then each data disk | Yes |
| Virtual Machine Scale Sets | `Azure::VirtualMachine::ScaleSet` | One member per distinct image | Yes |
| Functions | `Azure::FunctionApp::Function` | Deployed code | Yes |
| App Service Web Apps | `Azure::AppServices::WebApp` | Deployed code, or the container image | Yes |
| Container Apps | `Azure::Container::App` | Every container image of the current template | Yes |
| Container Instances | `Azure::Container::Instance` | Every container image of the group | Yes |
| AKS | `Azure::Container::Cluster` | Kubernetes integration | Not yet |
| Azure Red Hat OpenShift | `Azure::RedHatOpenShift::Cluster` | Kubernetes integration | Not yet |
| Service Fabric | `Azure::ServiceFabric::ManagedCluster`, `Azure::ServiceFabric::Cluster` | Node type scale sets | Through the scale set |
| Batch | `Azure::Batch::Pool`, `Azure::Batch::Account` | Pool image, and application packages | Not yet |
| Microsoft Foundry agents | `Azure::Foundry::Agent` | Hosted agents: the container image or the code zip | No |

## How each type is scanned

### Virtual Machines

A snapshot of the OS disk is attached to an appliance and scanned, then each managed data disk the same way, one at a time. A VM with many or large data disks takes longer to scan. A data disk that cannot be copied, for example one encrypted with a customer-managed key, is reported as a warning and the scan continues. Unmanaged disks are not scanned.

### Virtual Machine Scale Sets

Members are grouped by the image they run and one member per distinct image is scanned, a running member ahead of a stopped one, the same way Plerion samples AWS Auto Scaling groups. A Flexible-orchestration member is scanned through a snapshot of its OS disk. Uniform-orchestration members, and Flexible members with ephemeral OS disks, have no disk to snapshot, so a disk is created from their image, scanned and deleted. Results are attributed to the scale set, and each scan names the image and, where one was used, the member it sampled.

An image published from another subscription, such as the Microsoft-managed images AKS node pools run, cannot be read by the appliance identity; the set is reported as not scanned with that reason. A set with no member and no resolvable image is reported as not scanned. A scan whose disk cannot be prepared is reported as failed with the Azure error.

### Functions

The function app's deployed code is downloaded and scanned. A Flex Consumption app, or one with a `WEBSITE_RUN_FROM_PACKAGE` URL, is read from its package. Any other app, or a `WEBSITE_RUN_FROM_PACKAGE` app whose package can't be reached, is read over FTPS (FTP over TLS) with its publishing profile, or through its Kudu (Advanced Tools) endpoint with the appliance identity. The Kudu route needs `Microsoft.Web/sites/publish/action` on the app and works with basic authentication turned off.

### App Service Web Apps

The deployed code is downloaded the same way as a function app's and scanned. A web app that runs a custom container (`DOCKER|image` runtime stack) has its image pulled and scanned instead, as for Container Apps.

### Container Apps and Container Instances

Every container image of the app's current template, or of the container group, is pulled by the appliance and scanned. Images in your Azure Container Registries are pulled with the appliance identity; public images are pulled anonymously. An image the appliance cannot pull is reported per image with the reason.

### AKS and Azure Red Hat OpenShift

Both are scanned by the [Kubernetes integration](https://docs.plerion.com/guides/integrations/kubernetes/overview.md): install the Plerion collector in the cluster and it scans the images its pods run from inside the cluster. A cluster without the collector is collected as an asset but not scanned, and the node operating system is not scanned.

On OpenShift (verified on 4.18), collector chart v1.2.9 or later runs under the restricted security context; earlier versions need the `anyuid` security context constraint on the collector's service account. The platform's own images on `quay.io/openshift-release-dev` scan when the chart is given the cluster pull secret (`collector.registry.pullSecrets: [openshift-config/pull-secret]`); the collector then pulls through the cluster's image mirror sets. Without it those images are reported as failed scans and your own images scan normally. [Learn more →](https://docs.plerion.com/guides/integrations/kubernetes/collector-manager/permissions/allow-access-to-managed-registries.md)

### Service Fabric

Every node type is a Virtual Machine Scale Set in your subscription, so the scale set scan above covers the node image; the cluster itself is collected as an Azure asset. Application packages deployed to the cluster live in its image store behind the cluster certificate and are not scanned.

### Batch

The image a pool boots its nodes from is scanned: a disk is created from it, scanned and deleted, as for Uniform scale sets. Pools in user-subscription allocation mode are also scale sets in your subscription. An image published from another subscription is reported as not scanned with that reason.

The account's active application packages are downloaded from its linked storage account, unpacked and scanned as filesystems. This needs `Storage Blob Data Reader` on that storage account for the appliance identity; the install script grants it for the Batch accounts that exist when it runs. Task resource files are not scanned.

### Microsoft Foundry agents

Plerion collects Foundry agents only when the subscription has the [Foundry agent role](https://docs.plerion.com/guides/integrations/azure/setting-up-azure-subscription.md#microsoft-foundry-agent-role-optional). New Azure subscription integrations have **Microsoft Foundry agents** turned on. For an integration you added earlier, turn it on in the integration's **CWPP config**.

Plerion scans the latest version of each agent. What it scans depends on the kind of agent:

| Kind of agent | What Plerion scans |
| - | - |
| Prompt agent | Nothing. A prompt agent is only configuration and has no code. It is not scanned and shows no error. |
| Hosted agent that runs a container image | The image, pulled from your Azure Container Registry |
| Hosted agent deployed from a code zip | The code zip, downloaded from Foundry |

Secrets in an agent's environment variables are not scanned.

#### Hosted agents that run a container image

The appliance pulls the image with its identity's `AcrPull` role and scans it, as for Container Apps. The pull works only when the registry:

* is in the same subscription as the agent
* uses registry permissions (role assignment mode `LegacyRegistryPermissions`). `AcrPull` does not apply to a registry that uses repository permissions.
* has public network access turned on

For any other registry, the agent shows as not scanned, with the reason.

#### Hosted agents deployed from a code zip

The appliance downloads the agent's code zip from Foundry with its identity. It checks the zip against the SHA-256 hash that Foundry stores for the agent version. Then it unpacks the zip and scans it for vulnerabilities, secrets and an SBOM. A zip can be up to 250 MB, and up to 750 MB unpacked.

The vulnerability scan includes the packages named in `requirements.txt`. A zip that Foundry builds remotely (`remote_build`) holds `requirements.txt` but not the installed packages. For those agents Plerion sees only the packages that `requirements.txt` names, and not the packages they install in turn. A zip with its packages bundled (`bundled`) is scanned with every package in it. If a remote-built zip declares its packages in a form Plerion cannot read, such as a .NET project file with no lock file, the agent's packages show as not scanned. Its secrets are still scanned. Deploy the agent with bundled dependencies, or add a lock file, to get its packages scanned.

The download needs the Foundry agent role on the appliance identity. The install script adds it when you turn on CWPP. If you added the subscription before Plerion scanned code zips, run the install script again. Until then, these agents show as not scanned, with a reason that asks you to update the integration. See [Azure CWPP architecture](https://docs.plerion.com/guides/integrations/azure/azure-cwpp-architecture.md#steps-to-onboard-an-azure-subscription).

#### Tools and prompt

Plerion shows each Foundry agent's tools on its **Tools** tab, and writes a one-sentence summary of what the agent is for.

* **Prompt agents:** Plerion reads the tools and instructions from the agent's configuration, with the Foundry agent role. The **Tools** tab lists each tool: functions, OpenAPI operations, MCP servers with their allowed tools, and Foundry's own tools such as file search, code interpreter and Azure AI Search. A tool shows the connection, vector store, memory store or MCP server it uses, linked to that asset. An MCP tool that points at a Foundry toolbox lists the toolbox's tools too. Plerion reads the instructions only to write the summary, and does not store them.
* **Hosted agents:** Plerion reads the tools and prompt from the code it scans, the container image or the code zip. This works for agents written in Python with LangChain or LangGraph, including a prompt kept as the default of a configuration field. The **Tools** tab shows the file and line of each tool. Plerion reads the code as text and does not run it, so a tool the agent builds while it runs is not listed. Plerion doesn't read tools or prompts from agents written in C#, or from agents built with Microsoft Agent Framework or Semantic Kernel.

## Not scanned

| Workload type | Why |
| - | - |
| Spring Apps | Microsoft closed the service to new customers on 17 March 2025 and retires it on 31 March 2028, and its API offers nothing to download for a deployment (an upload URL for the JAR and a log URL; Enterprise-tier builds land in a service-owned registry). Its migration targets, Container Apps and AKS, are covered above. |

## Permissions

The permissions each workload type needs are granted by the CWPP install script. See [Azure CWPP architecture](https://docs.plerion.com/guides/integrations/azure/azure-cwpp-architecture.md#steps-to-onboard-an-azure-subscription) for the full list.


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