SUPPORT

Contact Support

OPEN A TICKET

Integrating Netsparker Enterprise with Azure Pipelines

Azure DevOps is a web-based DevOps manager that provides CI/CD pipeline features called Azure Pipelines.

You can integrate Netsparker Enterprise with Azure Pipelines using cURL or PowerShell scripts generated by our Integration Script Generator, in order to enable our advanced integration functionality.

For further information, see What Systems Does Netsparker Integrate With?.

Azure Pipelines Fields

This table lists and explains the Azure Pipelines fields in the New Azure Pipelines Integration window.

Button/Section/Field

Description

Scan Type

This is the type of scan:

  • Incremental
  • Full (With primary profile)
  • Full (With selected profile)

For further information, see Types of Scans.

Website

Click to select the URL of the website that will be scanned.

Scan Profile

Click to select the Scan Profile that will be used. (If you selected Full (With primary profile) as the Scan Type, this is not displayed.)

cURL / PowerShell

Add the information in this script to the corresponding fields in the config.yml file in your project. Use variables for Netsparker Enterprise and API credentials.

Generating and Using Netsparker Enterprise’s Azure Integration Scripts

Netsparker Enterprise uses cURL and PowerShell command-line tools to integrate with Azure Pipelines. In order to integrate with Netsparker Enterprise, the Pipeline agent’s execution environment must support cURL or PowerShell.

These instructions are based on PowerShell, but the same can be applied for cURL.

How to Generate Netsparker Enterprise's Azure Pipelines Integration Scripts

  1. Log in to Netsparker Enterprise.
  2. From the main menu, click Integrations, then New Integration.

  1. From the Continuous Integration Systems section, click Azure Pipelines. The Azure DevOps Integration window is displayed.

  1. From the Scan Type field, select an option.
  2. From the Website dropdown, select a website.
  3. From the Scan Profile dropdown, select an option. (This is not displayed if you select Full with Primary Profile as the Scan Type.)

  1. In the PowerShell field, click Copy to clipboard to copy the PowerShell script. You will then paste this into the file described in How to Use Netsparker Enterprise’s Azure Pipeline Integration Script Step 6.

How to Use Netsparker Enterprise's Azure Pipeline Integration Script

  1. Log in to your Azure DevOps account.
  2. Navigate to your Azure DevOps Project window.

  1. Click Pipelines, then select a Pipeline
  2. Click Edit.

 

  1. Add PowerShell Task to the pipeline.
  2. Add the PowerShell script copied from the Integration Script Generator. (See How to Generate Netsparker Enterprise’s Azure Pipelines Integration Scripts.)

  1. Click Variables. Add your Netsparker Enterprise API credentials as NETSPARKERUSERID and NETSPARKERAPITOKEN variables.

  1. From the Save & Queue dropdown, click Save.

Netsparker

Highly accurate, fast & easy-to-use Web Application Security Scanner

GET A DEMO