Integrating Acunetix 360 with Azure Pipelines

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

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

if_Gnome-Dialog-Information-64_55568.png

Information

Opted for using the Acunetix 360 Extension for Azure Pipelines? Then, from the Acunetix 360 main menu, go to Integrations > New Integration > Azure Pipelines. Then, select View Extension in the Use Extension section.

For further information about installation and configuration, see Acunetix 360 Enterprise Extension.

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

Generating and Using Acunetix 360’s Azure Integration Scripts

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

if_Gnome-Dialog-Information-64_55568.png

Information

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

How to Generate Acunetix 360's Azure Pipelines Integration Scripts
  1. Log in to Acunetix 360.
  2. From the main menu, select Integrations > New Integration.
  3. From the Continuous Integration Systems section, select Azure Pipelines.

  1. From the Integration Script Generator section, select the relevant Scan Settings:
  • From the Scan Type field, select an option
  • From the Website dropdown, select a website
  • From the Scan Profile dropdown, select a scan profile (this is not displayed if you select Full with Primary Profile as the Scan Type)
  • Enable the Stop the scan if the Build fails, if required
  • Enable the Fail the Build if one of the selected scan severity is detected, if required
  1. In the PowerShell field, select Copy to copy the PowerShell script. You will then paste this into the file described in How to Use Acunetix 360’s Azure Pipeline Integration Script Step 6.
How to Use Acunetix 360's Azure Pipeline Integration Script
  1. Log in to your Azure DevOps account.
  2. Navigate to your Azure DevOps Project window.
  1. Select Pipelines, then select a Pipeline
  2. Select Edit.
  3. Add PowerShell Task to the pipeline.
  4. Add the PowerShell script copied from the Integration Script Generator. (See How to Generate Acunetix 360’s Azure Pipelines Integration Scripts.)

  1. Select Variables. Add your Acunetix 360 API credentials as ACUNETIXUSERID and ACUNETIXAPITOKEN variables.

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

 

« Back to the Acunetix Support Page