From 2d42d223a11f91255a522b60b167c8deb5c40a1f Mon Sep 17 00:00:00 2001 From: Leonardo Grasso Date: Wed, 11 Oct 2023 14:45:01 +0200 Subject: [PATCH] docs: add spdx-id Signed-off-by: Leonardo Grasso --- pkg/falco/helpers.go | 1 + pkg/falco/tester.go | 1 + pkg/falco/tester_options.go | 1 + pkg/falco/tester_output.go | 1 + pkg/falco/tester_output_describe.go | 1 + pkg/falco/tester_output_detection.go | 1 + pkg/falco/tester_output_validation.go | 1 + pkg/falco/utils.go | 1 + pkg/falcoctl/tester.go | 1 + pkg/falcoctl/tester_options.go | 1 + pkg/falcoctl/tester_output.go | 1 + pkg/falcodriverloader/tester.go | 1 + pkg/falcodriverloader/tester_options.go | 1 + pkg/falcodriverloader/tester_output.go | 1 + pkg/run/docker.go | 1 + pkg/run/executable.go | 1 + pkg/run/files.go | 1 + pkg/run/runner.go | 1 + pkg/run/runner_test.go | 1 + pkg/run/workdir.go | 1 + tests/data/captures/captures.go | 1 + tests/data/captures/generate.go | 1 + tests/data/configs/configs.go | 1 + tests/data/data.go | 1 + tests/data/outputs/event.go | 18 ++++++++++++++++++ tests/data/outputs/outputs.go | 1 + tests/data/plugins/plugins.go | 1 + tests/data/rules/exceptions.go | 1 + tests/data/rules/falco.go | 1 + tests/data/rules/k8saudit.go | 1 + tests/data/rules/legacy.go | 1 + tests/falco/commands_test.go | 1 + tests/falco/config_test.go | 1 + tests/falco/generate.go | 1 + tests/falco/legacy_test.go | 1 + tests/falco/miscs_test.go | 1 + tests/falco/plugins_test.go | 1 + tests/falcoctl/artifact_test.go | 1 + tests/falcoctl/generate.go | 1 + tests/falcoctl/version_test.go | 1 + tests/falcodriverloader/drivers_test.go | 1 + tests/falcodriverloader/generate.go | 1 + tests/k8saudit/generate.go | 1 + tests/k8saudit/k8saudit_test.go | 1 + tests/tests.go | 1 + 45 files changed, 62 insertions(+) diff --git a/pkg/falco/helpers.go b/pkg/falco/helpers.go index e84d0c4..bc0633c 100644 --- a/pkg/falco/helpers.go +++ b/pkg/falco/helpers.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/falco/tester.go b/pkg/falco/tester.go index 5d49c26..cbd3f81 100644 --- a/pkg/falco/tester.go +++ b/pkg/falco/tester.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/falco/tester_options.go b/pkg/falco/tester_options.go index 4277d08..d5c3518 100644 --- a/pkg/falco/tester_options.go +++ b/pkg/falco/tester_options.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/falco/tester_output.go b/pkg/falco/tester_output.go index 8ca96a1..4be59b6 100644 --- a/pkg/falco/tester_output.go +++ b/pkg/falco/tester_output.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/falco/tester_output_describe.go b/pkg/falco/tester_output_describe.go index 58c629e..f128a28 100644 --- a/pkg/falco/tester_output_describe.go +++ b/pkg/falco/tester_output_describe.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/falco/tester_output_detection.go b/pkg/falco/tester_output_detection.go index 88e622d..de92693 100644 --- a/pkg/falco/tester_output_detection.go +++ b/pkg/falco/tester_output_detection.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/falco/tester_output_validation.go b/pkg/falco/tester_output_validation.go index 61e2589..364f1a3 100644 --- a/pkg/falco/tester_output_validation.go +++ b/pkg/falco/tester_output_validation.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/falco/utils.go b/pkg/falco/utils.go index b287318..33c3445 100644 --- a/pkg/falco/utils.go +++ b/pkg/falco/utils.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/falcoctl/tester.go b/pkg/falcoctl/tester.go index a7c26aa..66a0acd 100644 --- a/pkg/falcoctl/tester.go +++ b/pkg/falcoctl/tester.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/falcoctl/tester_options.go b/pkg/falcoctl/tester_options.go index e1cd181..908beb4 100644 --- a/pkg/falcoctl/tester_options.go +++ b/pkg/falcoctl/tester_options.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/falcoctl/tester_output.go b/pkg/falcoctl/tester_output.go index 26089bf..47f910f 100644 --- a/pkg/falcoctl/tester_output.go +++ b/pkg/falcoctl/tester_output.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/falcodriverloader/tester.go b/pkg/falcodriverloader/tester.go index 183b586..35383cb 100644 --- a/pkg/falcodriverloader/tester.go +++ b/pkg/falcodriverloader/tester.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/falcodriverloader/tester_options.go b/pkg/falcodriverloader/tester_options.go index 6ee75d3..cd31a74 100644 --- a/pkg/falcodriverloader/tester_options.go +++ b/pkg/falcodriverloader/tester_options.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/falcodriverloader/tester_output.go b/pkg/falcodriverloader/tester_output.go index 6ffd9e3..064ebd5 100644 --- a/pkg/falcodriverloader/tester_output.go +++ b/pkg/falcodriverloader/tester_output.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/run/docker.go b/pkg/run/docker.go index 64fbf9d..c530512 100644 --- a/pkg/run/docker.go +++ b/pkg/run/docker.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/run/executable.go b/pkg/run/executable.go index 1300c4f..875402f 100644 --- a/pkg/run/executable.go +++ b/pkg/run/executable.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/run/files.go b/pkg/run/files.go index 1d15fc6..d88ca7e 100644 --- a/pkg/run/files.go +++ b/pkg/run/files.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/run/runner.go b/pkg/run/runner.go index e0c121f..0bfaeca 100644 --- a/pkg/run/runner.go +++ b/pkg/run/runner.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/run/runner_test.go b/pkg/run/runner_test.go index b7880cf..305c547 100644 --- a/pkg/run/runner_test.go +++ b/pkg/run/runner_test.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/pkg/run/workdir.go b/pkg/run/workdir.go index 10b2b07..3bbd049 100644 --- a/pkg/run/workdir.go +++ b/pkg/run/workdir.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/data/captures/captures.go b/tests/data/captures/captures.go index ab5c6ac..73545c1 100644 --- a/tests/data/captures/captures.go +++ b/tests/data/captures/captures.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/data/captures/generate.go b/tests/data/captures/generate.go index 4ff85ef..bca4e85 100644 --- a/tests/data/captures/generate.go +++ b/tests/data/captures/generate.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 //go:build ignore // +build ignore diff --git a/tests/data/configs/configs.go b/tests/data/configs/configs.go index 9d55ea3..1f89dc0 100644 --- a/tests/data/configs/configs.go +++ b/tests/data/configs/configs.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/data/data.go b/tests/data/data.go index fd31e69..2b23907 100644 --- a/tests/data/data.go +++ b/tests/data/data.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/data/outputs/event.go b/tests/data/outputs/event.go index 7d9aeb5..33cca7b 100644 --- a/tests/data/outputs/event.go +++ b/tests/data/outputs/event.go @@ -1,3 +1,21 @@ +// SPDX-License-Identifier: Apache-2.0 +/* +Copyright (C) 2023 The Falco Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +*/ + package outputs import ( diff --git a/tests/data/outputs/outputs.go b/tests/data/outputs/outputs.go index 88d6c7d..e14b560 100644 --- a/tests/data/outputs/outputs.go +++ b/tests/data/outputs/outputs.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/data/plugins/plugins.go b/tests/data/plugins/plugins.go index 0b8dd69..aba58b6 100644 --- a/tests/data/plugins/plugins.go +++ b/tests/data/plugins/plugins.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/data/rules/exceptions.go b/tests/data/rules/exceptions.go index c87e4ab..0d08449 100644 --- a/tests/data/rules/exceptions.go +++ b/tests/data/rules/exceptions.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/data/rules/falco.go b/tests/data/rules/falco.go index 99573b0..dcc1efc 100644 --- a/tests/data/rules/falco.go +++ b/tests/data/rules/falco.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/data/rules/k8saudit.go b/tests/data/rules/k8saudit.go index c73be28..d65ad35 100644 --- a/tests/data/rules/k8saudit.go +++ b/tests/data/rules/k8saudit.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/data/rules/legacy.go b/tests/data/rules/legacy.go index 720b6f1..1793f25 100644 --- a/tests/data/rules/legacy.go +++ b/tests/data/rules/legacy.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/falco/commands_test.go b/tests/falco/commands_test.go index c4dc904..26e421e 100644 --- a/tests/falco/commands_test.go +++ b/tests/falco/commands_test.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/falco/config_test.go b/tests/falco/config_test.go index 664a477..0f8b938 100644 --- a/tests/falco/config_test.go +++ b/tests/falco/config_test.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/falco/generate.go b/tests/falco/generate.go index 01e6dbb..84dba75 100644 --- a/tests/falco/generate.go +++ b/tests/falco/generate.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/falco/legacy_test.go b/tests/falco/legacy_test.go index aef76c9..a13ca8f 100644 --- a/tests/falco/legacy_test.go +++ b/tests/falco/legacy_test.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/falco/miscs_test.go b/tests/falco/miscs_test.go index 35ea743..2313691 100644 --- a/tests/falco/miscs_test.go +++ b/tests/falco/miscs_test.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/falco/plugins_test.go b/tests/falco/plugins_test.go index 80e1a59..99f0a16 100644 --- a/tests/falco/plugins_test.go +++ b/tests/falco/plugins_test.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/falcoctl/artifact_test.go b/tests/falcoctl/artifact_test.go index c2deb39..ec256f7 100644 --- a/tests/falcoctl/artifact_test.go +++ b/tests/falcoctl/artifact_test.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/falcoctl/generate.go b/tests/falcoctl/generate.go index c9c4fbb..15a162e 100644 --- a/tests/falcoctl/generate.go +++ b/tests/falcoctl/generate.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/falcoctl/version_test.go b/tests/falcoctl/version_test.go index 89e1743..d9be9c2 100644 --- a/tests/falcoctl/version_test.go +++ b/tests/falcoctl/version_test.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/falcodriverloader/drivers_test.go b/tests/falcodriverloader/drivers_test.go index 93e4b6b..8464ff2 100644 --- a/tests/falcodriverloader/drivers_test.go +++ b/tests/falcodriverloader/drivers_test.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/falcodriverloader/generate.go b/tests/falcodriverloader/generate.go index 259efcb..3337cb6 100644 --- a/tests/falcodriverloader/generate.go +++ b/tests/falcodriverloader/generate.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/k8saudit/generate.go b/tests/k8saudit/generate.go index 0918b44..4c35efc 100644 --- a/tests/k8saudit/generate.go +++ b/tests/k8saudit/generate.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/k8saudit/k8saudit_test.go b/tests/k8saudit/k8saudit_test.go index 54ae091..c125221 100644 --- a/tests/k8saudit/k8saudit_test.go +++ b/tests/k8saudit/k8saudit_test.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/tests/tests.go b/tests/tests.go index 11ed420..78be849 100644 --- a/tests/tests.go +++ b/tests/tests.go @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors.