forked from microsoft/SparTA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
58 lines (43 loc) · 1.02 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
pool:
vmImage: windows-latest
steps:
- checkout: self
clean: true
persistCredentials: true
- task: BinSkim@4
inputs:
InputType: 'CommandLine'
arguments: 'analyze $(Build.StagingDirectory)\* --recurse --verbose'
- task: CredScan@3
inputs:
outputFormat: 'csv'
- task: Semmle@1
inputs:
sourceCodeDirectory: '$(Build.SourcesDirectory)'
language: 'python'
querySuite: 'Recommended'
timeout: 1800
ram: 16384
addProjectDirToScanningExclusionList: true
env:
System_AccessToken: $(System.AccessToken)
- task: ComponentGovernanceComponentDetection@0
inputs:
scanType: 'Register'
verbosity: 'Verbose'
alertWarningLevel: 'High'
- task: PoliCheck@2
inputs:
targetType: 'F'
targetArgument: '$(Build.SourcesDirectory)'
- task: VulnerabilityAssessment@0
- task: PublishSecurityAnalysisLogs@2
- task: PostAnalysis@1
inputs:
BinSkim: true
CredScan: true
Semmle: true
- download: current
patterns: '**/*.json'
- download: current
patterns: '**/*.xml'