1. DescriptionAzure.DevOps.Extension.Xrm.Release provides tasks for use in Azure DevOps release pipelines. These tasks enable a Continuous Deployment pipeline to be created for Dynamics 365. 2. Tasks2.1. Create Release NotesCreates a release note page for each release to a specific environment. You must provide a wiki structure that matches the WikiPath property in the task. Please remember to give the build agent service contributor permissions to the Wiki. On installation you must provide the organisation name as a parameter to 2.1.1. More InformationMore information can be found in our GitHub Wiki. 2.2. Azure Devops Extension - capgemini-uk-msft-owaspscan-extensionsOWASP Zed Attack Proxy (ZAP) is an open source security tool used in the industry for performing security scan on web applications and APIs. Doing Security scan on a application helps ensure that there are no security vulnerabilities hackers could exploit and development team will be able to identify security loopholes in the system before it goes to production. This extension provides OWASP Scan tasks for use in Azure DevOps release pipelines. This task enables easily scan APIs and publish reports to pipeline in Test tab. 2.2.1. Usage2.2.1.1. Install the below extension in your azure devops organizationhttps://marketplace.visualstudio.com/items?itemName=capgemini-msft-uk.build-release-task 2.2.1.2. Dependencies
2.2.1.3. Use the extension as a pipeline task in your azure devops yaml pipeline to run Security Scan on API'sYou will also need to use PublishTestResults@2 task with this extension in order to publish test results after the scan is completed. Below is the example which shows how to use it in YAML pipeline.
2.2.1.4. OutputOnce task runs successfully, you can view scanned output in,
Once scan is finished successfully, you can view the scanned report in the pipeline - Test tab. Below is the example of how Scan report looks like after using this extension.
Detailed HTML report is also stored in Storgae account - File Share. You can use it to analyze all the security vulnerabilities in detail. 3. How this Extension worksThis extension performs security scanning of APIs using ZAP. It is tuned for performing scans against APIs defined by OpenAPI, SOAP, or GraphQL via a URL. The ZAP API scan is a script that is available in the ZAP Docker images. You can read more about it on (https://www.zaproxy.org/docs/docker/api-scan/) In Azure, There are multiple solutions for incorporating Security testing into DevOps practices and Application Delivery Pipeline to perform a penetration testing after the deployment of your application. One of the approaches is to use Azure Container Instances. In this approach setting up OWASP ZAP API scan requires good understanding of ZAP - API Scan and technical knowledge around using Azure containers, Azure powershell modules, writing powershell scripts and it is also time consuming setup. Below are the different stages that will require to set up in order to perform API Scan using Azure Container Instances.
The Good news is, our Extension abstracts the above components and provides you simple to use an Azure Devops Extension which anyone can use in their pipelines as a Task to perform API Scan effortlessly. Below are the screenshots which shows how this Extension spin ups Azure container instance (ACI) and you can also view scan logs when it is running. 4. More InformationMore information can be found in our GitHub Wiki. |