summaryrefslogtreecommitdiffstats
path: root/ansible_collections/azure/azcollection/azure-pipelines.yml
blob: 406dc25752a4998a1f4df91abdef7fa15acc9a9d (plain)
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
trigger:
  batch: true
  branches:
    include:
    - "*"

jobs:
- job: CG
  pool:
    name: pool-ubuntu-2004

  steps:
  - task: ComponentGovernanceComponentDetection@0
    inputs:
      scanType: 'Register'
      verbosity: 'Verbose'
      alertWarningLevel: 'Medium'
      failOnAlert: true

- job: CredScan
  pool:
    vmImage: "windows-2019"

  steps:
    - task: ea576cd4-c61f-48f8-97e7-a3cb07b90a6f@2
      inputs:
        toolMajorVersion: 'V2'
        suppressionsFile: 'CredScanSuppressions.json'

    - task: securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@1
      inputs:
        AllTools: false
        APIScan: false
        BinSkim: false
        CodesignValidation: false
        CredScan: true
        FortifySCA: false
        FxCop: false
        ModernCop: false
        PoliCheck: false
        RoslynAnalyzers: false
        SDLNativeRules: false
        Semmle: false
        TSLint: false
        ToolLogsNotFoundAction: 'Standard'