This document describes how to use Azure CLI with Resource Manager templates to deploy a Qualys Scanner in Azure.
Good to Know
- Your template can either be a local file or an external file which is available through a URI.
- You must enable "Programmatic deployment" once for every new version of the Qualys Virtual Scanner Appliance Marketplace subscription.
Step 1 - Enable Programmatic Deployment
From the Azure UI, go to the Microsoft Azure Portal and add a new Virtual Machine. Find Qualys in the Azure Marketplace. Then click the link "Want to deploy programmatically? Get started" (see the image below). On the next screen, click "Enable" for the subscription for which you want to configure programmatic deployment and click “Save”.
Step 2 - Deploy Your Qualys Scanner from Azure CLI
You can download the Qualys Scanner Marketplace templates from here:
Edit the azuredeploy.parameters.json file and set all needed parameters according to your own Azure environment. Then in ARM mode use the following Azure CLI command to deploy your Qualys Scanner.
azure group deployment create <NameOfExistingResourceGroup> <NameOfQualysScanner> -f <PathToTemplate> -e <PathToParameterFile>