File tree Expand file tree Collapse file tree 6 files changed +57
-10
lines changed
library/src/main/resources
src/main/java/org/owasp/benchmarkutils/score/parsers Expand file tree Collapse file tree 6 files changed +57
-10
lines changed Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99
1010 steps :
11- - uses : actions/checkout@v5
11+ - uses : actions/checkout@v6
1212 with :
1313 fetch-depth : 0
1414 - name : Set up JDK 11
Original file line number Diff line number Diff line change 123123 <isInjection >true</isInjection >
124124 <shortname >SQLI</shortname >
125125 </category >
126+ <category >
127+ <id >tempfile</id >
128+ <name >Insecure Temporary File</name >
129+ <cwe >377</cwe >
130+ <childof >668</childof >
131+ <parentof >378,379</parentof >
132+ <shortname >TEMP</shortname >
133+ </category >
126134 <category >
127135 <id >trustbound</id >
128136 <name >Trust Boundary</name >
Original file line number Diff line number Diff line change 7373 <dependency >
7474 <groupId >commons-cli</groupId >
7575 <artifactId >commons-cli</artifactId >
76- <version >1.10 .0</version >
76+ <version >1.11 .0</version >
7777 </dependency >
7878
7979 <dependency >
8080 <groupId >commons-io</groupId >
8181 <artifactId >commons-io</artifactId >
82- <version >2.20 .0</version >
82+ <version >2.21 .0</version >
8383 </dependency >
8484
8585 <dependency >
9797 <dependency >
9898 <groupId >org.apache.commons</groupId >
9999 <artifactId >commons-lang3</artifactId >
100- <version >3.19 .0</version >
100+ <version >3.20 .0</version >
101101 </dependency >
102102
103103 <dependency >
122122 <dependency >
123123 <groupId >org.apache.maven.plugin-tools</groupId >
124124 <artifactId >maven-plugin-annotations</artifactId >
125- <version >3.15.1 </version >
125+ <version >3.15.2 </version >
126126 <scope >provided</scope >
127127 </dependency >
128128
193193 </build >
194194
195195 <properties >
196- <version .fasterxml.jackson>2.20.0 </version .fasterxml.jackson>
196+ <version .fasterxml.jackson>2.20.1 </version .fasterxml.jackson>
197197 <!-- 3.0.3+ version of eclipse.persistence requires jakarta.xml.bind instead of jaxb -->
198198 <version .eclipse.persistence>2.7.15</version .eclipse.persistence>
199199 <version .junit.jupiter>5.13.4</version .junit.jupiter>
Original file line number Diff line number Diff line change 1+ /**
2+ * OWASP Benchmark Project
3+ *
4+ * <p>This file is part of the Open Web Application Security Project (OWASP) Benchmark Project For
5+ * details, please see <a
6+ * href="https://owasp.org/www-project-benchmark/">https://owasp.org/www-project-benchmark/</a>.
7+ *
8+ * <p>The OWASP Benchmark is free software: you can redistribute it and/or modify it under the terms
9+ * of the GNU General Public License as published by the Free Software Foundation, version 2.
10+ *
11+ * <p>The OWASP Benchmark is distributed in the hope that it will be useful, but WITHOUT ANY
12+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13+ * PURPOSE. See the GNU General Public License for more details.
14+ *
15+ * @author Dave Wichers
16+ * @created 2025
17+ */
18+ package org .owasp .benchmarkutils .score .parsers .sarif ;
19+
20+ import org .owasp .benchmarkutils .score .ResultFile ;
21+
22+ /**
23+ * This reader is made for the datadog-static-analyzer available on <a
24+ * href="https://github.com/DataDog/datadog-static-analyzer">...</a>. It uses the SARIF file
25+ * produces by the tool.
26+ */
27+ public class BanditReader extends SarifReader {
28+
29+ public BanditReader () {
30+ super ("Bandit" , false , CweSourceType .TAG );
31+ }
32+
33+ @ Override
34+ public String toolName (ResultFile resultFile ) {
35+ return "Bandit" ;
36+ }
37+ }
Original file line number Diff line number Diff line change 3030import org .owasp .benchmarkutils .score .TestSuiteResults ;
3131import org .owasp .benchmarkutils .score .parsers .csv .SemgrepCSVReader ;
3232import org .owasp .benchmarkutils .score .parsers .csv .WhiteHatDynamicReader ;
33+ import org .owasp .benchmarkutils .score .parsers .sarif .BanditReader ;
3334import org .owasp .benchmarkutils .score .parsers .sarif .CodeQLReader ;
3435import org .owasp .benchmarkutils .score .parsers .sarif .ContrastScanReader ;
3536import org .owasp .benchmarkutils .score .parsers .sarif .DatadogSastReader ;
@@ -56,6 +57,7 @@ public static List<Reader> allReaders() {
5657 new AppScanDynamicReader (),
5758 new AppScanSourceReader (),
5859 new ArachniReader (),
60+ new BanditReader (),
5961 new BearerReader (),
6062 new BlackDuckReader (),
6163 new BurpJsonReader (),
Original file line number Diff line number Diff line change 111111 <plugin >
112112 <groupId >org.apache.maven.plugins</groupId >
113113 <artifactId >maven-plugin-plugin</artifactId >
114- <version >3.15.1 </version >
114+ <version >3.15.2 </version >
115115 </plugin >
116116 <plugin >
117117 <groupId >org.apache.maven.plugins</groupId >
118118 <artifactId >maven-release-plugin</artifactId >
119- <version >3.1.1 </version >
119+ <version >3.2.0 </version >
120120 </plugin >
121121 </plugins >
122122 </pluginManagement >
225225 <plugin >
226226 <groupId >org.apache.maven.plugins</groupId >
227227 <artifactId >maven-jar-plugin</artifactId >
228- <version >3.4.2 </version >
228+ <version >3.5.0 </version >
229229 </plugin >
230230
231231 <plugin >
270270 <plugin >
271271 <groupId >org.codehaus.mojo</groupId >
272272 <artifactId >versions-maven-plugin</artifactId >
273- <version >2.19 .1</version >
273+ <version >2.20 .1</version >
274274 </plugin >
275275
276276 <plugin >
You can’t perform that action at this time.
0 commit comments