From 769d415e0bfefea507c99cb9533e9745ec7a3f37 Mon Sep 17 00:00:00 2001 From: Breanna-Stryker <74314422+Breanna-Stryker@users.noreply.github.com> Date: Mon, 25 Oct 2021 17:08:57 -0400 Subject: [PATCH] CredScan & PoliCheck ADO Pipelines (#483) --- .azure-devops/cred-poli-scan.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .azure-devops/cred-poli-scan.yml diff --git a/.azure-devops/cred-poli-scan.yml b/.azure-devops/cred-poli-scan.yml new file mode 100644 index 000000000..353badbf0 --- /dev/null +++ b/.azure-devops/cred-poli-scan.yml @@ -0,0 +1,24 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + +pr: +- main + +pool: + vmImage: windows-latest + +jobs: +- job: ADOPoliCredScanCheck + steps: + - task: PoliCheck@1 + inputs: + inputType: 'Basic' + targetType: 'F' + targetArgument: '$(System.DefaultWorkingDirectory)' + result: 'PoliCheck.xml' + - publish: D:\a\1\_sdt\logs\PoliCheck\PoliCheck.xml + artifact: PoliCheck.xml + - task: CredScan@2 + inputs: + toolMajorVersion: 'V2' + scanFolder: '$(System.DefaultWorkingDirectory)' \ No newline at end of file