-
Notifications
You must be signed in to change notification settings - Fork 7
/
.vsts-ci.yml
43 lines (39 loc) · 906 Bytes
/
.vsts-ci.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
name: Project Resolve CI
pool:
vmImage: ubuntu-latest
trigger:
batch: true
branches:
include:
- main
- dev
pr:
branches:
include:
- main
- dev
stages:
- stage: Compliance
dependsOn: []
jobs:
- job: ComplianceJob
pool:
vmImage: windows-latest
steps:
- checkout: self
clean: true
persistCredentials: true
fetchDepth: 1
- task: CredScan@3
inputs:
outputFormat: sarif
debugMode: false
- task: ComponentGovernanceComponentDetection@0
inputs:
scanType: 'Register'
verbosity: 'Verbose'
alertWarningLevel: 'High'
- task: PublishSecurityAnalysisLogs@3
inputs:
ArtifactName: 'CodeAnalysisLogs'
ArtifactType: 'Container'