Edit

Deploy Azure Adaptive Virtual Patching

In this article, you learn how to deploy Azure Adaptive Virtual Patching by using the Azure portal. You create an Adaptive Shield, add eligible resources, and verify the automatically installed Neuron extension so that your resources can report findings and receive mitigations.

Prerequisites

  • An Azure account with an active subscription. Create an account for free.
  • Your subscription has the Microsoft.NetworkSecurity resource provider and the Microsoft.NetworkSecurity/AdaptiveVirtualPatchingPreview preview feature registered. Register the resource provider first, and then register the preview feature. For steps, see Register resource provider and Set up preview features in an Azure subscription.
  • The resource you want to protect is running, has outbound network connectivity, and has a system-assigned managed identity with the required permissions.
  • An Automatic upgrade policy for any virtual machine scale set you want to protect. Without that policy, Adaptive Shield protection doesn't work.
  • An Adaptive Shield and every resource you want to protect with it must be deployed in the same region. For the region list, see Supported regions.

For other preview limitations, see Preview limitations.

Sign in to Azure

Sign in to the Azure portal.

Create an Adaptive Shield

Create an Adaptive Shield to configure mitigation settings and select the resources to protect.

  1. In the Azure portal, search for Adaptive Virtual Patching, and then select Deploy Adaptive Shield.

  2. On the Basics tab, enter or select the following information:

    Setting Value
    Subscription Select your Azure subscription.
    Resource group Select your resource group.
    Name Enter a name for your Adaptive Shield.
    Region Select a supported region that matches the resources you want to protect.
    Severity threshold Select the minimum finding severity eligible for mitigation.
    Response strategy Select automatic response to prioritize security through faster mitigation, or manual approval to prioritize continuity by reducing operational impact.

    Screenshot of the Basics tab for creating an Adaptive Shield.

  3. On the Add resources tab, select the resources to protect. Select Next to run the resource eligibility checks. After the checks pass, go to the next page and select Add.

    Screenshot of the Add resources tab for selecting resources to protect.

  4. Optionally, add tags on the Tags tab.

  5. Select Review + create, and then select Create.

The portal shows Creating Adaptive Shield while the shield is created.

Resource eligibility

When you add resources, the portal runs four checks:

Check What it verifies
OS Prerequisites Azure Linux or Ubuntu with kernel version 4.19 or later.
Status The virtual machine is running.
Route and outbound configuration The resource can reach the required service endpoints.
NSG and network policy Network security group rules and network policies don't block the Neuron extension.

Screenshot of resource eligibility checks in the Azure portal.

A resource that passes all four checks shows Eligible to add. If a check fails, the portal shows the reason next to the resource. If a check shows Unable to verify, the portal couldn't complete the check.

Verify the Neuron extension

After you create the Adaptive Shield, the Azure portal automatically installs the Neuron extension on each protected resource. Installation can take up to five minutes. Verify the extension's provisioning status before you check resource reporting.

  1. Open a protected virtual machine in the Azure portal.

  2. Select Extensions + applications.

  3. Confirm that the Neuron extension shows Provisioning succeeded.

    Screenshot of the Neuron extension provisioning status.

Verify protected resource reporting

Check that the protected resource sends its first inventory report to the Adaptive Shield.

  1. Open the Adaptive Shield in the Azure portal.
  2. Select Protected resources.
  3. Check the resource's status. A new resource shows Awaiting first report until the Neuron extension finishes installing and sends its first inventory report. After the first report, the resource shows Reachable, with the number of open findings.
  4. If the resource doesn't leave Awaiting first report, select Check reachability at the top of the page. For further help, see Frequently asked questions and troubleshooting.

After you deploy an Adaptive Shield, learn how to manage protection or resolve problems: