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 159159 <isInjection >true</isInjection >
160160 <shortname >SQLI</shortname >
161161 </category >
162+ <category >
163+ <id >tempfile</id >
164+ <name >Insecure Temporary File</name >
165+ <cwe >377</cwe >
166+ <childof >668</childof >
167+ <parentof >378,379</parentof >
168+ <shortname >TEMP</shortname >
169+ </category >
162170 <category >
163171 <id >trustbound</id >
164172 <name >Trust Boundary</name >
Original file line number Diff line number Diff line change 5959 <dependency >
6060 <groupId >commons-cli</groupId >
6161 <artifactId >commons-cli</artifactId >
62- <version >1.10 .0</version >
62+ <version >1.11 .0</version >
6363 </dependency >
6464
6565 <dependency >
6666 <groupId >commons-io</groupId >
6767 <artifactId >commons-io</artifactId >
68- <version >2.20 .0</version >
68+ <version >2.21 .0</version >
6969 </dependency >
7070
7171 <dependency >
8383 <dependency >
8484 <groupId >org.apache.commons</groupId >
8585 <artifactId >commons-lang3</artifactId >
86- <version >3.19 .0</version >
86+ <version >3.20 .0</version >
8787 </dependency >
8888
8989 <dependency >
108108 <dependency >
109109 <groupId >org.apache.maven.plugin-tools</groupId >
110110 <artifactId >maven-plugin-annotations</artifactId >
111- <version >3.15.1 </version >
111+ <version >3.15.2 </version >
112112 <scope >provided</scope >
113113 </dependency >
114114
192192 </build >
193193
194194 <properties >
195- <version .fasterxml.jackson>2.20.0 </version .fasterxml.jackson>
195+ <version .fasterxml.jackson>2.20.1 </version .fasterxml.jackson>
196196 <!-- 3.0.3+ version of eclipse.persistence requires jakarta.xml.bind instead of jaxb -->
197197 <version .eclipse.persistence>2.7.15</version .eclipse.persistence>
198198 <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 .CodeSonarReader ;
3536import org .owasp .benchmarkutils .score .parsers .sarif .ContrastScanReader ;
@@ -58,6 +59,7 @@ public static List<Reader> allReaders() {
5859 new AppScanDynamicReader (),
5960 new AppScanSourceReader (),
6061 new ArachniReader (),
62+ new BanditReader (),
6163 new BearerReader (),
6264 new BlackDuckReader (),
6365 new BurpJsonReader (),
Original file line number Diff line number Diff line change 5353 <plugin >
5454 <groupId >org.apache.maven.plugins</groupId >
5555 <artifactId >maven-plugin-plugin</artifactId >
56- <version >3.15.1 </version >
56+ <version >3.15.2 </version >
5757 </plugin >
5858 <plugin >
5959 <groupId >org.apache.maven.plugins</groupId >
6060 <artifactId >maven-release-plugin</artifactId >
61- <version >3.1.1 </version >
61+ <version >3.2.0 </version >
6262 </plugin >
6363 </plugins >
6464 </pluginManagement >
167167 <plugin >
168168 <groupId >org.apache.maven.plugins</groupId >
169169 <artifactId >maven-jar-plugin</artifactId >
170- <version >3.4.2 </version >
170+ <version >3.5.0 </version >
171171 </plugin >
172172
173173 <plugin >
212212 <plugin >
213213 <groupId >org.codehaus.mojo</groupId >
214214 <artifactId >versions-maven-plugin</artifactId >
215- <version >2.19 .1</version >
215+ <version >2.20 .1</version >
216216 </plugin >
217217
218218 <plugin >
You can’t perform that action at this time.
0 commit comments