From 6e4fcb6af105f80ca4c1a17b2b6ec58c2c138a3d Mon Sep 17 00:00:00 2001 From: HonestJim Date: Tue, 10 Sep 2024 14:16:41 -0400 Subject: [PATCH 1/2] Update DashboardControllerTest.java --- DashboardControllerTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/DashboardControllerTest.java b/DashboardControllerTest.java index 5b78cae..514def0 100644 --- a/DashboardControllerTest.java +++ b/DashboardControllerTest.java @@ -21,6 +21,7 @@ import org.springframework.web.context.WebApplicationContext; /* I am a comment */ /* I am a comment */ +/* I am a comment */ From 73d315391549781638caf0f3b838dd377de8ea44 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 10 Sep 2024 18:17:11 +0000 Subject: [PATCH 2/2] Adding license findings via GitHub Actions --- ...dControllerTest.java-snippet-analysis.json | 447 +++++------------- snippet-analysis.sarif | 251 ++-------- 2 files changed, 141 insertions(+), 557 deletions(-) diff --git a/.snippet-licenses/DashboardControllerTest.java-snippet-analysis.json b/.snippet-licenses/DashboardControllerTest.java-snippet-analysis.json index c9d40ca..c871f19 100644 --- a/.snippet-licenses/DashboardControllerTest.java-snippet-analysis.json +++ b/.snippet-licenses/DashboardControllerTest.java-snippet-analysis.json @@ -16,7 +16,7 @@ 3 ], "sourceEndLines": [ - 28 + 30 ], "matchedStartLines": [ 21 @@ -40,7 +40,7 @@ 3 ], "sourceEndLines": [ - 28 + 30 ], "matchedStartLines": [ 3 @@ -50,31 +50,6 @@ ] } }, - { - "projectName": "Chambua", - "releaseVersion": "master-20131002", - "licenseDefinition": { - "name": "GNU Affero General Public License v3.0", - "spdxId": "AGPL-3.0", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "GNU Affero General Public License v3.0" - }, - "matchedFilePath": "/ushahidi-Chambua-d0295b8/src/test/java/com/ushahidi/chambua/web/controller/TagsControllerTest.java", - "regions": { - "sourceStartLines": [ - 3 - ], - "sourceEndLines": [ - 28 - ], - "matchedStartLines": [ - 21 - ], - "matchedEndLines": [ - 45 - ] - } - }, { "projectName": "Hygieia/Hygieia", "releaseVersion": "v3.0.0", @@ -101,50 +76,51 @@ } }, { - "projectName": "spring-framework-issues", - "releaseVersion": "20170719-snapshot-58373764", + "projectName": "Chambua", + "releaseVersion": "master-20131002", "licenseDefinition": { - "name": "Unknown License", - "ownership": "UNKNOWN", - "licenseDisplayName": "Unknown License" + "name": "GNU Affero General Public License v3.0", + "spdxId": "AGPL-3.0", + "ownership": "OPEN_SOURCE", + "licenseDisplayName": "GNU Affero General Public License v3.0" }, - "matchedFilePath": "/spring-framework-issues-58373764c89326359bf0a9a8584e1d306973f301/SPR-9964/src/test/java/org/springframework/issues/test2/Test2ControllerTests.java", + "matchedFilePath": "/ushahidi-Chambua-d0295b8/src/test/java/com/ushahidi/chambua/web/controller/TagsControllerTest.java", "regions": { "sourceStartLines": [ 3 ], "sourceEndLines": [ - 28 + 30 ], "matchedStartLines": [ - 3 + 21 ], "matchedEndLines": [ - 20 + 45 ] } }, { - "projectName": "skprasadu/spring-mvc-rest", - "releaseVersion": "20121022-snapshot-eb316d47", + "projectName": "spring-framework-issues", + "releaseVersion": "20170719-snapshot-58373764", "licenseDefinition": { "name": "Unknown License", "ownership": "UNKNOWN", "licenseDisplayName": "Unknown License" }, - "matchedFilePath": "/spring-mvc-rest-eb316d47550da824fdd4bdeff7f2454b53df4f33/src/test/java/com/goSmarter/activiti/loanrequest/web/LoanRequestControllerWithSpringTestMvcTest.java", + "matchedFilePath": "/spring-framework-issues-58373764c89326359bf0a9a8584e1d306973f301/SPR-9964/src/test/java/org/springframework/issues/test2/Test2ControllerTests.java", "regions": { "sourceStartLines": [ - 4 + 3 ], "sourceEndLines": [ - 28 + 30 ], "matchedStartLines": [ - 15 + 3 ], "matchedEndLines": [ - 38 + 20 ] } } @@ -162,7 +138,7 @@ 3 ], "sourceEndLines": [ - 28 + 30 ], "matchedStartLines": [ 20 @@ -172,28 +148,6 @@ ] } }, - { - "projectName": "naver/pinpoint", - "releaseVersion": "1.6.0-RC1", - "licenseDefinition": { - "licenseDisplayName": "(libxml2 License AND GNU General Public License v2.0 or later AND Apache License 2.0 AND MIT License AND Creative Commons Public Domain Dedication and Certification AND Public Domain)" - }, - "matchedFilePath": "/pinpoint-e180edf8705599575563056fa677e5f5a58719af/web/src/test/java/com/navercorp/pinpoint/web/controller/UserControllerTest.java", - "regions": { - "sourceStartLines": [ - 3 - ], - "sourceEndLines": [ - 28 - ], - "matchedStartLines": [ - 20 - ], - "matchedEndLines": [ - 48 - ] - } - }, { "projectName": "naver/pinpoint", "releaseVersion": "1.5.2", @@ -206,7 +160,7 @@ 3 ], "sourceEndLines": [ - 28 + 30 ], "matchedStartLines": [ 19 @@ -218,73 +172,45 @@ }, { "projectName": "naver/pinpoint", - "releaseVersion": "1.6.1-RC1", + "releaseVersion": "1.6.0-RC1", "licenseDefinition": { "licenseDisplayName": "(libxml2 License AND GNU General Public License v2.0 or later AND Apache License 2.0 AND MIT License AND Creative Commons Public Domain Dedication and Certification AND Public Domain)" }, - "matchedFilePath": "/pinpoint-ec5ac8936a86c6a78058ea61e17c72b149417e85/web/src/test/java/com/navercorp/pinpoint/web/controller/UserGroupControllerTest.java", + "matchedFilePath": "/pinpoint-e180edf8705599575563056fa677e5f5a58719af/web/src/test/java/com/navercorp/pinpoint/web/controller/UserControllerTest.java", "regions": { "sourceStartLines": [ 3 ], "sourceEndLines": [ - 28 + 30 ], "matchedStartLines": [ 20 ], "matchedEndLines": [ - 59 - ] - } - }, - { - "projectName": "MeV", - "releaseVersion": "v0.0.1", - "licenseDefinition": { - "name": "GNU General Public License v3.0 only", - "spdxId": "GPL-3.0-only", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "GNU General Public License v3.0 only" - }, - "matchedFilePath": "/mev-0903ddc6ed501249e010b7d12731beab19b06521/web/src/test/java/edu/dfci/cccb/mev/web/test/annotation/domain/probe/configuration/TestAnnotationServerConfiguration.java", - "regions": { - "sourceStartLines": [ - 3 - ], - "sourceEndLines": [ - 28 - ], - "matchedStartLines": [ - 4 - ], - "matchedEndLines": [ - 37 + 48 ] } }, { - "projectName": "MeV", - "releaseVersion": "v0.0.2", + "projectName": "naver/pinpoint", + "releaseVersion": "1.6.1-RC1", "licenseDefinition": { - "name": "GNU General Public License v3.0 only", - "spdxId": "GPL-3.0-only", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "GNU General Public License v3.0 only" + "licenseDisplayName": "(libxml2 License AND GNU General Public License v2.0 or later AND Apache License 2.0 AND MIT License AND Creative Commons Public Domain Dedication and Certification AND Public Domain)" }, - "matchedFilePath": "/mev-2ccf21577976a78b48aab45192291fe6860ccc8e/web/src/test/java/edu/dfci/cccb/mev/web/test/annotation/domain/probe/configuration/TestAnnotationServerConfiguration.java", + "matchedFilePath": "/pinpoint-ec5ac8936a86c6a78058ea61e17c72b149417e85/web/src/test/java/com/navercorp/pinpoint/web/controller/UserGroupControllerTest.java", "regions": { "sourceStartLines": [ 3 ], "sourceEndLines": [ - 28 + 20 ], "matchedStartLines": [ - 4 + 20 ], "matchedEndLines": [ - 36 + 44 ] } }, @@ -300,7 +226,7 @@ 3 ], "sourceEndLines": [ - 28 + 30 ], "matchedStartLines": [ 19 @@ -309,34 +235,31 @@ 41 ] } - } - ], - "WEAK_RECIPROCAL": [ + }, { - "projectName": "GeoWebCache", - "releaseVersion": "1.15.2", + "projectName": "Chambua", + "releaseVersion": "20151201-snapshot-9b1ed54a", "licenseDefinition": { - "name": "GNU Lesser General Public License v3.0 or later", - "spdxId": "LGPL-3.0-or-later", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "GNU Lesser General Public License v3.0 or later" + "licenseDisplayName": "(GNU Affero General Public License v3.0 AND GNU General Public License v3.0 or later)" }, - "matchedFilePath": "/geowebcache-3d58228ff79d94eab593b47f48b759bac111ff68/geowebcache/rest/src/test/java/org/geowebcache/rest/controller/SeedControllerTest.java", + "matchedFilePath": "/Chambua-9b1ed54ad94413d529e4016e90b9dc36be850926/src/test/java/com/ushahidi/chambua/web/controller/TagsControllerTest.java", "regions": { "sourceStartLines": [ 3 ], "sourceEndLines": [ - 21 + 30 ], "matchedStartLines": [ - 17 + 21 ], "matchedEndLines": [ - 32 + 45 ] } - }, + } + ], + "WEAK_RECIPROCAL": [ { "projectName": "GeoWebCache", "releaseVersion": "1.14.5", @@ -352,13 +275,13 @@ 3 ], "sourceEndLines": [ - 21 + 20 ], "matchedStartLines": [ 17 ], "matchedEndLines": [ - 31 + 30 ] } }, @@ -377,7 +300,7 @@ 3 ], "sourceEndLines": [ - 28 + 30 ], "matchedStartLines": [ 4 @@ -386,81 +309,6 @@ 31 ] } - }, - { - "projectName": "GeoWebCache", - "releaseVersion": "1.21-RC", - "licenseDefinition": { - "name": "GNU Lesser General Public License v3.0 or later", - "spdxId": "LGPL-3.0-or-later", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "GNU Lesser General Public License v3.0 or later" - }, - "matchedFilePath": "/geowebcache-b7cd74a657441517a4f62016968464cd39488c88/geowebcache/rest/src/test/java/org/geowebcache/rest/controller/SeedControllerTest.java", - "regions": { - "sourceStartLines": [ - 3 - ], - "sourceEndLines": [ - 21 - ], - "matchedStartLines": [ - 23 - ], - "matchedEndLines": [ - 43 - ] - } - }, - { - "projectName": "jnshwu/spring-boot", - "releaseVersion": "v0.5.0.M5", - "licenseDefinition": { - "name": "Eclipse Public License 1.0", - "spdxId": "EPL-1.0", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "Eclipse Public License 1.0" - }, - "matchedFilePath": "/spring-boot-2c1ae04e6b55be5717e22b004fd498b3c992341a/spring-boot-samples/spring-boot-sample-data-jpa/src/test/java/org/springframework/boot/sample/data/jpa/SampleDataJpaApplicationTests.java", - "regions": { - "sourceStartLines": [ - 3 - ], - "sourceEndLines": [ - 21 - ], - "matchedStartLines": [ - 3 - ], - "matchedEndLines": [ - 18 - ] - } - }, - { - "projectName": "GeoWebCache", - "releaseVersion": "1.23.0", - "licenseDefinition": { - "name": "GNU Lesser General Public License v3.0 or later", - "spdxId": "LGPL-3.0-or-later", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "GNU Lesser General Public License v3.0 or later" - }, - "matchedFilePath": "/geowebcache-437ba9ba8468c6431945e3e988a330eb35012bee/geowebcache/rest/src/test/java/org/geowebcache/rest/controller/SeedControllerTest.java", - "regions": { - "sourceStartLines": [ - 3 - ], - "sourceEndLines": [ - 21 - ], - "matchedStartLines": [ - 25 - ], - "matchedEndLines": [ - 48 - ] - } } ], "PERMISSIVE": [ @@ -479,7 +327,7 @@ 3 ], "sourceEndLines": [ - 28 + 30 ], "matchedStartLines": [ 4 @@ -490,77 +338,27 @@ } }, { - "projectName": "Spring Boot", - "releaseVersion": "v0.5.0.M5", - "licenseDefinition": { - "name": "Apache License 2.0", - "spdxId": "Apache-2.0", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "Apache License 2.0" - }, - "matchedFilePath": "/spring-boot-3b71fd83a8788fd2164fc4d1dbead1be9efbade0/spring-boot-samples/spring-boot-sample-data-jpa/src/test/java/org/springframework/boot/sample/data/jpa/SampleDataJpaApplicationTests.java", - "regions": { - "sourceStartLines": [ - 3 - ], - "sourceEndLines": [ - 21 - ], - "matchedStartLines": [ - 3 - ], - "matchedEndLines": [ - 18 - ] - } - }, - { - "projectName": "Spring Framework", - "releaseVersion": "3.2.0.RC1", - "licenseDefinition": { - "name": "Apache License 2.0", - "spdxId": "Apache-2.0", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "Apache License 2.0" - }, - "matchedFilePath": "/spring-framework-3.2.0.RC1/spring-test-mvc/src/test/java/org/springframework/test/web/servlet/samples/context/JavaConfigTests.java", - "regions": { - "sourceStartLines": [ - 3 - ], - "sourceEndLines": [ - 21 - ], - "matchedStartLines": [ - 19 - ], - "matchedEndLines": [ - 35 - ] - } - }, - { - "projectName": "Spring Framework", - "releaseVersion": "3.2.0.RC2", + "projectName": "eugenp/tutorials", + "releaseVersion": "20180721-snapshot-ecb14dd8", "licenseDefinition": { - "name": "Apache License 2.0", - "spdxId": "Apache-2.0", + "name": "MIT License", + "spdxId": "MIT", "ownership": "OPEN_SOURCE", - "licenseDisplayName": "Apache License 2.0" + "licenseDisplayName": "MIT License" }, - "matchedFilePath": "/spring-framework-3.2.0.RC2/spring-test-mvc/src/test/java/org/springframework/test/web/servlet/samples/context/JavaConfigTests.java", + "matchedFilePath": "/tutorials-ecb14dd83486138717305d5d2b04732ae79bb959/spring-thymeleaf/src/test/java/com/baeldung/thymeleaf/controller/ExpressionUtilityObjectsControllerIntegrationTest.java", "regions": { "sourceStartLines": [ 3 ], "sourceEndLines": [ - 21 + 30 ], "matchedStartLines": [ - 19 + 5 ], "matchedEndLines": [ - 35 + 30 ] } }, @@ -573,269 +371,244 @@ "ownership": "OPEN_SOURCE", "licenseDisplayName": "MIT License" }, - "matchedFilePath": "/tutorials-2b67e2451587c868b91ffc3eb96dc43f54b8d87c/spring-security-mvc-custom/src/test/java/org/baeldung/web/interceptor/UserInterceptorIntegrationTest.java", + "matchedFilePath": "/tutorials-2b67e2451587c868b91ffc3eb96dc43f54b8d87c/spring-thymeleaf/src/test/java/com/baeldung/thymeleaf/controller/LayoutDialectControllerIntegrationTest.java", "regions": { "sourceStartLines": [ 3 ], "sourceEndLines": [ - 28 + 30 ], "matchedStartLines": [ - 3 + 5 ], "matchedEndLines": [ - 22 + 30 ] } }, { "projectName": "fastjson-alibaba", - "releaseVersion": "1.2.10", + "releaseVersion": "1.2.18", "licenseDefinition": { "name": "Apache License 2.0", "spdxId": "Apache-2.0", "ownership": "OPEN_SOURCE", "licenseDisplayName": "Apache License 2.0" }, - "matchedFilePath": "/fastjson-7524d7fa43cc5e43d466c9d2e2f5e13b479817a2/src/test/java/com/alibaba/json/bvt/support/spring/mock/testcase/FastJsonJsonViewTest.java", + "matchedFilePath": "/fastjson-9e254c90458c6c9707d3fa657a79eeaaf4502719/src/test/java/com/alibaba/json/bvt/support/spring/mock/testcase/FastJsonpHttpMessageConverter4Case1Test.java", "regions": { "sourceStartLines": [ 3 ], "sourceEndLines": [ - 28 + 30 ], "matchedStartLines": [ - 10 + 3 ], "matchedEndLines": [ - 37 + 29 ] } }, { - "projectName": "fastjson-alibaba", - "releaseVersion": "1.2.12", + "projectName": "Thymeleaf", + "releaseVersion": "thymeleafexamples-petclinic-20130317", "licenseDefinition": { "name": "Apache License 2.0", "spdxId": "Apache-2.0", "ownership": "OPEN_SOURCE", "licenseDisplayName": "Apache License 2.0" }, - "matchedFilePath": "/fastjson-d6501aec0546905e1ebc465a6b5eebf3c826aecb/src/test/java/com/alibaba/json/bvt/support/spring/mock/testcase/FastJsonHttpMessageConverter4Test.java", + "matchedFilePath": "/thymeleafexamples-petclinic-7683632008afdaadac164ebce77bada8906fd123/src/test/java/org/springframework/samples/petclinic/web/VisitsViewTest.java", "regions": { "sourceStartLines": [ 3 ], "sourceEndLines": [ - 28 + 30 ], "matchedStartLines": [ - 10 + 20 ], "matchedEndLines": [ - 36 + 46 ] } }, { "projectName": "eugenp/tutorials", - "releaseVersion": "20180721-snapshot-ecb14dd8", + "releaseVersion": "20180822-snapshot-387f9e7e", "licenseDefinition": { "name": "MIT License", "spdxId": "MIT", "ownership": "OPEN_SOURCE", "licenseDisplayName": "MIT License" }, - "matchedFilePath": "/tutorials-ecb14dd83486138717305d5d2b04732ae79bb959/spring-thymeleaf/src/test/java/com/baeldung/thymeleaf/controller/ExpressionUtilityObjectsControllerIntegrationTest.java", + "matchedFilePath": "/tutorials-387f9e7e526c46097d7216127d3f12cf0ae7a138/spring-thymeleaf/src/test/java/com/baeldung/thymeleaf/controller/FragmentsIntegrationTest.java", "regions": { "sourceStartLines": [ 3 ], "sourceEndLines": [ - 28 + 30 ], "matchedStartLines": [ 5 ], "matchedEndLines": [ - 30 + 31 ] } }, { - "projectName": "Spring Security", - "releaseVersion": "4.0.0.M2", + "projectName": "Cloudfoundry UAA", + "releaseVersion": "1.6.0", "licenseDefinition": { "name": "Apache License 2.0", "spdxId": "Apache-2.0", "ownership": "OPEN_SOURCE", "licenseDisplayName": "Apache License 2.0" }, - "matchedFilePath": "/spring-security-4.0.0.M2/test/src/test/java/org/springframework/security/test/web/servlet/showcase/secured/SecurityRequestsTests.java", + "matchedFilePath": "/uaa-1.6.0/uaa/src/test/java/org/cloudfoundry/identity/uaa/scim/endpoints/PasswordResetEndpointsIntegrationTest.java", "regions": { "sourceStartLines": [ 3 ], "sourceEndLines": [ - 21 + 30 ], "matchedStartLines": [ - 21 + 16 ], "matchedEndLines": [ - 43 + 38 ] } }, { - "projectName": "Spring Security", - "releaseVersion": "4.0.0.RC1", + "projectName": "Cloudfoundry UAA", + "releaseVersion": "1.7.0", "licenseDefinition": { "name": "Apache License 2.0", "spdxId": "Apache-2.0", "ownership": "OPEN_SOURCE", "licenseDisplayName": "Apache License 2.0" }, - "matchedFilePath": "/spring-security-4.0.0.RC1/test/src/test/java/org/springframework/security/test/web/servlet/showcase/secured/SecurityRequestsTests.java", + "matchedFilePath": "/uaa-1.7.0/uaa/src/test/java/org/cloudfoundry/identity/uaa/scim/endpoints/PasswordResetEndpointsIntegrationTest.java", "regions": { "sourceStartLines": [ 3 ], "sourceEndLines": [ - 21 + 30 ], "matchedStartLines": [ - 21 + 17 ], "matchedEndLines": [ - 43 + 41 ] } }, { - "projectName": "Thymeleaf", - "releaseVersion": "thymeleafexamples-petclinic-20130317", + "projectName": "Cloudfoundry UAA", + "releaseVersion": "1.6.1", "licenseDefinition": { "name": "Apache License 2.0", "spdxId": "Apache-2.0", "ownership": "OPEN_SOURCE", "licenseDisplayName": "Apache License 2.0" }, - "matchedFilePath": "/thymeleafexamples-petclinic-7683632008afdaadac164ebce77bada8906fd123/src/test/java/org/springframework/samples/petclinic/web/VisitsViewTest.java", - "regions": { - "sourceStartLines": [ - 3 - ], - "sourceEndLines": [ - 28 - ], - "matchedStartLines": [ - 20 - ], - "matchedEndLines": [ - 46 - ] - } - }, - { - "projectName": "eugenp/tutorials", - "releaseVersion": "20180822-snapshot-387f9e7e", - "licenseDefinition": { - "name": "MIT License", - "spdxId": "MIT", - "ownership": "OPEN_SOURCE", - "licenseDisplayName": "MIT License" - }, - "matchedFilePath": "/tutorials-387f9e7e526c46097d7216127d3f12cf0ae7a138/spring-thymeleaf/src/test/java/com/baeldung/thymeleaf/controller/FragmentsIntegrationTest.java", + "matchedFilePath": "/uaa-96b1fc8e3a982b6f478e363f3919a4a16e0a6a92/uaa/src/test/java/org/cloudfoundry/identity/uaa/scim/endpoints/PasswordResetEndpointsIntegrationTest.java", "regions": { "sourceStartLines": [ 3 ], "sourceEndLines": [ - 28 + 30 ], "matchedStartLines": [ - 5 + 17 ], "matchedEndLines": [ - 31 + 40 ] } }, { - "projectName": "Spring Security", - "releaseVersion": "4.0.0", + "projectName": "Cloudfoundry UAA", + "releaseVersion": "1.6.3", "licenseDefinition": { "name": "Apache License 2.0", "spdxId": "Apache-2.0", "ownership": "OPEN_SOURCE", "licenseDisplayName": "Apache License 2.0" }, - "matchedFilePath": "/spring-security-8f9065b3f6b48b9157b43b9e35153680d1bb68d7/test/src/test/java/org/springframework/security/test/web/servlet/showcase/secured/SecurityRequestsTests.java", + "matchedFilePath": "/uaa-e0080f861db5b30c0793973e5c4fff7153040ecb/uaa/src/test/java/org/cloudfoundry/identity/uaa/scim/endpoints/PasswordResetEndpointsIntegrationTest.java", "regions": { "sourceStartLines": [ 3 ], "sourceEndLines": [ - 21 + 30 ], "matchedStartLines": [ - 21 + 17 ], "matchedEndLines": [ - 43 + 40 ] } }, { "projectName": "Spring Security", - "releaseVersion": "4.0.0.RC2", + "releaseVersion": "4.2.0.RC1", "licenseDefinition": { "name": "Apache License 2.0", "spdxId": "Apache-2.0", "ownership": "OPEN_SOURCE", "licenseDisplayName": "Apache License 2.0" }, - "matchedFilePath": "/spring-security-bbce00b4a66193891700c57922d253190844e76d/config/src/test/java/org/springframework/security/config/annotation/web/configuration/WebMvcSecurityConfigurationTests.java", + "matchedFilePath": "/spring-security-97b4cb0b7385d6b27fdb71ad1fbcf66a4e35175b/config/src/test/java/org/springframework/security/config/annotation/web/configuration/AuthenticationPrincipalArgumentResolverTests.java", "regions": { "sourceStartLines": [ 3 ], "sourceEndLines": [ - 21 + 20 ], "matchedStartLines": [ 18 ], "matchedEndLines": [ - 46 + 38 ] } }, { - "projectName": "fastjson-alibaba", - "releaseVersion": "1.2.18", + "projectName": "naver/pinpoint", + "releaseVersion": "1.8.1", "licenseDefinition": { "name": "Apache License 2.0", "spdxId": "Apache-2.0", "ownership": "OPEN_SOURCE", "licenseDisplayName": "Apache License 2.0" }, - "matchedFilePath": "/fastjson-9e254c90458c6c9707d3fa657a79eeaaf4502719/src/test/java/com/alibaba/json/bvt/support/spring/mock/testcase/FastJsonpHttpMessageConverter4Case2Test.java", + "matchedFilePath": "/pinpoint-2be384110b4da3c59bd3d568ed1d41ce61c385db/web/src/test/java/com/navercorp/pinpoint/web/controller/UserControllerTest.java", "regions": { "sourceStartLines": [ 3 ], "sourceEndLines": [ - 21 + 30 ], "matchedStartLines": [ - 3 + 20 ], "matchedEndLines": [ - 26 + 48 ] } } diff --git a/snippet-analysis.sarif b/snippet-analysis.sarif index fe6442e..7dadb78 100644 --- a/snippet-analysis.sarif +++ b/snippet-analysis.sarif @@ -26,7 +26,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 30 } } } @@ -47,28 +47,7 @@ }, "region": { "startLine": 3, - "endLine": 28 - } - } - } - ] - }, - { - "ruleId": "AGPL-3.0", - "level": "warning", - "message": { - "text": "License match found: GNU Affero General Public License v3.0" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": ".snippet-licenses/DashboardControllerTest.java-snippet-analysis.json", - "uriBaseId": "%SRCROOT%" - }, - "region": { - "startLine": 3, - "endLine": 28 + "endLine": 30 } } } @@ -96,10 +75,10 @@ ] }, { - "ruleId": "unknown", + "ruleId": "AGPL-3.0", "level": "warning", "message": { - "text": "License match found: Unknown License" + "text": "License match found: GNU Affero General Public License v3.0" }, "locations": [ { @@ -110,7 +89,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 30 } } } @@ -130,8 +109,8 @@ "uriBaseId": "%SRCROOT%" }, "region": { - "startLine": 4, - "endLine": 28 + "startLine": 3, + "endLine": 30 } } } @@ -152,7 +131,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 30 } } } @@ -173,7 +152,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 30 } } } @@ -194,7 +173,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 30 } } } @@ -215,49 +194,7 @@ }, "region": { "startLine": 3, - "endLine": 28 - } - } - } - ] - }, - { - "ruleId": "GPL-3.0-only", - "level": "warning", - "message": { - "text": "License match found: GNU General Public License v3.0 only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": ".snippet-licenses/DashboardControllerTest.java-snippet-analysis.json", - "uriBaseId": "%SRCROOT%" - }, - "region": { - "startLine": 3, - "endLine": 28 - } - } - } - ] - }, - { - "ruleId": "GPL-3.0-only", - "level": "warning", - "message": { - "text": "License match found: GNU General Public License v3.0 only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": ".snippet-licenses/DashboardControllerTest.java-snippet-analysis.json", - "uriBaseId": "%SRCROOT%" - }, - "region": { - "startLine": 3, - "endLine": 28 + "endLine": 20 } } } @@ -278,59 +215,17 @@ }, "region": { "startLine": 3, - "endLine": 28 - } - } - } - ] - }, - { - "ruleId": "LGPL-3.0-or-later", - "level": "warning", - "message": { - "text": "License match found: GNU Lesser General Public License v3.0 or later" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": ".snippet-licenses/DashboardControllerTest.java-snippet-analysis.json", - "uriBaseId": "%SRCROOT%" - }, - "region": { - "startLine": 3, - "endLine": 21 + "endLine": 30 } } } ] }, { - "ruleId": "LGPL-3.0-or-later", - "level": "warning", - "message": { - "text": "License match found: GNU Lesser General Public License v3.0 or later" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": ".snippet-licenses/DashboardControllerTest.java-snippet-analysis.json", - "uriBaseId": "%SRCROOT%" - }, - "region": { - "startLine": 3, - "endLine": 21 - } - } - } - ] - }, - { - "ruleId": "EPL-1.0", + "ruleId": "unknown", "level": "warning", "message": { - "text": "License match found: Eclipse Public License 1.0" + "text": "License match found: (GNU Affero General Public License v3.0 AND GNU General Public License v3.0 or later)" }, "locations": [ { @@ -341,7 +236,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 30 } } } @@ -362,7 +257,7 @@ }, "region": { "startLine": 3, - "endLine": 21 + "endLine": 20 } } } @@ -383,28 +278,7 @@ }, "region": { "startLine": 3, - "endLine": 21 - } - } - } - ] - }, - { - "ruleId": "LGPL-3.0-or-later", - "level": "warning", - "message": { - "text": "License match found: GNU Lesser General Public License v3.0 or later" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": ".snippet-licenses/DashboardControllerTest.java-snippet-analysis.json", - "uriBaseId": "%SRCROOT%" - }, - "region": { - "startLine": 3, - "endLine": 21 + "endLine": 30 } } } @@ -425,59 +299,17 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 30 } } } ] }, { - "ruleId": "Apache-2.0", - "level": "warning", - "message": { - "text": "License match found: Apache License 2.0" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": ".snippet-licenses/DashboardControllerTest.java-snippet-analysis.json", - "uriBaseId": "%SRCROOT%" - }, - "region": { - "startLine": 3, - "endLine": 21 - } - } - } - ] - }, - { - "ruleId": "Apache-2.0", - "level": "warning", - "message": { - "text": "License match found: Apache License 2.0" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": ".snippet-licenses/DashboardControllerTest.java-snippet-analysis.json", - "uriBaseId": "%SRCROOT%" - }, - "region": { - "startLine": 3, - "endLine": 21 - } - } - } - ] - }, - { - "ruleId": "Apache-2.0", + "ruleId": "MIT", "level": "warning", "message": { - "text": "License match found: Apache License 2.0" + "text": "License match found: MIT License" }, "locations": [ { @@ -488,7 +320,7 @@ }, "region": { "startLine": 3, - "endLine": 21 + "endLine": 30 } } } @@ -509,7 +341,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 30 } } } @@ -530,7 +362,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 30 } } } @@ -551,7 +383,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 30 } } } @@ -572,7 +404,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 30 } } } @@ -593,7 +425,7 @@ }, "region": { "startLine": 3, - "endLine": 21 + "endLine": 30 } } } @@ -614,7 +446,7 @@ }, "region": { "startLine": 3, - "endLine": 21 + "endLine": 30 } } } @@ -635,28 +467,7 @@ }, "region": { "startLine": 3, - "endLine": 28 - } - } - } - ] - }, - { - "ruleId": "MIT", - "level": "warning", - "message": { - "text": "License match found: MIT License" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": ".snippet-licenses/DashboardControllerTest.java-snippet-analysis.json", - "uriBaseId": "%SRCROOT%" - }, - "region": { - "startLine": 3, - "endLine": 28 + "endLine": 30 } } } @@ -677,7 +488,7 @@ }, "region": { "startLine": 3, - "endLine": 21 + "endLine": 30 } } } @@ -698,7 +509,7 @@ }, "region": { "startLine": 3, - "endLine": 21 + "endLine": 20 } } } @@ -719,7 +530,7 @@ }, "region": { "startLine": 3, - "endLine": 21 + "endLine": 30 } } }