File tree Expand file tree Collapse file tree 4 files changed +53
-1
lines changed Expand file tree Collapse file tree 4 files changed +53
-1
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.0.5 (May 6, 2022)
2
+ * Add an automated vulnerability check
3
+
1
4
## 1.0.4 (April 08, 2022)
2
5
* Updated the Sailor version to 3.3.9
3
6
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apply plugin: 'groovy'
3
3
apply plugin : ' idea'
4
4
apply plugin : ' eclipse'
5
5
apply plugin : ' java-library-distribution'
6
+ apply plugin : org.owasp.dependencycheck.gradle.DependencyCheckPlugin
6
7
7
8
group = ' io.elastic'
8
9
@@ -48,6 +49,26 @@ uploadArchives {
48
49
}
49
50
}
50
51
52
+ check. dependsOn dependencyCheckAnalyze
53
+
54
+ dependencyCheck {
55
+ format = ' ALL'
56
+ // Dependency Check script will fail in case there are critical (9.0-10.0) vulnerabilities.
57
+ // It should be configured to 7 (high and critical), but so far is not possible as 'axis' library
58
+ // and log4j issues which does not have any updates that solve the problem
59
+ failBuildOnCVSS = 7
60
+ suppressionFile= ' ./dependencyCheck-suppression.xml'
61
+ }
62
+
63
+ buildscript {
64
+ repositories {
65
+ mavenCentral()
66
+ }
67
+ dependencies {
68
+ classpath ' org.owasp:dependency-check-gradle:6.0.3'
69
+ }
70
+ }
71
+
51
72
wrapper {
52
73
gradleVersion = ' 5.4.1'
53
74
}
Original file line number Diff line number Diff line change 2
2
"title" : " Petstore API (Java)" ,
3
3
"description" : " elastic.io component for the Petstore API" ,
4
4
"docsUrl" : " https://github.com/elasticio/petstore-component-java" ,
5
- "version" : " 1.0.4 " ,
5
+ "version" : " 1.0.5 " ,
6
6
"credentials" : {
7
7
"fields" : {
8
8
"apiKey" : {
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <suppressions xmlns =" https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd" >
3
+ <suppress >
4
+ <notes ><![CDATA[
5
+ file name: logback-jackson-0.1.5.jar
6
+ ]]>
7
+ </notes >
8
+ <packageUrl regex =" true" >^pkg:maven/ch\.qos\.logback\.contrib/logback\-jackson@.*$</packageUrl >
9
+ <cve >CVE-2017-5929</cve >
10
+ <cve >CVE-2021-42550</cve >
11
+ </suppress >
12
+ <suppress >
13
+ <notes ><![CDATA[
14
+ file name: logback-json-classic-0.1.5.jar
15
+ ]]>
16
+ </notes >
17
+ <packageUrl regex =" true" >^pkg:maven/ch\.qos\.logback\.contrib/logback\-json\-classic@.*$</packageUrl >
18
+ <cpe >cpe:/a:qos:logback</cpe >
19
+ </suppress >
20
+ <suppress >
21
+ <notes ><![CDATA[
22
+ file name: logback-json-core-0.1.5.jar
23
+ ]]>
24
+ </notes >
25
+ <packageUrl regex =" true" >^pkg:maven/ch\.qos\.logback\.contrib/logback\-json\-core@.*$</packageUrl >
26
+ <cpe >cpe:/a:qos:logback</cpe >
27
+ </suppress >
28
+ </suppressions >
You can’t perform that action at this time.
0 commit comments