Microsoft Defender for Cloud
Cloud and workloads

Enable vulnerability scanning with a Bring Your Own License (BYOL) solution

In brief

The article now uses updated Defender Vulnerability Management terminology, clarifies Azure portal navigation and Auto deploy scope, and adds a more detailed Qualys/Rapid7 deployment script example with explicit parameters.

What Defender admins need to know

Administrators can use the clarified steps and expanded script example when deploying a partner vulnerability assessment solution.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

As an alternative to Microsoft Defender for Vulnerability Management, you can use your own privately licensed vulnerability assessment solution. This article shows how to deploy a partner solution on Azure VMs.

Prerequisites

To deploy a BYOL vulnerability assessment solution through the Azure portal, complete the following steps:

  1. FromIn the Azure portal, search for and open Defender for Cloud.

  2. From Defender for Cloud's menu, open the Recommendations page.

    1. For Qualys, enter the license provided by Qualys into the License code field.
    2. For Rapid7, upload the Rapid7 Configuration File.
    3. In the Public key box, enter the public key information provided by the partner.
    4. To automatically install this vulnerability assessment agent on all discovered VMs in the subscription of thisthe configured third-party vulnerability scanner solution, select Auto deploy.
    5. Select OK.
  3. If you already set up the BYOL solution, select Deploy your configured third-party vulnerability scanner, select the relevant extension, and select Proceed. | publicKey | ✔ | Vendor provided public key. | | AutoUpdate | - | Enable (true) or disable (false) auto deploy for this VA solution. When enabled, every new VM on the subscription automatically attempts to link to the solution.
    (Default: False) |

Syntax:The following syntax runs the New-ASCVASolution.ps1 script with placeholder values to provision a Qualys or Rapid7 vulnerability assessment solution:

.\New-ASCVASolution.ps1 -subscriptionId <Subscription Id> -resourceGroupName <RG Name>
-licenseCode <License code from vendor> -publicKey <Public Key received from vendor>

Example deployment script

The following example creates a Qualys vulnerability assessment solution with explicit subscription, resource group, license, and public key parameters. This example doesn't include valid license details.

.\New-ASCVASolution.ps1 -subscriptionId 'f4cx1b69-dtgb-4ch6-6y6f-ea2e95373d3b' -resourceGroupName 'DefaultResourceGroup-WEU' -vaSolutionName 'QualysVa001' -vaType 'Qualys' -autoUpdate 'false' `
-publicKey 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCOiOLXjOywMfLZIBGPZLwSocf1Q64GASLK9OHFEmanBl1nkJhZDrZ4YD5lM98fThYbAx1Rde2iYV1ze/wDlX4cIvFAyXuN7HbdkeIlBl6vWXEBZpUU17bOdJOUGolzEzNBhtxi/elEZLghq9Chmah82me/okGMIhJJsCiTtglVQIDAQAB'

Next stepsteps

[!div class="nextstepaction"] Remediate vulnerability findings