From 08de4a5a0911882c0c93111800c9a0591ff4c502 Mon Sep 17 00:00:00 2001 From: Sascha Knoop Date: Fri, 26 Sep 2025 19:12:53 +0200 Subject: [PATCH 1/2] missing disclaimer header --- .../score/parsers/ScnrReader.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/plugin/src/main/java/org/owasp/benchmarkutils/score/parsers/ScnrReader.java b/plugin/src/main/java/org/owasp/benchmarkutils/score/parsers/ScnrReader.java index 5d4fa534..e0819912 100644 --- a/plugin/src/main/java/org/owasp/benchmarkutils/score/parsers/ScnrReader.java +++ b/plugin/src/main/java/org/owasp/benchmarkutils/score/parsers/ScnrReader.java @@ -1,3 +1,20 @@ +/** + * OWASP Benchmark Project + * + *

This file is part of the Open Web Application Security Project (OWASP) Benchmark Project For + * details, please see https://owasp.org/www-project-benchmark/. + * + *

The OWASP Benchmark is free software: you can redistribute it and/or modify it under the terms + * of the GNU General Public License as published by the Free Software Foundation, version 2. + * + *

The OWASP Benchmark is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details + * + * @author Sascha Knoop + * @created 2024 + */ package org.owasp.benchmarkutils.score.parsers; import static java.lang.Integer.parseInt; From 4d88b36560dde5c5f26936561ad7ea326c981727 Mon Sep 17 00:00:00 2001 From: Sascha Knoop Date: Fri, 26 Sep 2025 19:12:53 +0200 Subject: [PATCH 2/2] missing disclaimer header --- .../org/owasp/benchmarkutils/tools/Logger.java | 17 +++++++++++++++++ .../tools/LoggerConfigurationException.java | 17 +++++++++++++++++ .../score/builder/ToolResultsBuilder.java | 17 +++++++++++++++++ .../score/parsers/ReaderTest.java | 17 +++++++++++++++++ .../score/parsers/ReaderTestBase.java | 17 +++++++++++++++++ .../score/parsers/ScnrReaderTest.java | 17 +++++++++++++++++ .../score/parsers/VeracodeReaderTest.java | 17 +++++++++++++++++ 7 files changed, 119 insertions(+) diff --git a/plugin/src/main/java/org/owasp/benchmarkutils/tools/Logger.java b/plugin/src/main/java/org/owasp/benchmarkutils/tools/Logger.java index b063ec8a..0a2ffcc9 100644 --- a/plugin/src/main/java/org/owasp/benchmarkutils/tools/Logger.java +++ b/plugin/src/main/java/org/owasp/benchmarkutils/tools/Logger.java @@ -1,3 +1,20 @@ +/** + * OWASP Benchmark Project + * + *

This file is part of the Open Web Application Security Project (OWASP) Benchmark Project For + * details, please see https://owasp.org/www-project-benchmark/. + * + *

The OWASP Benchmark is free software: you can redistribute it and/or modify it under the terms + * of the GNU General Public License as published by the Free Software Foundation, version 2. + * + *

The OWASP Benchmark is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details + * + * @author Dave Wichers + * @created 2021 + */ package org.owasp.benchmarkutils.tools; public interface Logger { diff --git a/plugin/src/main/java/org/owasp/benchmarkutils/tools/LoggerConfigurationException.java b/plugin/src/main/java/org/owasp/benchmarkutils/tools/LoggerConfigurationException.java index c9213b02..472a78e8 100644 --- a/plugin/src/main/java/org/owasp/benchmarkutils/tools/LoggerConfigurationException.java +++ b/plugin/src/main/java/org/owasp/benchmarkutils/tools/LoggerConfigurationException.java @@ -1,3 +1,20 @@ +/** + * OWASP Benchmark Project + * + *

This file is part of the Open Web Application Security Project (OWASP) Benchmark Project For + * details, please see https://owasp.org/www-project-benchmark/. + * + *

The OWASP Benchmark is free software: you can redistribute it and/or modify it under the terms + * of the GNU General Public License as published by the Free Software Foundation, version 2. + * + *

The OWASP Benchmark is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details + * + * @author Dave Wichers + * @created 2021 + */ package org.owasp.benchmarkutils.tools; public class LoggerConfigurationException extends Exception { diff --git a/plugin/src/test/java/org/owasp/benchmarkutils/score/builder/ToolResultsBuilder.java b/plugin/src/test/java/org/owasp/benchmarkutils/score/builder/ToolResultsBuilder.java index cf969e20..2b51510b 100644 --- a/plugin/src/test/java/org/owasp/benchmarkutils/score/builder/ToolResultsBuilder.java +++ b/plugin/src/test/java/org/owasp/benchmarkutils/score/builder/ToolResultsBuilder.java @@ -1,3 +1,20 @@ +/** + * OWASP Benchmark Project + * + *

This file is part of the Open Web Application Security Project (OWASP) Benchmark Project For + * details, please see https://owasp.org/www-project-benchmark/. + * + *

The OWASP Benchmark is free software: you can redistribute it and/or modify it under the terms + * of the GNU General Public License as published by the Free Software Foundation, version 2. + * + *

The OWASP Benchmark is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details + * + * @author Sascha Knoop + * @created 2024 + */ package org.owasp.benchmarkutils.score.builder; import java.util.HashSet; diff --git a/plugin/src/test/java/org/owasp/benchmarkutils/score/parsers/ReaderTest.java b/plugin/src/test/java/org/owasp/benchmarkutils/score/parsers/ReaderTest.java index 1a6fd05a..9063d7fb 100644 --- a/plugin/src/test/java/org/owasp/benchmarkutils/score/parsers/ReaderTest.java +++ b/plugin/src/test/java/org/owasp/benchmarkutils/score/parsers/ReaderTest.java @@ -1,3 +1,20 @@ +/** + * OWASP Benchmark Project + * + *

This file is part of the Open Web Application Security Project (OWASP) Benchmark Project For + * details, please see https://owasp.org/www-project-benchmark/. + * + *

The OWASP Benchmark is free software: you can redistribute it and/or modify it under the terms + * of the GNU General Public License as published by the Free Software Foundation, version 2. + * + *

The OWASP Benchmark is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details + * + * @author Sascha Knoop + * @created 2022 + */ package org.owasp.benchmarkutils.score.parsers; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/plugin/src/test/java/org/owasp/benchmarkutils/score/parsers/ReaderTestBase.java b/plugin/src/test/java/org/owasp/benchmarkutils/score/parsers/ReaderTestBase.java index ebccb520..a3ca4663 100644 --- a/plugin/src/test/java/org/owasp/benchmarkutils/score/parsers/ReaderTestBase.java +++ b/plugin/src/test/java/org/owasp/benchmarkutils/score/parsers/ReaderTestBase.java @@ -1,3 +1,20 @@ +/** + * OWASP Benchmark Project + * + *

This file is part of the Open Web Application Security Project (OWASP) Benchmark Project For + * details, please see https://owasp.org/www-project-benchmark/. + * + *

The OWASP Benchmark is free software: you can redistribute it and/or modify it under the terms + * of the GNU General Public License as published by the Free Software Foundation, version 2. + * + *

The OWASP Benchmark is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details + * + * @author Sascha Knoop + * @created 2022 + */ package org.owasp.benchmarkutils.score.parsers; import static java.util.Collections.singletonList; diff --git a/plugin/src/test/java/org/owasp/benchmarkutils/score/parsers/ScnrReaderTest.java b/plugin/src/test/java/org/owasp/benchmarkutils/score/parsers/ScnrReaderTest.java index b89883f0..7ed8beff 100644 --- a/plugin/src/test/java/org/owasp/benchmarkutils/score/parsers/ScnrReaderTest.java +++ b/plugin/src/test/java/org/owasp/benchmarkutils/score/parsers/ScnrReaderTest.java @@ -1,3 +1,20 @@ +/** + * OWASP Benchmark Project + * + *

This file is part of the Open Web Application Security Project (OWASP) Benchmark Project For + * details, please see https://owasp.org/www-project-benchmark/. + * + *

The OWASP Benchmark is free software: you can redistribute it and/or modify it under the terms + * of the GNU General Public License as published by the Free Software Foundation, version 2. + * + *

The OWASP Benchmark is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details + * + * @author Sascha Knoop + * @created 2024 + */ package org.owasp.benchmarkutils.score.parsers; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/plugin/src/test/java/org/owasp/benchmarkutils/score/parsers/VeracodeReaderTest.java b/plugin/src/test/java/org/owasp/benchmarkutils/score/parsers/VeracodeReaderTest.java index 618fbbaf..cda27e48 100644 --- a/plugin/src/test/java/org/owasp/benchmarkutils/score/parsers/VeracodeReaderTest.java +++ b/plugin/src/test/java/org/owasp/benchmarkutils/score/parsers/VeracodeReaderTest.java @@ -1,3 +1,20 @@ +/** + * OWASP Benchmark Project + * + *

This file is part of the Open Web Application Security Project (OWASP) Benchmark Project For + * details, please see https://owasp.org/www-project-benchmark/. + * + *

The OWASP Benchmark is free software: you can redistribute it and/or modify it under the terms + * of the GNU General Public License as published by the Free Software Foundation, version 2. + * + *

The OWASP Benchmark is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details + * + * @author Barath Raj + * @created 2023 + */ package org.owasp.benchmarkutils.score.parsers; import org.junit.jupiter.api.BeforeEach;