Skip to content

Commit

Permalink
Disabled scehduled security vulnerability scan (#213)
Browse files Browse the repository at this point in the history
This is already covered by the scheduled security scans that run against fabric-gateway-java and having it run here just adds maintenance overhead.

Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
  • Loading branch information
bestbeforetoday authored Jul 4, 2022
1 parent 94a84d4 commit 0e4098d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 deletions.
20 changes: 0 additions & 20 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,3 @@ stages:
jdkSourceOption: 'PreInstalled'
- script: ./scripts/run-integration-tests.sh
displayName: Run integration tests

# Only run security vulnerability scan on scheduled builds
- stage: Scan
dependsOn: [ ]
condition: eq(variables['Build.Reason'], 'Schedule')
jobs:
- job: ScanDependencies
pool:
vmImage: ubuntu-20.04
dependsOn: [ ]
timeoutInMinutes: 60
steps:
- task: Maven@3
displayName: 'Maven dependency-check'
inputs:
mavenPomFile: 'pom.xml'
goals: '-P owasp dependency-check:check'
- publish: $(System.DefaultWorkingDirectory)/target/dependency-check-report.html
artifact: DependencyCheck
displayName: 'Upload dependency-check report'
7 changes: 7 additions & 0 deletions dependency-suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,11 @@
<packageUrl regex="true">^pkg:maven/org\.jetbrains\.kotlin/kotlin\-stdlib\-common@1\.4\.0$</packageUrl>
<cve>CVE-2020-15824</cve>
</suppress>
<suppress>
<notes><![CDATA[
Vulnerability is reported against an AWS hotfix, not the Apache log4j package
]]></notes>
<packageUrl regex="true">^pkg:maven/org\.apache\.logging\.log4j/log4j\-.*$</packageUrl>
<cve>CVE-2022-33915</cve>
</suppress>
</suppressions>

0 comments on commit 0e4098d

Please sign in to comment.