This article explains the how to use the new Netsparker Cloud TeamCity plugin to integrate Netsparker Cloud with TeamCity, to enable our advanced functionality.
Downloading and Installing Netsparker Cloud Scan’s TeamCity Plugin
The Netsparker Cloud Scan TeamCity plugin is packaged into a zip file called netsparkercloud-teamcity-plugin.zip. This package has been tested and approved for TeamCity version 9+.
To Download and Install the Netsparker Cloud Scan TeamCity Plugin
- Open Netsparker Cloud. From the menu, select Integrations then New Integrations.
- From the Continuous Integration Systems panel, select TeamCity.The TeamCity Plugin Installation and Usage window is displayed.
- Click Download the plugin, and save the file to a location of your choice.
- Open TeamCity.
- From the Admin window, click Global Settings. The Global Settings window is displayed.
- From the TeamCity Configuration section, next to the Data Directory field. Click Browse.
- Select the netsparkercloud-teamcity-plugin.zip file you downloaded previously, and upload into the plugins directory.
- Finally, restart TeamCity. When TeamCity’s services start, it will look for the plugin packages in the plugins directory and automatically load them.
Configuring the TeamCity Project
Each TeamCity project has its own build configuration. Each build configuration has its own build steps. The Netsparker Cloud Scan must be added to a TeamCity project as a build step.
How to Configure the TeamCity Project
- Open TeamCity. From the Admin window, click Netsparker Cloud under Integrations section. The Global Netsparker Cloud API Settings window is displayed.
- In the API Settings section, enter the API credentials: Netsparker Cloud Server URL and API Token.
- Click Test Connection.
- Click Save.
- From the main menu, click Projects. The Projects window is displayed.
- Under projects page, select the build configuration to which you want to add the Netsparker Cloud Scan plugin. The Build Configuration window is displayed.
- Click Edit Configuration Settings. The Build Configuration Settings window is displayed.
- Click Build Steps, then Add build step. The New Build Step window is displayed.
- From the Runner type: dropdown, select Netsparker Cloud Scan. Further fields are displayed.
- In the Scan Settings section, select the relevant Scan Settings (Endpoint parameters).
- Finally, click Save.
Viewing Netsparker Scan Results in TeamCity
When the build has been triggered, you can view the scan results in the (under build results page) Netsparker Scan Result tab.
How to View Netsparker Scan Results in TeamCity
- Open TeamCity. On your Projects window, click the Netsparker Cloud Report tab. If the scan is not yet finished, a warning message is displayed.
- When the scan has been completed, the scan results, NETSPARKER CLOUD EXECUTIVE SUMMARY REPORT, are displayed.
*** This is a Security Bloggers Network syndicated blog from Netsparker, Web Application Security Scanner authored by Duran Serkan Kilic. Read the original post at: http://feedproxy.google.com/~r/netsparker/~3/i2e0ytuiErA/