Update compliance.yml for Azure Pipelines

This commit is contained in:
Shawn Callegari
2023-02-27 20:46:08 -08:00
parent 732afeb481
commit 5feca3593a
+3 -22
View File
@@ -8,9 +8,8 @@ pool:
vmImage: 'windows-latest'
steps:
- task: CredScan@2
inputs:
toolMajorVersion: 'V2'
- task: CredScan@3
- task: ESLint@1
inputs:
Configuration: 'recommended'
@@ -23,18 +22,6 @@ steps:
packageType: 'sdk'
version: '3.1.x'
# - task: Semmle@0
# env:
# SYSTEM_ACCESSTOKEN: $(System.AccessToken)
# inputs:
# sourceCodeDirectory: '$(Build.SourcesDirectory)'
# language: 'tsandjs'
# includeNodeModules: true
# querySuite: 'Recommended'
# timeout: '1800'
# ram: '16384'
# addProjectDirToScanningExclusionList: true
- task: Semmle@1
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
@@ -47,12 +34,6 @@ steps:
ram: '16384'
addProjectDirToScanningExclusionList: true
# Both versions of Semmle (0 and 1) aren't required
# Either one is fine. The latest version will show up as
# Semmle@1 while older version will be listed as Semmle@0
# By default, version 1 (@1) will be added to pipeline
# This sample contains both, just for sample purposes
# Usage of System.AccessToken is only required for uploading
# results to CodeQL servers via variable LGTM.UploadSnapshot = true
# If you want to analyze errors on your own or if LGTM.UploadSnapshot = false,
@@ -71,7 +52,7 @@ steps:
verbosity: 'Verbose'
alertWarningLevel: 'High'
- task: PublishSecurityAnalysisLogs@2
- task: PublishSecurityAnalysisLogs@3
inputs:
ArtifactName: 'CodeAnalysisLogs'
ArtifactType: 'Container'