diff --git a/.build/build-owasp.xml b/.build/build-owasp.xml index 3aa0723dc7..3e34b6f2bb 100644 --- a/.build/build-owasp.xml +++ b/.build/build-owasp.xml @@ -16,32 +16,50 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License. --> - - - - + + + + + + - - + + - + unless="dependency-check-ant.archive.present"> - Downloading OWASP Dependency checks ... - - - - - - - - + + - + + + + + + + + + Please set the nvd.api.key property to your NVD API key. It is recommended to put that property into your + ~/.ant/build.properties file. You can get your API key from https://nvd.nist.gov/developers/request-an-api-key + + + + Since the NVD database is pretty large, you should consider storing it in some persistent location to reuse + it between builds. You can do that by setting the nvd.data.dir property to a directory of your choice, + such as ~/.cache/ant/owasp/database for Linux or ~/Library/Caches/Ant/owasp/database for MacOS. + Putting that property into your ~/.ant/build.properties file is recommended. + + + + @@ -54,35 +72,39 @@ - - - + dataDirectory="${nvd.data.dir}" + suppressionFile="${build.helpers.dir}/owasp/dependency-check-suppressions.xml"> + + + + + + + + + diff --git a/.build/dependency-check-suppressions.xml b/.build/owasp/dependency-check-suppressions.xml similarity index 94% rename from .build/dependency-check-suppressions.xml rename to .build/owasp/dependency-check-suppressions.xml index a4d9bd28c7..3f2233d324 100644 --- a/.build/dependency-check-suppressions.xml +++ b/.build/owasp/dependency-check-suppressions.xml @@ -23,17 +23,13 @@ ^pkg:maven/org\.yaml/snakeyaml@.*$ - CVE-2023-2251 + CVE-2022-1471 CVE-2022-25857 CVE-2022-38749 CVE-2022-38750 CVE-2022-38751 CVE-2022-38752 CVE-2022-41854 - CVE-2022-1471 - CVE-2022-3064 - CVE-2021-4235 - CVE-2017-18640