Skip to content

Commit

Permalink
Merge pull request #153 from nhsconnect/PRMT-4322
Browse files Browse the repository at this point in the history
[PRMT-4322] - Remove OWASP dependency checker to resolve vulnerable d…
  • Loading branch information
martin-nhs authored Jan 11, 2024
2 parents 55c579d + 6262aa0 commit ecef988
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 189 deletions.
14 changes: 0 additions & 14 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ plugins {
id 'java'
id 'jacoco'
id 'com.github.spotbugs' version '5.2.4'
id 'org.owasp.dependencycheck' version '7.4.4'
id 'org.sonarqube' version '4.3.1.3277'
}

Expand Down Expand Up @@ -58,8 +57,6 @@ dependencies {
implementation 'junit:junit:4.13.2'
implementation 'jakarta.xml.bind:jakarta.xml.bind-api:3.0.1'
implementation 'org.apache.qpid:proton-j:0.33.10'
implementation 'org.bouncycastle:bcprov-jdk18on:1.77'
implementation 'org.apache.commons:commons-compress:1.25.0'

implementation platform('software.amazon.awssdk:bom:2.20.130')
implementation 'software.amazon.awssdk:cloudwatch'
Expand All @@ -86,7 +83,6 @@ dependencies {
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.11.0'
testImplementation 'commons-fileupload:commons-fileupload:1.5'
testImplementation "com.github.tomakehurst:wiremock-jre8:2.35.1"
testImplementation 'com.google.guava:guava:33.0.0-jre'
testImplementation 'org.awaitility:awaitility:4.2.0'

integrationImplementation 'com.swiftmq:swiftmq-client:12.5.4'
Expand Down Expand Up @@ -165,16 +161,6 @@ spotbugsIntegration {
}
}

dependencyCheck {
failBuildOnCVSS = 7
suppressionFile = './dependency-checks-suppression.xml'
analyzers {
assemblyEnabled = false
ossIndexEnabled = false
}

}

sonar {
properties {
property 'sonar.projectKey', 'prm-orphaned-record-continuity_prm-repo-ehr-transfer-service'
Expand Down
138 changes: 0 additions & 138 deletions dependency-checks-suppression.xml

This file was deleted.

31 changes: 0 additions & 31 deletions gocd/audit.pipeline.gocd.yml

This file was deleted.

6 changes: 0 additions & 6 deletions tasks
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,6 @@ case "${command}" in
configure_sonar_environment_variable
dojo -c Dojofile-itest "./tasks _run_sonar"
;;
_dep)
gradle dependencyCheckAnalyze
;;
dep)
dojo "./tasks _dep"
;;
tf)
check_env
dojo -c Dojofile-infra "bash"
Expand Down

0 comments on commit ecef988

Please sign in to comment.