diff --git a/CMakeLists.txt b/CMakeLists.txt index abb9c7ff..893dea2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright (C) 2023 The Falco Authors. # diff --git a/cmake/cpack/CMakeCPackOptions.cmake b/cmake/cpack/CMakeCPackOptions.cmake index 6c3b4c85..ee1b842f 100644 --- a/cmake/cpack/CMakeCPackOptions.cmake +++ b/cmake/cpack/CMakeCPackOptions.cmake @@ -1,3 +1,17 @@ +# 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. +# + if(CPACK_GENERATOR MATCHES "DEB" OR CPACK_GENERATOR MATCHES "RPM") list(APPEND CPACK_INSTALL_COMMANDS "mkdir -p _CPack_Packages/${CPACK_TOPLEVEL_TAG}/${CPACK_GENERATOR}/${CPACK_PACKAGE_FILE_NAME}/usr/lib/systemd/system") list(APPEND CPACK_INSTALL_COMMANDS "cp scripts/systemd/falco-kmod-inject.service _CPack_Packages/${CPACK_TOPLEVEL_TAG}/${CPACK_GENERATOR}/${CPACK_PACKAGE_FILE_NAME}/usr/lib/systemd/system") diff --git a/cmake/modules/CPackConfig.cmake b/cmake/modules/CPackConfig.cmake index f446a733..6935046b 100644 --- a/cmake/modules/CPackConfig.cmake +++ b/cmake/modules/CPackConfig.cmake @@ -1,5 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2022 The Falco Authors. +# 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 diff --git a/cmake/modules/Coverage.cmake b/cmake/modules/Coverage.cmake index 54a309de..b8a46e7a 100644 --- a/cmake/modules/Coverage.cmake +++ b/cmake/modules/Coverage.cmake @@ -1,5 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2020 The Falco Authors. +# 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 diff --git a/cmake/modules/copy_files_to_build_dir.cmake b/cmake/modules/copy_files_to_build_dir.cmake index efa49a21..a3c3ab39 100644 --- a/cmake/modules/copy_files_to_build_dir.cmake +++ b/cmake/modules/copy_files_to_build_dir.cmake @@ -1,5 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2022 The Falco Authors. +# 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 diff --git a/cmake/modules/cpp-httplib.cmake b/cmake/modules/cpp-httplib.cmake index 212ea809..ec588d6d 100644 --- a/cmake/modules/cpp-httplib.cmake +++ b/cmake/modules/cpp-httplib.cmake @@ -1,5 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2022 The Falco Authors. +# 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 diff --git a/cmake/modules/cxxopts.cmake b/cmake/modules/cxxopts.cmake index d75445ac..c371d044 100644 --- a/cmake/modules/cxxopts.cmake +++ b/cmake/modules/cxxopts.cmake @@ -1,5 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2022 The Falco Authors. +# 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 diff --git a/cmake/modules/driver-repo/CMakeLists.txt b/cmake/modules/driver-repo/CMakeLists.txt index d300d4ba..96f73aeb 100644 --- a/cmake/modules/driver-repo/CMakeLists.txt +++ b/cmake/modules/driver-repo/CMakeLists.txt @@ -1,5 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2022 The Falco Authors. +# 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 diff --git a/cmake/modules/driver.cmake b/cmake/modules/driver.cmake index a5c91695..64057825 100644 --- a/cmake/modules/driver.cmake +++ b/cmake/modules/driver.cmake @@ -1,5 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2022 The Falco Authors. +# 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 diff --git a/cmake/modules/falco-version.cmake b/cmake/modules/falco-version.cmake index e68bbe4f..81da8799 100644 --- a/cmake/modules/falco-version.cmake +++ b/cmake/modules/falco-version.cmake @@ -1,5 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2020 The Falco Authors. +# 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 diff --git a/cmake/modules/falcoctl.cmake b/cmake/modules/falcoctl.cmake index 52585b86..28fd494b 100644 --- a/cmake/modules/falcoctl.cmake +++ b/cmake/modules/falcoctl.cmake @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright (C) 2023 The Falco Authors. # diff --git a/cmake/modules/falcosecurity-libs-repo/CMakeLists.txt b/cmake/modules/falcosecurity-libs-repo/CMakeLists.txt index 54f35e3d..748737c7 100644 --- a/cmake/modules/falcosecurity-libs-repo/CMakeLists.txt +++ b/cmake/modules/falcosecurity-libs-repo/CMakeLists.txt @@ -1,5 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2020 The Falco Authors. +# 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 diff --git a/cmake/modules/falcosecurity-libs.cmake b/cmake/modules/falcosecurity-libs.cmake index b79d2b5c..13595e33 100644 --- a/cmake/modules/falcosecurity-libs.cmake +++ b/cmake/modules/falcosecurity-libs.cmake @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright (C) 2023 The Falco Authors. # diff --git a/cmake/modules/libyaml.cmake b/cmake/modules/libyaml.cmake index 2c7c4cc1..b14ac533 100644 --- a/cmake/modules/libyaml.cmake +++ b/cmake/modules/libyaml.cmake @@ -1,5 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2020 The Falco Authors. +# 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 diff --git a/cmake/modules/njson.cmake b/cmake/modules/njson.cmake index 1009da15..f4b3c79f 100644 --- a/cmake/modules/njson.cmake +++ b/cmake/modules/njson.cmake @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright (C) 2023 The Falco Authors. # diff --git a/cmake/modules/plugins.cmake b/cmake/modules/plugins.cmake index da0b16e5..a39eeb03 100644 --- a/cmake/modules/plugins.cmake +++ b/cmake/modules/plugins.cmake @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright (C) 2023 The Falco Authors. # diff --git a/cmake/modules/rules.cmake b/cmake/modules/rules.cmake index 1559c935..2e996525 100644 --- a/cmake/modules/rules.cmake +++ b/cmake/modules/rules.cmake @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright (C) 2023 The Falco Authors. # diff --git a/cmake/modules/static-analysis.cmake b/cmake/modules/static-analysis.cmake index c4954022..8ecf6f27 100644 --- a/cmake/modules/static-analysis.cmake +++ b/cmake/modules/static-analysis.cmake @@ -1,3 +1,17 @@ +# 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. +# + # create the reports folder file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/static-analysis-reports) file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/static-analysis-reports/cppcheck) diff --git a/cmake/modules/yaml-cpp.cmake b/cmake/modules/yaml-cpp.cmake index b565ab70..79a46aa6 100644 --- a/cmake/modules/yaml-cpp.cmake +++ b/cmake/modules/yaml-cpp.cmake @@ -1,5 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2020 The Falco Authors. +# 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 diff --git a/docker/driver-loader-legacy/docker-entrypoint.sh b/docker/driver-loader-legacy/docker-entrypoint.sh index 86659bd3..cea5eac2 100755 --- a/docker/driver-loader-legacy/docker-entrypoint.sh +++ b/docker/driver-loader-legacy/docker-entrypoint.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2020 The Falco Authors. +# Copyright (C) 2023 The Falco Authors. # # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/docker/driver-loader/docker-entrypoint.sh b/docker/driver-loader/docker-entrypoint.sh index 520dfa98..cea5eac2 100755 --- a/docker/driver-loader/docker-entrypoint.sh +++ b/docker/driver-loader/docker-entrypoint.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2020 The Falco Authors. +# Copyright (C) 2023 The Falco Authors. # # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,4 +26,4 @@ do ln -s "$i" "/usr/src/$base" done -/usr/bin/falco-driver-loader "$@" \ No newline at end of file +/usr/bin/falco-driver-loader "$@" diff --git a/docker/falco/docker-entrypoint.sh b/docker/falco/docker-entrypoint.sh index 23b98d3c..dbf9fcef 100755 --- a/docker/falco/docker-entrypoint.sh +++ b/docker/falco/docker-entrypoint.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2020 The Falco Authors. +# Copyright (C) 2023 The Falco Authors. # # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -33,4 +34,4 @@ if [[ -z "${SKIP_DRIVER_LOADER}" ]]; then /usr/bin/falco-driver-loader "${falco_driver_loader_option_arr[@]}" fi -exec "$@" \ No newline at end of file +exec "$@" diff --git a/falco.yaml b/falco.yaml index 79c713e8..829fd486 100644 --- a/falco.yaml +++ b/falco.yaml @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright (C) 2023 The Falco Authors. # diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt index b1048d3d..4acf81d0 100644 --- a/scripts/CMakeLists.txt +++ b/scripts/CMakeLists.txt @@ -1,5 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2021 The Falco Authors. +# Copyright (C) 2023 The Falco Authors. # # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/scripts/debian/postinst.in b/scripts/debian/postinst.in index 72bd5dd7..425981b5 100755 --- a/scripts/debian/postinst.in +++ b/scripts/debian/postinst.in @@ -1,6 +1,7 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2022 The Falco Authors. +# Copyright (C) 2023 The Falco Authors. # # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/scripts/debian/postrm.in b/scripts/debian/postrm.in index 16bef26f..ede751a1 100755 --- a/scripts/debian/postrm.in +++ b/scripts/debian/postrm.in @@ -1,6 +1,7 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2022 The Falco Authors. +# Copyright (C) 2023 The Falco Authors. # # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/scripts/debian/prerm.in b/scripts/debian/prerm.in index 137f81e2..6015aeee 100755 --- a/scripts/debian/prerm.in +++ b/scripts/debian/prerm.in @@ -1,6 +1,7 @@ #!/bin/sh +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2022 The Falco Authors. +# Copyright (C) 2023 The Falco Authors. # # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/scripts/falco-driver-loader b/scripts/falco-driver-loader index 10ce487c..1006fda0 100755 --- a/scripts/falco-driver-loader +++ b/scripts/falco-driver-loader @@ -1,6 +1,7 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2022 The Falco Authors. +# Copyright (C) 2023 The Falco Authors. # # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/scripts/ignored-calls.sh b/scripts/ignored-calls.sh index ce66f04c..708960e2 100755 --- a/scripts/ignored-calls.sh +++ b/scripts/ignored-calls.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2020 The Falco Authors. +# Copyright (C) 2023 The Falco Authors. # # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/scripts/rpm/postinstall.in b/scripts/rpm/postinstall.in index bf1303c5..58ed2ec7 100755 --- a/scripts/rpm/postinstall.in +++ b/scripts/rpm/postinstall.in @@ -1,5 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2022 The Falco Authors. +# Copyright (C) 2023 The Falco Authors. # # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/scripts/rpm/postuninstall.in b/scripts/rpm/postuninstall.in index 58626323..5bda6553 100755 --- a/scripts/rpm/postuninstall.in +++ b/scripts/rpm/postuninstall.in @@ -1,5 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2022 The Falco Authors. +# Copyright (C) 2023 The Falco Authors. # # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/scripts/rpm/preuninstall.in b/scripts/rpm/preuninstall.in index 46ff2938..7d2f457f 100755 --- a/scripts/rpm/preuninstall.in +++ b/scripts/rpm/preuninstall.in @@ -1,5 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2022 The Falco Authors. +# Copyright (C) 2023 The Falco Authors. # # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/unit_tests/CMakeLists.txt b/unit_tests/CMakeLists.txt index 18b3815b..69a56853 100644 --- a/unit_tests/CMakeLists.txt +++ b/unit_tests/CMakeLists.txt @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright (C) 2023 The Falco Authors. # diff --git a/unit_tests/engine/test_falco_utils.cpp b/unit_tests/engine/test_falco_utils.cpp index bf22b271..e84cc661 100644 --- a/unit_tests/engine/test_falco_utils.cpp +++ b/unit_tests/engine/test_falco_utils.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/unit_tests/engine/test_filter_details_resolver.cpp b/unit_tests/engine/test_filter_details_resolver.cpp index d83c100d..28366ded 100644 --- a/unit_tests/engine/test_filter_details_resolver.cpp +++ b/unit_tests/engine/test_filter_details_resolver.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. @@ -46,4 +47,4 @@ TEST(DetailsResolver, resolve_ast) // Assert lists ASSERT_EQ(details.lists.size(), 1); ASSERT_NE(details.lists.find("known_procs"), details.lists.end()); -} \ No newline at end of file +} diff --git a/unit_tests/engine/test_filter_macro_resolver.cpp b/unit_tests/engine/test_filter_macro_resolver.cpp index 8f9b0d10..fb66933d 100644 --- a/unit_tests/engine/test_filter_macro_resolver.cpp +++ b/unit_tests/engine/test_filter_macro_resolver.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/unit_tests/engine/test_filter_warning_resolver.cpp b/unit_tests/engine/test_filter_warning_resolver.cpp index ada768b5..71131bda 100644 --- a/unit_tests/engine/test_filter_warning_resolver.cpp +++ b/unit_tests/engine/test_filter_warning_resolver.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/unit_tests/engine/test_plugin_requirements.cpp b/unit_tests/engine/test_plugin_requirements.cpp index 63a10055..74816086 100644 --- a/unit_tests/engine/test_plugin_requirements.cpp +++ b/unit_tests/engine/test_plugin_requirements.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/unit_tests/engine/test_rulesets.cpp b/unit_tests/engine/test_rulesets.cpp index 67e02657..d0218b45 100644 --- a/unit_tests/engine/test_rulesets.cpp +++ b/unit_tests/engine/test_rulesets.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/unit_tests/falco/app/actions/app_action_helpers.h b/unit_tests/falco/app/actions/app_action_helpers.h index 7e5cf026..7467efee 100644 --- a/unit_tests/falco/app/actions/app_action_helpers.h +++ b/unit_tests/falco/app/actions/app_action_helpers.h @@ -1,3 +1,19 @@ +// 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. +*/ #pragma once #include #include diff --git a/unit_tests/falco/app/actions/test_configure_interesting_sets.cpp b/unit_tests/falco/app/actions/test_configure_interesting_sets.cpp index c98192bc..277832d7 100644 --- a/unit_tests/falco/app/actions/test_configure_interesting_sets.cpp +++ b/unit_tests/falco/app/actions/test_configure_interesting_sets.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/unit_tests/falco/app/actions/test_configure_syscall_buffer_num.cpp b/unit_tests/falco/app/actions/test_configure_syscall_buffer_num.cpp index ccba0e9e..5f15e6d3 100644 --- a/unit_tests/falco/app/actions/test_configure_syscall_buffer_num.cpp +++ b/unit_tests/falco/app/actions/test_configure_syscall_buffer_num.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/unit_tests/falco/app/actions/test_select_event_sources.cpp b/unit_tests/falco/app/actions/test_select_event_sources.cpp index f7dca588..8ae4b58e 100644 --- a/unit_tests/falco/app/actions/test_select_event_sources.cpp +++ b/unit_tests/falco/app/actions/test_select_event_sources.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/unit_tests/falco/test_atomic_signal_handler.cpp b/unit_tests/falco/test_atomic_signal_handler.cpp index a2e8accf..5d08a06c 100644 --- a/unit_tests/falco/test_atomic_signal_handler.cpp +++ b/unit_tests/falco/test_atomic_signal_handler.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. @@ -128,4 +129,4 @@ TEST(AtomicSignalHandler, handle_and_reset) ASSERT_FALSE(handler.triggered()); ASSERT_FALSE(handler.handled()); ASSERT_FALSE(handler.handle(do_nothing)); -} \ No newline at end of file +} diff --git a/unit_tests/falco/test_configuration.cpp b/unit_tests/falco/test_configuration.cpp index d3e95a77..d109005e 100644 --- a/unit_tests/falco/test_configuration.cpp +++ b/unit_tests/falco/test_configuration.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/engine/CMakeLists.txt b/userspace/engine/CMakeLists.txt index 8995f83b..8aecac06 100644 --- a/userspace/engine/CMakeLists.txt +++ b/userspace/engine/CMakeLists.txt @@ -1,5 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2019 The Falco Authors. +# 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 diff --git a/userspace/engine/banned.h b/userspace/engine/banned.h index 829d32e1..31ee57a8 100644 --- a/userspace/engine/banned.h +++ b/userspace/engine/banned.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/engine/evttype_index_ruleset.cpp b/userspace/engine/evttype_index_ruleset.cpp index 2a1839f4..4a431197 100644 --- a/userspace/engine/evttype_index_ruleset.cpp +++ b/userspace/engine/evttype_index_ruleset.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2019 The Falco Authors. +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. diff --git a/userspace/engine/evttype_index_ruleset.h b/userspace/engine/evttype_index_ruleset.h index 0d2df0f6..6eac8078 100644 --- a/userspace/engine/evttype_index_ruleset.h +++ b/userspace/engine/evttype_index_ruleset.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2019 The Falco Authors. +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. diff --git a/userspace/engine/falco_common.cpp b/userspace/engine/falco_common.cpp index 9cf27d63..f1c1fc13 100644 --- a/userspace/engine/falco_common.cpp +++ b/userspace/engine/falco_common.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. @@ -116,4 +117,4 @@ bool falco_common::parse_rule_matching(std::string v, rule_matching& out) } } return false; -} \ No newline at end of file +} diff --git a/userspace/engine/falco_common.h b/userspace/engine/falco_common.h index acc1030e..aa4f39e9 100644 --- a/userspace/engine/falco_common.h +++ b/userspace/engine/falco_common.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/falco_engine.cpp b/userspace/engine/falco_engine.cpp index e1465c57..505237aa 100644 --- a/userspace/engine/falco_engine.cpp +++ b/userspace/engine/falco_engine.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2019 The Falco Authors. +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. diff --git a/userspace/engine/falco_engine.h b/userspace/engine/falco_engine.h index 36f58221..cb24e3c6 100644 --- a/userspace/engine/falco_engine.h +++ b/userspace/engine/falco_engine.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2019 The Falco Authors. +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. diff --git a/userspace/engine/falco_engine_version.h b/userspace/engine/falco_engine_version.h index f3937071..94b811c9 100644 --- a/userspace/engine/falco_engine_version.h +++ b/userspace/engine/falco_engine_version.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/engine/falco_load_result.cpp b/userspace/engine/falco_load_result.cpp index 7e0f384e..fec4b051 100644 --- a/userspace/engine/falco_load_result.cpp +++ b/userspace/engine/falco_load_result.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/falco_load_result.h b/userspace/engine/falco_load_result.h index 0f831562..a2072be9 100644 --- a/userspace/engine/falco_load_result.h +++ b/userspace/engine/falco_load_result.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/falco_rule.h b/userspace/engine/falco_rule.h index 079221f5..482f1357 100644 --- a/userspace/engine/falco_rule.h +++ b/userspace/engine/falco_rule.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/falco_source.h b/userspace/engine/falco_source.h index 7823f7b8..b81eb8b2 100644 --- a/userspace/engine/falco_source.h +++ b/userspace/engine/falco_source.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/falco_utils.cpp b/userspace/engine/falco_utils.cpp index b4618939..90effe14 100644 --- a/userspace/engine/falco_utils.cpp +++ b/userspace/engine/falco_utils.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2016-2018 The Falco Authors. diff --git a/userspace/engine/falco_utils.h b/userspace/engine/falco_utils.h index 9c149b08..38bc5c9f 100644 --- a/userspace/engine/falco_utils.h +++ b/userspace/engine/falco_utils.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2016-2018 The Falco Authors. diff --git a/userspace/engine/filter_details_resolver.cpp b/userspace/engine/filter_details_resolver.cpp index e7c9757c..7130ab11 100644 --- a/userspace/engine/filter_details_resolver.cpp +++ b/userspace/engine/filter_details_resolver.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. @@ -100,4 +101,4 @@ void filter_details_resolver::visitor::visit(ast::value_expr* e) m_details.macros.insert(e->value); } -} \ No newline at end of file +} diff --git a/userspace/engine/filter_details_resolver.h b/userspace/engine/filter_details_resolver.h index 01a9b33c..bbf2534a 100644 --- a/userspace/engine/filter_details_resolver.h +++ b/userspace/engine/filter_details_resolver.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/engine/filter_macro_resolver.cpp b/userspace/engine/filter_macro_resolver.cpp index b90c80d2..556c6b95 100644 --- a/userspace/engine/filter_macro_resolver.cpp +++ b/userspace/engine/filter_macro_resolver.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/filter_macro_resolver.h b/userspace/engine/filter_macro_resolver.h index 4c3888e6..e7377705 100644 --- a/userspace/engine/filter_macro_resolver.h +++ b/userspace/engine/filter_macro_resolver.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/filter_ruleset.h b/userspace/engine/filter_ruleset.h index 2bceb38c..e84af57f 100644 --- a/userspace/engine/filter_ruleset.h +++ b/userspace/engine/filter_ruleset.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/filter_warning_resolver.cpp b/userspace/engine/filter_warning_resolver.cpp index 55be306b..45e477a7 100644 --- a/userspace/engine/filter_warning_resolver.cpp +++ b/userspace/engine/filter_warning_resolver.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/filter_warning_resolver.h b/userspace/engine/filter_warning_resolver.h index 8bc796e1..8479b7e4 100644 --- a/userspace/engine/filter_warning_resolver.h +++ b/userspace/engine/filter_warning_resolver.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/formats.cpp b/userspace/engine/formats.cpp index ea487572..90877f60 100644 --- a/userspace/engine/formats.cpp +++ b/userspace/engine/formats.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors. +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. diff --git a/userspace/engine/formats.h b/userspace/engine/formats.h index c6e42222..a4306b4e 100644 --- a/userspace/engine/formats.h +++ b/userspace/engine/formats.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors. +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. diff --git a/userspace/engine/indexed_vector.h b/userspace/engine/indexed_vector.h index b4f9bac7..13a25a9b 100644 --- a/userspace/engine/indexed_vector.h +++ b/userspace/engine/indexed_vector.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/json_evt.cpp b/userspace/engine/json_evt.cpp index 5b9250d9..9a5b8433 100644 --- a/userspace/engine/json_evt.cpp +++ b/userspace/engine/json_evt.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2019 The Falco Authors. +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. diff --git a/userspace/engine/json_evt.h b/userspace/engine/json_evt.h index ae6f6356..254d7e59 100644 --- a/userspace/engine/json_evt.h +++ b/userspace/engine/json_evt.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2019 The Falco Authors. +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. diff --git a/userspace/engine/rule_loader.cpp b/userspace/engine/rule_loader.cpp index 68b427e9..d4076412 100644 --- a/userspace/engine/rule_loader.cpp +++ b/userspace/engine/rule_loader.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/rule_loader.h b/userspace/engine/rule_loader.h index 3fcabb81..44481fc5 100644 --- a/userspace/engine/rule_loader.h +++ b/userspace/engine/rule_loader.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/rule_loader_collector.cpp b/userspace/engine/rule_loader_collector.cpp index 89ed49a4..ffd52b89 100644 --- a/userspace/engine/rule_loader_collector.cpp +++ b/userspace/engine/rule_loader_collector.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/rule_loader_collector.h b/userspace/engine/rule_loader_collector.h index bc773813..d5e3402c 100644 --- a/userspace/engine/rule_loader_collector.h +++ b/userspace/engine/rule_loader_collector.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/rule_loader_compiler.cpp b/userspace/engine/rule_loader_compiler.cpp index e6aa90a3..074c9da7 100644 --- a/userspace/engine/rule_loader_compiler.cpp +++ b/userspace/engine/rule_loader_compiler.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/rule_loader_compiler.h b/userspace/engine/rule_loader_compiler.h index 8cc04080..699d74b6 100644 --- a/userspace/engine/rule_loader_compiler.h +++ b/userspace/engine/rule_loader_compiler.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/rule_loader_reader.cpp b/userspace/engine/rule_loader_reader.cpp index 71ebfde4..f12ab870 100644 --- a/userspace/engine/rule_loader_reader.cpp +++ b/userspace/engine/rule_loader_reader.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/rule_loader_reader.h b/userspace/engine/rule_loader_reader.h index f61dc630..d455650e 100644 --- a/userspace/engine/rule_loader_reader.h +++ b/userspace/engine/rule_loader_reader.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. @@ -42,4 +43,4 @@ public: virtual bool read(configuration& cfg, collector& loader); }; -}; // namespace rule_loader \ No newline at end of file +}; // namespace rule_loader diff --git a/userspace/engine/stats_manager.cpp b/userspace/engine/stats_manager.cpp index 7d07e7c0..261f8ac1 100644 --- a/userspace/engine/stats_manager.cpp +++ b/userspace/engine/stats_manager.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/engine/stats_manager.h b/userspace/engine/stats_manager.h index 48018e9c..d07ad44e 100644 --- a/userspace/engine/stats_manager.h +++ b/userspace/engine/stats_manager.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. @@ -70,4 +71,4 @@ private: std::atomic m_total; std::vector>> m_by_priority; std::vector>> m_by_rule_id; -}; \ No newline at end of file +}; diff --git a/userspace/falco/CMakeLists.txt b/userspace/falco/CMakeLists.txt index 171c4c1a..973655f2 100644 --- a/userspace/falco/CMakeLists.txt +++ b/userspace/falco/CMakeLists.txt @@ -1,5 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2022 The Falco Authors. +# 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 diff --git a/userspace/falco/app/actions/actions.h b/userspace/falco/app/actions/actions.h index 840b6d76..5f8db767 100644 --- a/userspace/falco/app/actions/actions.h +++ b/userspace/falco/app/actions/actions.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/configure_interesting_sets.cpp b/userspace/falco/app/actions/configure_interesting_sets.cpp index ac8ccae5..8f9c31de 100644 --- a/userspace/falco/app/actions/configure_interesting_sets.cpp +++ b/userspace/falco/app/actions/configure_interesting_sets.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/configure_syscall_buffer_num.cpp b/userspace/falco/app/actions/configure_syscall_buffer_num.cpp index b06f3bba..27b1ef67 100644 --- a/userspace/falco/app/actions/configure_syscall_buffer_num.cpp +++ b/userspace/falco/app/actions/configure_syscall_buffer_num.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/configure_syscall_buffer_size.cpp b/userspace/falco/app/actions/configure_syscall_buffer_size.cpp index 11be185f..11468045 100644 --- a/userspace/falco/app/actions/configure_syscall_buffer_size.cpp +++ b/userspace/falco/app/actions/configure_syscall_buffer_size.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/create_requested_paths.cpp b/userspace/falco/app/actions/create_requested_paths.cpp index 55bada74..e87f45f0 100644 --- a/userspace/falco/app/actions/create_requested_paths.cpp +++ b/userspace/falco/app/actions/create_requested_paths.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/create_signal_handlers.cpp b/userspace/falco/app/actions/create_signal_handlers.cpp index f68798ac..b688ec61 100644 --- a/userspace/falco/app/actions/create_signal_handlers.cpp +++ b/userspace/falco/app/actions/create_signal_handlers.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/helpers.h b/userspace/falco/app/actions/helpers.h index 6c8c22a7..6dfc229c 100644 --- a/userspace/falco/app/actions/helpers.h +++ b/userspace/falco/app/actions/helpers.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/helpers_generic.cpp b/userspace/falco/app/actions/helpers_generic.cpp index 73500dca..75217d80 100644 --- a/userspace/falco/app/actions/helpers_generic.cpp +++ b/userspace/falco/app/actions/helpers_generic.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/helpers_inspector.cpp b/userspace/falco/app/actions/helpers_inspector.cpp index f6515a2d..bd7b682f 100644 --- a/userspace/falco/app/actions/helpers_inspector.cpp +++ b/userspace/falco/app/actions/helpers_inspector.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/init_clients.cpp b/userspace/falco/app/actions/init_clients.cpp index 9bfa7940..48f53da4 100644 --- a/userspace/falco/app/actions/init_clients.cpp +++ b/userspace/falco/app/actions/init_clients.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/init_falco_engine.cpp b/userspace/falco/app/actions/init_falco_engine.cpp index a32e804f..358c60e2 100644 --- a/userspace/falco/app/actions/init_falco_engine.cpp +++ b/userspace/falco/app/actions/init_falco_engine.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/init_inspectors.cpp b/userspace/falco/app/actions/init_inspectors.cpp index 88dea76e..5e958fc2 100644 --- a/userspace/falco/app/actions/init_inspectors.cpp +++ b/userspace/falco/app/actions/init_inspectors.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/init_outputs.cpp b/userspace/falco/app/actions/init_outputs.cpp index 7fd32d52..2e8afbed 100644 --- a/userspace/falco/app/actions/init_outputs.cpp +++ b/userspace/falco/app/actions/init_outputs.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/list_fields.cpp b/userspace/falco/app/actions/list_fields.cpp index 0348b0d2..6b0707af 100644 --- a/userspace/falco/app/actions/list_fields.cpp +++ b/userspace/falco/app/actions/list_fields.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/list_plugins.cpp b/userspace/falco/app/actions/list_plugins.cpp index 3aee1d75..8c9c6702 100644 --- a/userspace/falco/app/actions/list_plugins.cpp +++ b/userspace/falco/app/actions/list_plugins.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/load_config.cpp b/userspace/falco/app/actions/load_config.cpp index b5730b80..8f093912 100644 --- a/userspace/falco/app/actions/load_config.cpp +++ b/userspace/falco/app/actions/load_config.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. @@ -78,4 +79,4 @@ falco::app::run_result falco::app::actions::require_config_file(falco::app::stat } #endif // __EMSCRIPTEN__ return run_result::ok(); -} \ No newline at end of file +} diff --git a/userspace/falco/app/actions/load_plugins.cpp b/userspace/falco/app/actions/load_plugins.cpp index 9086db00..2ee16f68 100644 --- a/userspace/falco/app/actions/load_plugins.cpp +++ b/userspace/falco/app/actions/load_plugins.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/load_rules_files.cpp b/userspace/falco/app/actions/load_rules_files.cpp index 49f1b0b7..592b0184 100644 --- a/userspace/falco/app/actions/load_rules_files.cpp +++ b/userspace/falco/app/actions/load_rules_files.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/pidfile.cpp b/userspace/falco/app/actions/pidfile.cpp index 2116d65f..109f2e6e 100644 --- a/userspace/falco/app/actions/pidfile.cpp +++ b/userspace/falco/app/actions/pidfile.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/print_generated_gvisor_config.cpp b/userspace/falco/app/actions/print_generated_gvisor_config.cpp index f12bb567..758547e6 100644 --- a/userspace/falco/app/actions/print_generated_gvisor_config.cpp +++ b/userspace/falco/app/actions/print_generated_gvisor_config.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/print_help.cpp b/userspace/falco/app/actions/print_help.cpp index 9cfdd14e..ac6b5b4c 100644 --- a/userspace/falco/app/actions/print_help.cpp +++ b/userspace/falco/app/actions/print_help.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/print_ignored_events.cpp b/userspace/falco/app/actions/print_ignored_events.cpp index f77e33fd..44c2d375 100644 --- a/userspace/falco/app/actions/print_ignored_events.cpp +++ b/userspace/falco/app/actions/print_ignored_events.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/print_page_size.cpp b/userspace/falco/app/actions/print_page_size.cpp index bee0d3e9..508c6252 100644 --- a/userspace/falco/app/actions/print_page_size.cpp +++ b/userspace/falco/app/actions/print_page_size.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/print_plugin_info.cpp b/userspace/falco/app/actions/print_plugin_info.cpp index 35b5b7fa..8251ef1f 100644 --- a/userspace/falco/app/actions/print_plugin_info.cpp +++ b/userspace/falco/app/actions/print_plugin_info.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. @@ -106,4 +107,4 @@ falco::app::run_result falco::app::actions::print_plugin_info(falco::app::state& } return run_result::ok(); -} \ No newline at end of file +} diff --git a/userspace/falco/app/actions/print_support.cpp b/userspace/falco/app/actions/print_support.cpp index d3e8c645..0f18d716 100644 --- a/userspace/falco/app/actions/print_support.cpp +++ b/userspace/falco/app/actions/print_support.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/print_syscall_events.cpp b/userspace/falco/app/actions/print_syscall_events.cpp index e3ef70e5..71d2b0db 100644 --- a/userspace/falco/app/actions/print_syscall_events.cpp +++ b/userspace/falco/app/actions/print_syscall_events.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/print_version.cpp b/userspace/falco/app/actions/print_version.cpp index 6aabbcee..bcf1cbf3 100644 --- a/userspace/falco/app/actions/print_version.cpp +++ b/userspace/falco/app/actions/print_version.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/process_events.cpp b/userspace/falco/app/actions/process_events.cpp index 50ac60d7..f5fdec45 100644 --- a/userspace/falco/app/actions/process_events.cpp +++ b/userspace/falco/app/actions/process_events.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/select_event_sources.cpp b/userspace/falco/app/actions/select_event_sources.cpp index 78e52a6e..ff1b3556 100644 --- a/userspace/falco/app/actions/select_event_sources.cpp +++ b/userspace/falco/app/actions/select_event_sources.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. @@ -65,4 +66,4 @@ falco::app::run_result falco::app::actions::select_event_sources(falco::app::sta } return run_result::ok(); -} \ No newline at end of file +} diff --git a/userspace/falco/app/actions/start_grpc_server.cpp b/userspace/falco/app/actions/start_grpc_server.cpp index 8c432e0f..7d52aad9 100644 --- a/userspace/falco/app/actions/start_grpc_server.cpp +++ b/userspace/falco/app/actions/start_grpc_server.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/start_webserver.cpp b/userspace/falco/app/actions/start_webserver.cpp index 7805b0fc..a6f5b0c3 100644 --- a/userspace/falco/app/actions/start_webserver.cpp +++ b/userspace/falco/app/actions/start_webserver.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/actions/validate_rules_files.cpp b/userspace/falco/app/actions/validate_rules_files.cpp index 2b4851db..afc1e6f4 100644 --- a/userspace/falco/app/actions/validate_rules_files.cpp +++ b/userspace/falco/app/actions/validate_rules_files.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/app.cpp b/userspace/falco/app/app.cpp index b18000e5..b35674bd 100644 --- a/userspace/falco/app/app.cpp +++ b/userspace/falco/app/app.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/app.h b/userspace/falco/app/app.h index c8f11f3c..016f2959 100644 --- a/userspace/falco/app/app.h +++ b/userspace/falco/app/app.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/options.cpp b/userspace/falco/app/options.cpp index 63818046..01d95282 100644 --- a/userspace/falco/app/options.cpp +++ b/userspace/falco/app/options.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/options.h b/userspace/falco/app/options.h index e9183446..2c547449 100644 --- a/userspace/falco/app/options.h +++ b/userspace/falco/app/options.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/restart_handler.cpp b/userspace/falco/app/restart_handler.cpp index da44840d..fcd92de6 100644 --- a/userspace/falco/app/restart_handler.cpp +++ b/userspace/falco/app/restart_handler.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/restart_handler.h b/userspace/falco/app/restart_handler.h index 6a81adae..da46abed 100644 --- a/userspace/falco/app/restart_handler.h +++ b/userspace/falco/app/restart_handler.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/run_result.h b/userspace/falco/app/run_result.h index cffbe968..506febd8 100644 --- a/userspace/falco/app/run_result.h +++ b/userspace/falco/app/run_result.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/signals.h b/userspace/falco/app/signals.h index aa85f0c3..a95ea6b1 100644 --- a/userspace/falco/app/signals.h +++ b/userspace/falco/app/signals.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/app/state.h b/userspace/falco/app/state.h index cff9f484..dd74c1fd 100644 --- a/userspace/falco/app/state.h +++ b/userspace/falco/app/state.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/atomic_signal_handler.h b/userspace/falco/atomic_signal_handler.h index fa182731..001f1531 100644 --- a/userspace/falco/atomic_signal_handler.h +++ b/userspace/falco/atomic_signal_handler.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/config_falco.h.in b/userspace/falco/config_falco.h.in index 398b1d78..9c090b22 100644 --- a/userspace/falco/config_falco.h.in +++ b/userspace/falco/config_falco.h.in @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2019 The Falco Authors. +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. diff --git a/userspace/falco/configuration.cpp b/userspace/falco/configuration.cpp index 3e45b19e..a884734a 100644 --- a/userspace/falco/configuration.cpp +++ b/userspace/falco/configuration.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/falco/configuration.h b/userspace/falco/configuration.h index c1a595d0..2a2ed20c 100644 --- a/userspace/falco/configuration.h +++ b/userspace/falco/configuration.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/falco/event_drops.cpp b/userspace/falco/event_drops.cpp index 9b37afdd..07509050 100644 --- a/userspace/falco/event_drops.cpp +++ b/userspace/falco/event_drops.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2021 The Falco Authors. +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. diff --git a/userspace/falco/event_drops.h b/userspace/falco/event_drops.h index ff8d78b6..31255bc0 100644 --- a/userspace/falco/event_drops.h +++ b/userspace/falco/event_drops.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2021 The Falco Authors. +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. diff --git a/userspace/falco/falco.cpp b/userspace/falco/falco.cpp index 71d42b40..c12040ee 100644 --- a/userspace/falco/falco.cpp +++ b/userspace/falco/falco.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/falco/falco_outputs.cpp b/userspace/falco/falco_outputs.cpp index 21bef081..44b3ba31 100644 --- a/userspace/falco/falco_outputs.cpp +++ b/userspace/falco/falco_outputs.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors. +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. diff --git a/userspace/falco/falco_outputs.h b/userspace/falco/falco_outputs.h index 45d93141..6a9c8b3c 100644 --- a/userspace/falco/falco_outputs.h +++ b/userspace/falco/falco_outputs.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors. +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. diff --git a/userspace/falco/falco_semaphore.h b/userspace/falco/falco_semaphore.h index f60f1e87..aecf1149 100644 --- a/userspace/falco/falco_semaphore.h +++ b/userspace/falco/falco_semaphore.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/falco/grpc_context.cpp b/userspace/falco/grpc_context.cpp index c0411e2e..0709274a 100644 --- a/userspace/falco/grpc_context.cpp +++ b/userspace/falco/grpc_context.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2019 The Falco Authors +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. diff --git a/userspace/falco/grpc_context.h b/userspace/falco/grpc_context.h index 1320d41d..fd402821 100644 --- a/userspace/falco/grpc_context.h +++ b/userspace/falco/grpc_context.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2019 The Falco Authors +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. diff --git a/userspace/falco/grpc_queue.h b/userspace/falco/grpc_queue.h index c05d3327..2f6c02ee 100644 --- a/userspace/falco/grpc_queue.h +++ b/userspace/falco/grpc_queue.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors +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. diff --git a/userspace/falco/grpc_request_context.cpp b/userspace/falco/grpc_request_context.cpp index 194fb442..ec26d281 100644 --- a/userspace/falco/grpc_request_context.cpp +++ b/userspace/falco/grpc_request_context.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2016-2019 The Falco Authors diff --git a/userspace/falco/grpc_request_context.h b/userspace/falco/grpc_request_context.h index 1b4878ec..4f279fb7 100644 --- a/userspace/falco/grpc_request_context.h +++ b/userspace/falco/grpc_request_context.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2016-2019 The Falco Authors diff --git a/userspace/falco/grpc_server.cpp b/userspace/falco/grpc_server.cpp index e1169635..a62dc487 100644 --- a/userspace/falco/grpc_server.cpp +++ b/userspace/falco/grpc_server.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2019 The Falco Authors +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. diff --git a/userspace/falco/grpc_server.h b/userspace/falco/grpc_server.h index 352204e1..9df21998 100644 --- a/userspace/falco/grpc_server.h +++ b/userspace/falco/grpc_server.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2019 The Falco Authors +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. diff --git a/userspace/falco/grpc_server_impl.cpp b/userspace/falco/grpc_server_impl.cpp index f9bb9413..b298ad91 100644 --- a/userspace/falco/grpc_server_impl.cpp +++ b/userspace/falco/grpc_server_impl.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors +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. diff --git a/userspace/falco/grpc_server_impl.h b/userspace/falco/grpc_server_impl.h index b085f76e..36f8d574 100644 --- a/userspace/falco/grpc_server_impl.h +++ b/userspace/falco/grpc_server_impl.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2019 The Falco Authors +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. diff --git a/userspace/falco/logger.cpp b/userspace/falco/logger.cpp index 50cff569..48ffd601 100644 --- a/userspace/falco/logger.cpp +++ b/userspace/falco/logger.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors. +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. diff --git a/userspace/falco/logger.h b/userspace/falco/logger.h index 1cd95dc2..febadd38 100644 --- a/userspace/falco/logger.h +++ b/userspace/falco/logger.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors. +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. diff --git a/userspace/falco/outputs.h b/userspace/falco/outputs.h index 0ad01d85..ac00f454 100644 --- a/userspace/falco/outputs.h +++ b/userspace/falco/outputs.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors. +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. diff --git a/userspace/falco/outputs.proto b/userspace/falco/outputs.proto index b2d35adc..0e72f9e0 100644 --- a/userspace/falco/outputs.proto +++ b/userspace/falco/outputs.proto @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors. +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. @@ -52,4 +53,4 @@ message response { string hostname = 7; repeated string tags = 8; string source = 9; -} \ No newline at end of file +} diff --git a/userspace/falco/outputs_file.cpp b/userspace/falco/outputs_file.cpp index fa22fbc6..c6131a33 100644 --- a/userspace/falco/outputs_file.cpp +++ b/userspace/falco/outputs_file.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors +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. diff --git a/userspace/falco/outputs_file.h b/userspace/falco/outputs_file.h index 0fff6ff7..0849c846 100644 --- a/userspace/falco/outputs_file.h +++ b/userspace/falco/outputs_file.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors. +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. diff --git a/userspace/falco/outputs_grpc.cpp b/userspace/falco/outputs_grpc.cpp index 29dfaa50..5ffb80b1 100644 --- a/userspace/falco/outputs_grpc.cpp +++ b/userspace/falco/outputs_grpc.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors +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. @@ -103,4 +104,4 @@ void falco::outputs::output_grpc::output(const message *msg) *source = msg->source; falco::grpc::queue::get().push(grpc_res); -} \ No newline at end of file +} diff --git a/userspace/falco/outputs_grpc.h b/userspace/falco/outputs_grpc.h index 6cfb4c80..90166b2d 100644 --- a/userspace/falco/outputs_grpc.h +++ b/userspace/falco/outputs_grpc.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors. +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. diff --git a/userspace/falco/outputs_http.cpp b/userspace/falco/outputs_http.cpp index b07c41db..e735b235 100644 --- a/userspace/falco/outputs_http.cpp +++ b/userspace/falco/outputs_http.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors +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. diff --git a/userspace/falco/outputs_http.h b/userspace/falco/outputs_http.h index 0e715dcb..1f17269e 100644 --- a/userspace/falco/outputs_http.h +++ b/userspace/falco/outputs_http.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors. +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. diff --git a/userspace/falco/outputs_program.cpp b/userspace/falco/outputs_program.cpp index 3c4492c5..cc7f44c9 100644 --- a/userspace/falco/outputs_program.cpp +++ b/userspace/falco/outputs_program.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors +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. diff --git a/userspace/falco/outputs_program.h b/userspace/falco/outputs_program.h index 1b6ba33d..620b8a6a 100644 --- a/userspace/falco/outputs_program.h +++ b/userspace/falco/outputs_program.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors. +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. diff --git a/userspace/falco/outputs_stdout.cpp b/userspace/falco/outputs_stdout.cpp index e2b962e2..9eb8e957 100644 --- a/userspace/falco/outputs_stdout.cpp +++ b/userspace/falco/outputs_stdout.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors +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. diff --git a/userspace/falco/outputs_stdout.h b/userspace/falco/outputs_stdout.h index e16bdb50..34be5292 100644 --- a/userspace/falco/outputs_stdout.h +++ b/userspace/falco/outputs_stdout.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors. +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. diff --git a/userspace/falco/outputs_syslog.cpp b/userspace/falco/outputs_syslog.cpp index dc779bf9..99578d3e 100644 --- a/userspace/falco/outputs_syslog.cpp +++ b/userspace/falco/outputs_syslog.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors +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. diff --git a/userspace/falco/outputs_syslog.h b/userspace/falco/outputs_syslog.h index 6ea92aff..8d22b841 100644 --- a/userspace/falco/outputs_syslog.h +++ b/userspace/falco/outputs_syslog.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors. +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. diff --git a/userspace/falco/schema.proto b/userspace/falco/schema.proto index 10e564bc..00939c12 100644 --- a/userspace/falco/schema.proto +++ b/userspace/falco/schema.proto @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/falco/stats_writer.cpp b/userspace/falco/stats_writer.cpp index c4589a8f..dc83ab9c 100644 --- a/userspace/falco/stats_writer.cpp +++ b/userspace/falco/stats_writer.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/stats_writer.h b/userspace/falco/stats_writer.h index 42a183e7..b126367b 100644 --- a/userspace/falco/stats_writer.h +++ b/userspace/falco/stats_writer.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. @@ -153,4 +154,4 @@ private: // note: in this way, only collectors can push into the queue friend class stats_writer::collector; -}; \ No newline at end of file +}; diff --git a/userspace/falco/version.proto b/userspace/falco/version.proto index a98c1a5c..2fb9e43a 100644 --- a/userspace/falco/version.proto +++ b/userspace/falco/version.proto @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors. +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. diff --git a/userspace/falco/versions_info.cpp b/userspace/falco/versions_info.cpp index c596a8d4..7c2ead10 100644 --- a/userspace/falco/versions_info.cpp +++ b/userspace/falco/versions_info.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/versions_info.h b/userspace/falco/versions_info.h index 0f63ac74..570a6b3f 100644 --- a/userspace/falco/versions_info.h +++ b/userspace/falco/versions_info.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/userspace/falco/watchdog.h b/userspace/falco/watchdog.h index bb4e03b9..4527c4a4 100644 --- a/userspace/falco/watchdog.h +++ b/userspace/falco/watchdog.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2020 The Falco Authors. +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. @@ -93,4 +94,4 @@ private: std::atomic m_timeout; std::atomic m_is_running; std::thread m_thread; -}; \ No newline at end of file +}; diff --git a/userspace/falco/webserver.cpp b/userspace/falco/webserver.cpp index d826436c..36070f1f 100644 --- a/userspace/falco/webserver.cpp +++ b/userspace/falco/webserver.cpp @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/falco/webserver.h b/userspace/falco/webserver.h index eed82e2a..8a2e3a2f 100644 --- a/userspace/falco/webserver.h +++ b/userspace/falco/webserver.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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. diff --git a/userspace/falco/yaml_helper.h b/userspace/falco/yaml_helper.h index b8fc0d94..19ff0aac 100644 --- a/userspace/falco/yaml_helper.h +++ b/userspace/falco/yaml_helper.h @@ -1,5 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* -Copyright (C) 2022 The Falco Authors. +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.