File tree Expand file tree Collapse file tree 4 files changed +18
-15
lines changed Expand file tree Collapse file tree 4 files changed +18
-15
lines changed Original file line number Diff line number Diff line change 87
87
- ~/.gradle/wrapper
88
88
- run :
89
89
name : Audit Dependencies
90
- command : ./gradlew dependencyCheckAnalyze
90
+ command : ./gradlew dependencyCheckAnalyze -PrunWithDependencyCheck
91
91
- run :
92
92
name : Run Unit Tests
93
93
command : ./gradlew test --daemon
Original file line number Diff line number Diff line change
1
+ ## 2.5.4 (May 11, 2022)
2
+ * Made an automated vulnerability check run in CI/CD
3
+
1
4
## 2.5.3 (May 06, 2022)
2
5
* Add an automated vulnerability check
3
6
Original file line number Diff line number Diff line change @@ -3,7 +3,18 @@ apply plugin: 'java'
3
3
apply plugin : ' idea'
4
4
apply plugin : ' eclipse'
5
5
apply plugin : ' groovy'
6
- apply plugin : org.owasp.dependencycheck.gradle.DependencyCheckPlugin
6
+
7
+ if (hasProperty(' runWithDependencyCheck' )) {
8
+ apply plugin : org.owasp.dependencycheck.gradle.DependencyCheckPlugin
9
+
10
+ check. dependsOn dependencyCheckAnalyze
11
+
12
+ dependencyCheck {
13
+ format = ' HTML'
14
+ failBuildOnCVSS = 7
15
+ suppressionFile= ' ./dependencyCheck-suppression.xml'
16
+ }
17
+ }
7
18
8
19
sourceSets {
9
20
integrationTest {
@@ -72,23 +83,12 @@ dependencies {
72
83
testCompile ' org.spockframework:spock-core:1.1-groovy-2.4'
73
84
}
74
85
75
- check. dependsOn dependencyCheckAnalyze
76
-
77
- dependencyCheck {
78
- format = ' ALL'
79
- // Dependency Check script will fail in case there are critical (9.0-10.0) vulnerabilities.
80
- // It should be configured to 7 (high and critical), but so far is not possible as 'axis' library
81
- // and log4j issues which does not have any updates that solve the problem
82
- failBuildOnCVSS = 7
83
- suppressionFile= ' ./dependencyCheck-suppression.xml'
84
- }
85
-
86
86
buildscript {
87
87
repositories {
88
88
mavenCentral()
89
89
}
90
90
dependencies {
91
- classpath ' org.owasp:dependency-check-gradle:6.0.3 '
91
+ classpath ' org.owasp:dependency-check-gradle:7.1.0.1 '
92
92
}
93
93
}
94
94
Original file line number Diff line number Diff line change 1
1
{
2
2
"title" : " Database" ,
3
3
"description" : " Database JDBC connector" ,
4
- "version" : " 2.5.3 " ,
4
+ "version" : " 2.5.4 " ,
5
5
"credentials" : {
6
6
"verifier" : " io.elastic.jdbc.JdbcCredentialsVerifier" ,
7
7
"fields" : {
You can’t perform that action at this time.
0 commit comments