diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b2611f13cc..6473043139 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 # Get full history for spotless ratchetFrom with: fetch-depth: 0 diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml index 29e50a43e2..5b79bcade4 100644 --- a/.github/workflows/maven.yaml +++ b/.github/workflows/maven.yaml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 - name: Set up JDK 17 diff --git a/pom.xml b/pom.xml index cfb4385876..97e2f23175 100644 --- a/pom.xml +++ b/pom.xml @@ -663,13 +663,13 @@ org.slf4j slf4j-reload4j - 2.0.17 + 2.0.18 org.apache.directory.api api-ldap-model - ${version.apache.api-ldap} + 2.1.7 @@ -783,7 +783,7 @@ org.apache.httpcomponents.core5 httpcore5 - 5.4.2 + 5.4.3 @@ -866,7 +866,7 @@ com.fasterxml.jackson.core jackson-databind - 2.21.3 + 2.22.0 @@ -902,7 +902,7 @@ org.apache.maven.plugins maven-dependency-plugin - 3.10.0 + 3.11.0 com.sun.jersey:jersey-servlet @@ -954,7 +954,7 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.6.2 + 3.6.3 org.codehaus.mojo @@ -1036,7 +1036,7 @@ org.apache.maven.plugins maven-site-plugin - 3.21.0 + 3.22.0 @@ -1050,7 +1050,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.5.5 + 3.5.6 @@ -1116,7 +1116,7 @@ com.diffplug.spotless spotless-maven-plugin - 3.4.0 + 3.7.0 origin/master @@ -1255,13 +1255,13 @@ ${project.build.directory}/log - 2.1.7 + 2.1.8 2.0.0.AM27 2.1.0 3.6.10.Final - 4.9.8.3 - 4.9.8 + 4.10.2.0 + 4.10.2 5.3.39 diff --git a/scripts/runCognium.sh b/scripts/runCognium.sh new file mode 100755 index 0000000000..198fc420af --- /dev/null +++ b/scripts/runCognium.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +# Install: npm install -g cognium +# Check for install/updates at https://github.com/cogniumhq/cognium + +source scripts/requireCommand.sh + +requireCommand cognium + +benchmark_version=$(scripts/getBenchmarkVersion.sh 2>/dev/null | grep -E '^[0-9]+\.[0-9]') +cognium_version=$(cognium --version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+') +result_file="results/Benchmark_$benchmark_version-cognium-v$cognium_version.sarif" + +cognium scan src/main/java --format sarif --category security --output "$result_file" diff --git a/scripts/runOpenTaint.sh b/scripts/runOpenTaint.sh new file mode 100755 index 0000000000..c65a1b988e --- /dev/null +++ b/scripts/runOpenTaint.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +# Check for install/updates at https://github.com/seqra/opentaint + +source scripts/requireCommand.sh + +requireCommand docker + +docker pull ghcr.io/seqra/opentaint + +benchmark_version=$(scripts/getBenchmarkVersion.sh 2>/dev/null | tail -1) +opentaint_version=$(docker run --rm ghcr.io/seqra/opentaint opentaint --version | awk '{print $NF}') +result_file="/project/results/Benchmark_$benchmark_version-OpenTaint-$opentaint_version.sarif" + +docker run --rm -v $(pwd):/project \ + ghcr.io/seqra/opentaint:latest \ + opentaint scan \ + --severity error \ + --severity warning \ + --severity note \ + --output "$result_file" /project