Skip to content

Commit

Permalink
Revert "Revert "Update azure-pipelines.yml for Azure Pipelines (#17)"" (
Browse files Browse the repository at this point in the history
#30)

This reverts commit 875c1b2.
  • Loading branch information
gavinfish authored Feb 17, 2020
1 parent 9746ede commit 5805eae
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 9 deletions.
9 changes: 9 additions & 0 deletions CredScanSuppressions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"tool": "Credential Scanner",
"suppressions": [
{
"placeholder": "Password123!",
"_justification": "Mock secret used for tests."
}
]
}
47 changes: 38 additions & 9 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,42 @@ trigger:
include:
- "*"

pool:
vmImage: 'ubuntu-latest'
jobs:
- job: CG
pool:
vmImage: 'ubuntu-latest'

steps:
- task: ComponentGovernanceComponentDetection@0
inputs:
scanType: 'Register'
verbosity: 'Verbose'
alertWarningLevel: 'Medium'
failOnAlert: true
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: 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'

0 comments on commit 5805eae

Please sign in to comment.