Skip to main content

Configure Vulnerability Scan for Azure

This procedure describes how to configure vulnerability scans for Azure accounts.

Sign in to Azure Account

  1. In the Administration page, under the Cloud Accounts tab, click Cloud Account on the top right and click on Configure VA and select Azure.

  2. Click Login to log in to the account that you want to set up a vulnerability scan for.

  3. Select the name of your Azure account in the dropdown menu and click Vulnerability Scanning JSON to download the JSON Policy from the Spot Security Vulnerability Scanning Setup page.

Create a Custom Role

  1. In the Azure console, type Subscriptions in the search bar and click the Subscriptions result that appears.

  2. Select the subscription you want to onboard.

  3. In the menu on the left side of the selected subscription platform, click Access Control (IAM).

  4. Click + Add and then Add custom role.

  5. Select Start from JSON and upload the JSON policy downloaded in Step 1.

    vln-cnfg-azure-4

  6. Click Assignable scope and select the relevant subscription.

    vln-cnfg-azure-5

  7. In the Create a custom role window, click Review + create and complete the custom role information.

Assign a Role

  1. In the Access control (IAM) platform, click + Add and then click Add role assignment.

    vln-cnfg-azure-6

  2. Click the Role tab and select the custom role you created in the previous step.

  3. Click the Members tab and click Select members.

  4. Select the app registration that was created during the Spot onboarding and click Next.

  5. When the Role is assigned, go back to the Spot console to finish the vulnerability scan configuration.

  6. By default all the regions that have VMs will be pre-populated for a selected account. You can delete regions according to your preference. For each region, select a Subnet ID where the Spot Security Scanner will run.

    • While choosing the Subnet ID, ensure it allows SSH inbound and Internet outbound.

    • You can also create a new public Subnet ID with the above condition and manually enter it.

      vln-cnfg-azure-10

To add a new account click Add Account and repeat the same process starting from Step 2.