Skip to content

Commit

Permalink
Set up Azure Pipeline to run security checks on commits to main branch (
Browse files Browse the repository at this point in the history
#128)

Co-authored-by: Ryan Fu <[email protected]>
  • Loading branch information
palenshus and ryfu-msft authored Aug 4, 2021
1 parent e75696c commit 1ba7e43
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pipelines/azure-pipelines.sec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
trigger:
- main

pool:
vmImage: 'windows-latest'

steps:

- task: CredScan@2
inputs:
scanFolder: '$(Build.SourcesDirectory)'
debugMode: false
continueOnError: true

- task: Semmle@1
inputs:
sourceCodeDirectory: '$(Build.SourcesDirectory)/src/WingetCreateCLI'
language: 'csharp'
querySuite: 'Recommended'
timeout: '1800'
addProjectDirToScanningExclusionList: true
continueOnError: true

- task: BinSkim@3
inputs:
arguments: 'analyze "$(system.defaultWorkingDirectory)\src\WingetCreate*.dll" "$(system.defaultWorkingDirectory)\src\WingetCreate*.exe" --config default --recurse'

0 comments on commit 1ba7e43

Please sign in to comment.