@@ -23,30 +23,16 @@ jobs:
2323 arguments : ' -p:Optimize=true -p:IsPreview=true --configuration Release'
2424 versioningScheme : OFF
2525
26- - task : securedevelopmentteam.vss-secure-development-tools.build-task-binskim.BinSkim@3
26+ - task : securedevelopmentteam.vss-secure-development-tools.build-task-binskim.BinSkim@4
2727 displayName : ' BinSkim'
2828 inputs :
29- toolVersion : Latest
30- InputType : Basic
31- Function : analyze
32- AnalyzeTarget : $(Build.SourcesDirectory)\Microsoft.Azure.Cosmos\src\bin\Release\netstandard2.0\Microsoft.Azure.Cosmos.Client.dll
33- AnalyzeConfigPath : default
29+ AnalyzeTargetGlob : $(Build.SourcesDirectory)\Microsoft.Azure.Cosmos\src\bin\Release\netstandard2.0\Microsoft.Azure.Cosmos.Client.dll
3430 AnalyzeRecurse : true
3531 AnalyzeVerbose : true
3632 AnalyzeHashes : false
3733 AnalyzeStatistics : false
3834 AnalyzeEnvironment : false
3935
40- # Analyze source code for type of content and target types to help determine which tools to run
41- - task : securedevelopmentteam.vss-secure-development-tools.build-task-autoapplicability.AutoApplicability@1
42- displayName : ' AutoApplicability'
43- inputs :
44- VerboseWriter : true
45- ExternalRelease : true
46- InternalRelease : true
47- IsService : true
48- IsSoftware : true
49-
5036 # Analyze source and build output text files for credentials
5137 - task : securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@3
5238 displayName : ' CredScan'
@@ -58,34 +44,36 @@ jobs:
5844 verboseOutput : false
5945
6046 # Scan text elements including code, code comments, and content/web pages, for sensitive terms based on legal, cultural, or geopolitical reasons
61- - task : securedevelopmentteam.vss-secure-development-tools.build-task-policheck.PoliCheck@1
47+ - task : securedevelopmentteam.vss-secure-development-tools.build-task-policheck.PoliCheck@2
6248 displayName : ' PoliCheck'
6349 inputs :
6450 targetType : F
51+ optionsFC : 0
6552
6653 # AntiMalware scan
67- - task : securedevelopmentteam.vss-secure-development-tools.build-task-antimalware.AntiMalware@3
54+ - task : securedevelopmentteam.vss-secure-development-tools.build-task-antimalware.AntiMalware@4
6855 displayName : ' AntiMalware'
6956 continueOnError : true # signature refresh failing resulting in tasks failures
7057 inputs :
7158 EnableServices : true
7259
73- # Run checks for recently discovered vulnerabilities which are not yet incorporated to another tool
74- - task : securedevelopmentteam.vss-secure-development-tools.build-task-vulnerabilityassessment.VulnerabilityAssessment@0
75- displayName : ' Vulnerability Assessment'
76-
7760 - task : ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
7861 displayName : ' Component Governance Detection' # https://docs.opensource.microsoft.com/tools/cg.html
7962 inputs :
8063 alertWarningLevel : Medium
8164 failOnAlert : true
8265
8366 # Publish Analysis Results (position after all tools ran)
84- - task : securedevelopmentteam.vss-secure-development-tools.build-task-publishsecurityanalysislogs.PublishSecurityAnalysisLogs@2
67+ - task : securedevelopmentteam.vss-secure-development-tools.build-task-publishsecurityanalysislogs.PublishSecurityAnalysisLogs@3
8568 displayName : ' Publish Security Analysis Logs'
8669
8770 # The Post-Analysis build task will analyze the log files produced by the tools, and introduce a build break
88- - task : securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@1
71+ - task : securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@2
8972 displayName : ' Post Analysis'
9073 inputs :
91- AllTools : true
74+ GdnBreakFast : true
75+ GdnBreakAllTools : false
76+ GdnBreakGdnToolCredScan : true
77+ GdnBreakGdnToolBinSkim : true
78+ GdnBreakGdnToolPoliCheck : true
79+ GdnBreakGdnToolPoliCheckSeverity : Error
0 commit comments