From bf98748163b4d30a8e7febdc79a93c36ba9b9feb Mon Sep 17 00:00:00 2001 From: Lukas Fischer Date: Fri, 6 Oct 2023 09:56:58 +0200 Subject: [PATCH] #2010 Add missing licenses for SBOM workflow Because the license check was added after the pipeline for the SBOM workflow succeeded, the files added by the pull request were not checked before the request was merged to main. Some of them were missing license information, which gets added with this. Signed-off-by: Lukas Fischer --- hooks/persistence-dependencytrack/templates/_helpers.tpl | 5 +++++ .../parser/__testFiles__/hello-world-cyclonedx.json.license | 3 +++ scanners/trivy-sbom/parser/package-lock.json.license | 3 +++ scanners/trivy-sbom/parser/package.json.license | 3 +++ 4 files changed, 14 insertions(+) create mode 100644 scanners/trivy-sbom/parser/__testFiles__/hello-world-cyclonedx.json.license create mode 100644 scanners/trivy-sbom/parser/package-lock.json.license create mode 100644 scanners/trivy-sbom/parser/package.json.license diff --git a/hooks/persistence-dependencytrack/templates/_helpers.tpl b/hooks/persistence-dependencytrack/templates/_helpers.tpl index 90ec55a6d5..10e471b3dc 100644 --- a/hooks/persistence-dependencytrack/templates/_helpers.tpl +++ b/hooks/persistence-dependencytrack/templates/_helpers.tpl @@ -1,3 +1,8 @@ +{{- /* +SPDX-FileCopyrightText: the secureCodeBox authors + +SPDX-License-Identifier: Apache-2.0 +*/ -}} {{/* Expand the name of the chart. */}} diff --git a/scanners/trivy-sbom/parser/__testFiles__/hello-world-cyclonedx.json.license b/scanners/trivy-sbom/parser/__testFiles__/hello-world-cyclonedx.json.license new file mode 100644 index 0000000000..c95bc37185 --- /dev/null +++ b/scanners/trivy-sbom/parser/__testFiles__/hello-world-cyclonedx.json.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: the secureCodeBox authors + +SPDX-License-Identifier: Apache-2.0 diff --git a/scanners/trivy-sbom/parser/package-lock.json.license b/scanners/trivy-sbom/parser/package-lock.json.license new file mode 100644 index 0000000000..c95bc37185 --- /dev/null +++ b/scanners/trivy-sbom/parser/package-lock.json.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: the secureCodeBox authors + +SPDX-License-Identifier: Apache-2.0 diff --git a/scanners/trivy-sbom/parser/package.json.license b/scanners/trivy-sbom/parser/package.json.license new file mode 100644 index 0000000000..c95bc37185 --- /dev/null +++ b/scanners/trivy-sbom/parser/package.json.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: the secureCodeBox authors + +SPDX-License-Identifier: Apache-2.0