Skip to content

Commit

Permalink
Only use credscan suppressions for Windows build (#1098)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Matteo Prosperi <maprospe@microsoft.com>
  • Loading branch information
matteo-prosperi and Matteo Prosperi authored Dec 3, 2024
1 parent 211bfa8 commit 8ff0544
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions azure-pipelines/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ jobs:
- ${{ if parameters.EnableOptProf }}:
- powershell: Write-Host "##vso[task.setvariable variable=PROFILINGINPUTSDROPNAME]$(azure-pipelines/variables/ProfilingInputsDropName.ps1)"
displayName: ⚙ Set ProfilingInputsDropName for optprof
sdl:
credscan:
suppressionsFile: $(Build.SourcesDirectory)/azure-pipelines/CredScanSuppressions.json
debugMode: true # required for whole directory suppressions

outputParentDirectory: $(Build.ArtifactStagingDirectory)
outputs:
Expand Down
3 changes: 0 additions & 3 deletions azure-pipelines/official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ extends:
suppressionFile: $(System.DefaultWorkingDirectory)\azure-pipelines\falsepositives.gdnsuppress
sbom:
enabled: true
credscan:
suppressionsFile: $(Build.SourcesDirectory)/azure-pipelines/CredScanSuppressions.json
debugMode: true # required for whole directory suppressions
stages:
- stage: Build
variables:
Expand Down

0 comments on commit 8ff0544

Please sign in to comment.