This is an automated email from the ASF dual-hosted git repository.

martinzink pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit 88cabaaf853de36a921a2cf0af7900f964e21128
Author: Gabor Gyimesi <[email protected]>
AuthorDate: Wed Nov 11 11:45:18 2026 +0100

    MINIFICPP-2937 Fix licenses and add Apache RAT check
    
    Closes #2299
    
    Signed-off-by: Martin Zink <[email protected]>
---
 .clang-format                                      |  4 +++
 .clang-tidy                                        |  4 +++
 .github/PULL_REQUEST_TEMPLATE.md                   |  6 ++++
 .../github_scripts/github_actions_cache_cleanup.py |  3 ++
 .../github_actions_cache_cleanup_tests.py          |  3 ++
 .github/github_scripts/requirements.txt            |  4 +++
 .github/workflows/ci.yml                           | 24 +++++++++++---
 .github/workflows/clear-actions-cache.yml          |  4 +++
 .github/workflows/compiler-support.yml             |  4 +++
 .github/workflows/create-release-artifacts.yml     |  4 +++
 .github/workflows/memcheck_ci.yml                  |  4 +++
 .github/workflows/verify-package.yml               |  4 +++
 .gitignore                                         |  2 +-
 .rat-excludes                                      | 36 +++++++++++++++++++++
 CMakeLists.txt                                     | 23 +++-----------
 CPPLINT.cfg                                        |  4 +++
 behave_framework/README.md                         | 10 ++++--
 behave_framework/pyproject.toml                    |  4 +++
 .../resources/minifi-controller/config.yml         |  4 +++
 bin/minifi.service.in                              |  4 +++
 bootstrap/requirements.txt                         |  4 +++
 cmake/ApacheRAT.cmake                              | 32 +++++++++++++++++++
 cmake/RocksDBConfig.cmake.in                       |  4 +++
 core-framework/CMakeLists.txt                      |  4 +++
 core-framework/common/CMakeLists.txt               |  4 +++
 core-framework/include/utils/ValueCaster.h         | 20 ++----------
 core-framework/include/utils/ValueParser.h         | 20 ++----------
 core-framework/src/io/CPPLINT.cfg                  |  4 +++
 docker/compiler-test/clang.Dockerfile              |  4 +++
 docker/compiler-test/gcc.Dockerfile                |  4 +++
 docker/installed/installed.dockerignore            |  4 +++
 docs/status/index.html                             |  6 ++++
 encrypt-config/tests/resources/conf/bootstrap.conf |  4 +++
 etc/conan/profiles/release-linux                   |  4 +++
 etc/conan/profiles/release-windows                 |  4 +++
 examples/couchbase_mtls_authentication.yml         |  4 +++
 .../cluster-roles/daemon.namespace.yml             |  4 +++
 .../cluster-roles/namespace-reader.clusterrole.yml |  4 +++
 .../namespace-reader.clusterrolebinding.yml        |  4 +++
 .../cluster-roles/pod-reader.clusterrole.yml       |  4 +++
 .../pod-reader.clusterrolebinding.yml              |  4 +++
 examples/mqtt_config.yml                           |  4 +++
 examples/splittext_puttcp_config.yml               |  4 +++
 extension-framework/CMakeLists.txt                 |  4 +++
 .../features/resources/kinesis-mock/Dockerfile     |  4 +++
 .../resources/kinesis-mock/consumer/consumer.js    |  4 +++
 .../tests/features/resources/elasticsearch.yml     |  4 +++
 .../tests/features/resources/opensearch.yml        |  4 +++
 .../features/resources/reverse-proxy/Dockerfile    |  4 +++
 .../resources/reverse-proxy/nginx.conf.template    |  4 +++
 .../tests/features/resources/daemon.namespace.yml  |  4 +++
 .../resources/hello-world-one.helper-pod.yml       |  4 +++
 .../resources/hello-world-two.helper-pod.yml       |  4 +++
 .../tests/features/resources/minifi.test-pod.yml   |  4 +++
 .../resources/namespace-reader.clusterrole.yml     |  4 +++
 .../namespace-reader.clusterrolebinding.yml        |  4 +++
 .../features/resources/pod-reader.clusterrole.yml  |  4 +++
 .../resources/pod-reader.clusterrolebinding.yml    |  4 +++
 .../lua/tests/features/resources/sleep_forever.lua |  4 +++
 .../utils/dependency_installer.py                  |  4 +++
 .../sftp/tests/tools/sftp-test-server/pom.xml      |  5 +++
 .../resources/minifi-c2-server/authorizations.yaml |  4 +++
 .../steps/resources/minifi-c2-server/c2.properties |  4 +++
 .../steps/resources/minifi-c2-server/config.yml    |  4 +++
 .../tests/custom-provider/CPPLINT.cfg              |  4 +++
 .../tests/resources/invalidxml.xml                 | 31 ++++++++++--------
 .../tests/resources/multiplesids.xml               | 35 +++++++++++---------
 .../tests/resources/nobodysid.xml                  | 37 ++++++++++++----------
 .../windows-event-log/tests/resources/nodata.xml   | 33 +++++++++++--------
 .../tests/resources/resolveduserid.xml             | 37 ++++++++++++----------
 .../tests/resources/unknownsid.xml                 | 37 ++++++++++++----------
 .../windows-event-log/tests/resources/userid.xml   | 37 ++++++++++++----------
 .../windows-event-log/tests/resources/withsids.xml | 37 ++++++++++++----------
 fips/openssl.cnf                                   |  4 +++
 libminifi/include/core/flow/README.md              |  6 ++++
 libminifi/src/CPPLINT.cfg                          |  4 +++
 libminifi/src/agent/CPPLINT.cfg                    |  4 +++
 libminifi/src/io/CPPLINT.cfg                       |  4 +++
 libminifi/test/CPPLINT.cfg                         |  4 +++
 .../extension-verification-test/dummy-cpp-api.def  |  4 +++
 libminifi/test/resources/RocksDbStateStorage.yml   |  4 +++
 libminifi/test/resources/TestInvokeHTTPPost.yml    |  4 +++
 .../test/resources/TestInvokeHTTPPostSecure.yml    |  4 +++
 libminifi/test/resources/TestProcessGroup.yml      |  4 +++
 libminifi/test/resources/conf/bootstrap.conf       |  4 +++
 minifi-api/CMakeLists.txt                          |  4 +++
 .../include/minifi-cpp/utils/PropertyExceptions.h  | 20 ++----------
 minifi-api/minifi-api.def                          |  4 +++
 minifi_rust/.cargo/config.toml                     |  4 +++
 minifi_rust/.dockerignore                          |  4 +++
 minifi_rust/Cargo.toml                             |  4 +++
 minifi_rust/README.md                              |  6 ++++
 .../extensions/minifi_pgp/.cargo/config.toml       |  4 +++
 minifi_rust/extensions/minifi_pgp/Cargo.toml       |  4 +++
 .../minifi_rs_playground/.cargo/config.toml        |  4 +++
 .../extensions/minifi_rs_playground/Cargo.toml     |  4 +++
 minifi_rust/extensions/minifi_tensor/Cargo.toml    |  4 +++
 minifi_rust/minifi_native/Cargo.toml               |  4 +++
 minifi_rust/minifi_native_macros/Cargo.toml        |  4 +++
 minifi_rust/minifi_native_sys/Cargo.toml           |  4 +++
 minifi_rust/minifi_rs_behave/Cargo.toml            |  4 +++
 minifi_rust/minifi_rs_behave/Dockerfile.alpine     |  4 +++
 minifi_rust/minifi_rs_behave/Dockerfile.debian     |  4 +++
 packaging/msi/MergeModulesFeature.xml              |  6 ++++
 packaging/msi/VSRedistributablesComponent.xml      |  6 ++++
 packaging/msi/VSRedistributablesFeature.xml        |  6 ++++
 ruff.toml                                          |  4 +++
 thirdparty/google-cloud-cpp/config.yml             |  4 +++
 .../grpc/all/cmake/grpc_plugin_template.cmake.in   |  4 +++
 thirdparty/paho-mqtt/all/conandata.yml             |  4 +++
 versioninfo.rc.in                                  |  4 +++
 111 files changed, 661 insertions(+), 199 deletions(-)

diff --git a/.clang-format b/.clang-format
index bae2470ae..db00f0f33 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 BasedOnStyle: Google
 AccessModifierOffset: -1
 AlignAfterOpenBracket: false
diff --git a/.clang-tidy b/.clang-tidy
index 9349f5989..3c2f3db41 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 Checks: >
   -clang-analyzer-optin.cplusplus.VirtualCall,
   -clang-analyzer-optin.core.EnumCastOutOfRange,
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 70c26a320..af75c5acc 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -1,3 +1,9 @@
+<!--
+  SPDX-License-Identifier: Apache-2.0
+  SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+  SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+-->
+
 Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
 
 In order to streamline the review of the contribution we ask you to ensure the 
following steps have been taken:
diff --git a/.github/github_scripts/github_actions_cache_cleanup.py 
b/.github/github_scripts/github_actions_cache_cleanup.py
index 3ba4496d0..eea209451 100755
--- a/.github/github_scripts/github_actions_cache_cleanup.py
+++ b/.github/github_scripts/github_actions_cache_cleanup.py
@@ -1,4 +1,7 @@
 #!/bin/python3
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
 
 import argparse
 import logging
diff --git a/.github/github_scripts/github_actions_cache_cleanup_tests.py 
b/.github/github_scripts/github_actions_cache_cleanup_tests.py
index 716a7ebcb..fa1c19c45 100755
--- a/.github/github_scripts/github_actions_cache_cleanup_tests.py
+++ b/.github/github_scripts/github_actions_cache_cleanup_tests.py
@@ -1,4 +1,7 @@
 #!/bin/python3
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
 
 import unittest
 from unittest.mock import MagicMock
diff --git a/.github/github_scripts/requirements.txt 
b/.github/github_scripts/requirements.txt
index f5729e0df..a3f7cefc4 100644
--- a/.github/github_scripts/requirements.txt
+++ b/.github/github_scripts/requirements.txt
@@ -1 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 requests==2.33.0
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bbad3de1e..e5f1c8408 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 name: "MiNiFi-CPP CI"
 on:
   push:
@@ -696,21 +700,25 @@ jobs:
         uses: actions/checkout@v6
 
       - id: install_deps
-        run: pipx install ruff
+        run: |
+          pipx install ruff && \
+          wget 
https://archive.apache.org/dist/creadur/apache-rat-0.18/apache-rat-0.18-bin.tar.gz
 -O ~/apache-rat-0.18-bin.tar.gz && \
+          echo 
"315b16536526838237c42b5e6b613d29adc77e25a6e44a866b2b7f8b162e03d3629d49c9faea86ceb864a36b2c42838b8ce43d6f2db544e961f2259e242748f4
  $HOME/apache-rat-0.18-bin.tar.gz" | sha512sum -c - && \
+          tar -xzf ~/apache-rat-0.18-bin.tar.gz -C ~/
 
       - id: cmake
-        run: mkdir build && cd build && cmake -DMINIFI_STATIC_ANALYSIS_ONLY=ON 
..
+        run: mkdir build && cd build && cmake -DMINIFI_STATIC_ANALYSIS_ONLY=ON 
-DRAT_JAR=~/apache-rat-0.18/apache-rat-0.18.jar ..
 
       - id: cpp_lint
         name: C++ linter
         continue-on-error: true
-        run: make linter
+        run: cmake --build . --target linter
         working-directory: build
 
       - id: shellcheck
         name: Shellcheck
         continue-on-error: true
-        run: make shellcheck
+        run: cmake --build . --target shellcheck
         working-directory: build
 
       - id: python_check
@@ -730,8 +738,14 @@ jobs:
         run: cargo clippy --workspace --all-targets -- -D warnings
         working-directory: minifi_rust
 
+      - id: apache_rat_check
+        name: Apache RAT check
+        continue-on-error: true
+        run: cmake --build . --target rat
+        working-directory: build
+
       - name: Check Linter Statuses
-        if: steps.cpp_lint.outcome == 'failure' || steps.shellcheck.outcome == 
'failure' || steps.python_check.outcome == 'failure' || 
steps.cargo_fmt_check.outcome == 'failure' || steps.clippy_check.outcome == 
'failure'
+        if: steps.cpp_lint.outcome == 'failure' || steps.shellcheck.outcome == 
'failure' || steps.python_check.outcome == 'failure' || 
steps.cargo_fmt_check.outcome == 'failure' || steps.clippy_check.outcome == 
'failure' || steps.apache_rat_check.outcome == 'failure'
         run: |
           echo "One or more linters failed. Failing the workflow."
           exit 1
diff --git a/.github/workflows/clear-actions-cache.yml 
b/.github/workflows/clear-actions-cache.yml
index 0b46cfcdc..943e34d10 100644
--- a/.github/workflows/clear-actions-cache.yml
+++ b/.github/workflows/clear-actions-cache.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 name: "MiNiFi-CPP Github Actions Cache Eviction"
 on:
   workflow_run:
diff --git a/.github/workflows/compiler-support.yml 
b/.github/workflows/compiler-support.yml
index 3ad10c739..efc5c77b1 100644
--- a/.github/workflows/compiler-support.yml
+++ b/.github/workflows/compiler-support.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 # .github/workflows/compiler-support.yml
 
 name: 'Check supported Compilers'
diff --git a/.github/workflows/create-release-artifacts.yml 
b/.github/workflows/create-release-artifacts.yml
index ccbd039d8..f44eb6d0a 100644
--- a/.github/workflows/create-release-artifacts.yml
+++ b/.github/workflows/create-release-artifacts.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 name: "Create Release Artifacts"
 
 on:
diff --git a/.github/workflows/memcheck_ci.yml 
b/.github/workflows/memcheck_ci.yml
index 76e4201c2..467d0c20e 100644
--- a/.github/workflows/memcheck_ci.yml
+++ b/.github/workflows/memcheck_ci.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 name: "MiNiFi-CPP memcheck"
 on:
   workflow_dispatch:
diff --git a/.github/workflows/verify-package.yml 
b/.github/workflows/verify-package.yml
index f673dff51..988a95bc0 100644
--- a/.github/workflows/verify-package.yml
+++ b/.github/workflows/verify-package.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 name: "MiNiFi-CPP Verify Package"
 
 on:
diff --git a/.gitignore b/.gitignore
index 8900c53b2..5f27df36d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -82,7 +82,7 @@ output
 .vs/VSWorkspaceState.json
 .vs/slnx.sqlite
 /.ccls-cache
-/.vscode
+.vscode/**
 .ccache
 *profraw
 CMakePresets.json
diff --git a/.rat-excludes b/.rat-excludes
new file mode 100644
index 000000000..876587eac
--- /dev/null
+++ b/.rat-excludes
@@ -0,0 +1,36 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
+**/*.patch
+**/__init__.py
+**/*.asc
+extensions/procfs/tests/mockprocfs_t0/624372/stat
+extensions/procfs/tests/mockprocfs_t0/diskstats
+extensions/procfs/tests/mockprocfs_t0/meminfo
+extensions/procfs/tests/mockprocfs_t0/net/dev
+extensions/procfs/tests/mockprocfs_t0/stat
+extensions/procfs/tests/mockprocfs_t1/624372/stat
+extensions/procfs/tests/mockprocfs_t1/diskstats
+extensions/procfs/tests/mockprocfs_t1/meminfo
+extensions/procfs/tests/mockprocfs_t1/net/dev
+extensions/procfs/tests/mockprocfs_t1/stat
+extensions/sftp/tests/resources/known_hosts
+extensions/sftp/tests/resources/known_hosts_mismatch
+extensions/standard-processors/tests/minifi-tmpfile.txt
+libminifi/test/resources/TestTailFile.txt
+libminifi/test/resources/certs/alice_encryption_pass
+libminifi/test/resources/cn.ckey.pem
+libminifi/test/resources/cn.crt.pem
+libminifi/test/resources/cn.pass
+libminifi/test/resources/encrypted.cn.pass
+libminifi/test/resources/encrypted.key.pem
+packaging/rpm/expected-rpm-contents.in
+cmake/FindBash.cmake
+cmake/FindMessageCompiler.cmake
+cmake/FindPatch.cmake
+extensions/kubernetes/tests/features/resources/metrics-server.dependencies.yml
+libminifi/test/asset/.state
+libminifi/test/resources/decrypted.config.json.reformatted
+libminifi/test/resources/decrypted.config.yml.reformatted
+thirdparty/cldr-common-38.1/common/supplemental/windowsZones.xml
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 96f98d4e3..5cc5a22ec 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,21 +1,6 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-#
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you 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.
-#
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
 
 cmake_minimum_required(VERSION 3.26)
 cmake_policy(SET CMP0096 NEW) # policy to preserve the leading zeros in 
PROJECT_VERSION_{MAJOR,MINOR,PATCH,TWEAK}
@@ -71,6 +56,8 @@ add_custom_target(shellcheck
     COMMAND ${CMAKE_SOURCE_DIR}/run_shellcheck.sh ${CMAKE_SOURCE_DIR})
 endif(NOT WIN32)
 
+include(ApacheRAT)
+
 if (MINIFI_STATIC_ANALYSIS_ONLY)
     return()
 endif()
diff --git a/CPPLINT.cfg b/CPPLINT.cfg
index dd0466fa4..51c9500f6 100644
--- a/CPPLINT.cfg
+++ b/CPPLINT.cfg
@@ -1,2 +1,6 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 set noparent
 
filter=-runtime/reference,-runtime/string,-build/c++11,-build/include_subdir,-whitespace/forcolon,-build/namespaces_literals,-readability/check,-build/include_what_you_use,-readability/nolint,-readability/braces,-whitespace/newline,-whitespace/indent_namespace
diff --git a/behave_framework/README.md b/behave_framework/README.md
index 4ff770b92..3f5cd9b66 100644
--- a/behave_framework/README.md
+++ b/behave_framework/README.md
@@ -1,3 +1,9 @@
+<!--
+  SPDX-License-Identifier: Apache-2.0
+  SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+  SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+-->
+
 # MiNiFi Behave Framework
 
 This is a test framework designed to aid in the Behavior-Driven Development 
(BDD) integration testing of Apache NiFi MiNiFi C++.
@@ -61,11 +67,11 @@ Make sure your virtual environment is activated, then run:
 
 ```bash
 # Run all tests
-behavex 
+behavex
 
 # Run a specific feature file
 behavex 
extensions/standard-processors/tests/features/file_system_operations.feature
 
 # Run tests with a specific tag (if you tag your scenarios)
 behavex -t @my_tag
-```
\ No newline at end of file
+```
diff --git a/behave_framework/pyproject.toml b/behave_framework/pyproject.toml
index 84fa62f28..ba0b804eb 100644
--- a/behave_framework/pyproject.toml
+++ b/behave_framework/pyproject.toml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 [project]
 name = "minifi-behave"
 version = "0.3.0"
diff --git 
a/behave_framework/src/minifi_behave/containers/resources/minifi-controller/config.yml
 
b/behave_framework/src/minifi_behave/containers/resources/minifi-controller/config.yml
index 60bf34b12..6057cf4cf 100644
--- 
a/behave_framework/src/minifi_behave/containers/resources/minifi-controller/config.yml
+++ 
b/behave_framework/src/minifi_behave/containers/resources/minifi-controller/config.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 MiNiFi Config Version: 3
 Flow Controller:
   name: MiNiFi Flow
diff --git a/bin/minifi.service.in b/bin/minifi.service.in
index 0b8932ccc..ae60e8eb5 100644
--- a/bin/minifi.service.in
+++ b/bin/minifi.service.in
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 [Unit]
 Description=Starts and stops the MiNiFi C++ Agent
 After=network.target
diff --git a/bootstrap/requirements.txt b/bootstrap/requirements.txt
index e31f7c3e3..92cd22883 100644
--- a/bootstrap/requirements.txt
+++ b/bootstrap/requirements.txt
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 inquirer==3.2.4
 cmake==3.26.3
 pathlib==1.0.1
diff --git a/cmake/ApacheRAT.cmake b/cmake/ApacheRAT.cmake
new file mode 100644
index 000000000..759ebc75c
--- /dev/null
+++ b/cmake/ApacheRAT.cmake
@@ -0,0 +1,32 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
+set(RAT_JAR "" CACHE FILEPATH "Path to the Apache RAT jar")
+
+find_package(Java COMPONENTS Runtime)
+
+if(NOT RAT_JAR)
+  message(STATUS "RAT_JAR not set, 'rat' target not available")
+  return()
+endif()
+
+if(NOT Java_FOUND)
+  message(FATAL_ERROR "RAT_JAR is set but no Java runtime was found")
+endif()
+
+if(NOT EXISTS "${RAT_JAR}")
+  message(FATAL_ERROR "RAT_JAR does not exist: ${RAT_JAR}")
+endif()
+
+add_custom_target(rat
+  COMMAND ${Java_JAVA_EXECUTABLE} -jar "${RAT_JAR}"
+          --input-exclude-parsed-scm GIT
+          --input-exclude-file "${CMAKE_SOURCE_DIR}/.rat-excludes"
+          --output-style unapproved-licenses
+          --input-include-std HIDDEN_DIR
+          -- "${CMAKE_SOURCE_DIR}"
+  WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
+  COMMENT "Running Apache RAT license check"
+  VERBATIM
+)
diff --git a/cmake/RocksDBConfig.cmake.in b/cmake/RocksDBConfig.cmake.in
index b3cb2b27a..ee16a30a6 100644
--- a/cmake/RocksDBConfig.cmake.in
+++ b/cmake/RocksDBConfig.cmake.in
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 @PACKAGE_INIT@
 include("${CMAKE_CURRENT_LIST_DIR}/RocksDBTargets.cmake")
 check_required_components(RocksDB)
diff --git a/core-framework/CMakeLists.txt b/core-framework/CMakeLists.txt
index 9c51cb775..7b8229873 100644
--- a/core-framework/CMakeLists.txt
+++ b/core-framework/CMakeLists.txt
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 add_subdirectory(common)
 
 file(GLOB SOURCES
diff --git a/core-framework/common/CMakeLists.txt 
b/core-framework/common/CMakeLists.txt
index 3a483b2d1..1bca13a4c 100644
--- a/core-framework/common/CMakeLists.txt
+++ b/core-framework/common/CMakeLists.txt
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 file(GLOB SOURCES
         src/*.cpp
         src/core/*.cpp
diff --git a/core-framework/include/utils/ValueCaster.h 
b/core-framework/include/utils/ValueCaster.h
index bc31b85c2..10c6f29c2 100644
--- a/core-framework/include/utils/ValueCaster.h
+++ b/core-framework/include/utils/ValueCaster.h
@@ -1,20 +1,6 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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/licenseas/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.
- */
+// SPDX-License-Identifier: Apache-2.0
+// SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+// SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) 
under one or more contributor license agreements
 
 #pragma once
 
diff --git a/core-framework/include/utils/ValueParser.h 
b/core-framework/include/utils/ValueParser.h
index 71329cb17..9cd479d6a 100644
--- a/core-framework/include/utils/ValueParser.h
+++ b/core-framework/include/utils/ValueParser.h
@@ -1,20 +1,6 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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/licenseas/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.
- */
+// SPDX-License-Identifier: Apache-2.0
+// SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+// SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) 
under one or more contributor license agreements
 
 #pragma once
 
diff --git a/core-framework/src/io/CPPLINT.cfg 
b/core-framework/src/io/CPPLINT.cfg
index 418e6b0a0..dd370f32e 100644
--- a/core-framework/src/io/CPPLINT.cfg
+++ b/core-framework/src/io/CPPLINT.cfg
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 set noparent
 filter=-build/c++11,-build/include_subdir
 
diff --git a/docker/compiler-test/clang.Dockerfile 
b/docker/compiler-test/clang.Dockerfile
index 784e4156f..f3952cfca 100644
--- a/docker/compiler-test/clang.Dockerfile
+++ b/docker/compiler-test/clang.Dockerfile
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 ARG BASE_IMAGE
 
 FROM ${BASE_IMAGE} AS build
diff --git a/docker/compiler-test/gcc.Dockerfile 
b/docker/compiler-test/gcc.Dockerfile
index 05a3e867b..5cef71228 100644
--- a/docker/compiler-test/gcc.Dockerfile
+++ b/docker/compiler-test/gcc.Dockerfile
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 ARG BASE_IMAGE
 
 FROM ${BASE_IMAGE} AS build
diff --git a/docker/installed/installed.dockerignore 
b/docker/installed/installed.dockerignore
index 7152655b0..232d6aa32 100644
--- a/docker/installed/installed.dockerignore
+++ b/docker/installed/installed.dockerignore
@@ -1,2 +1,6 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 *
 !*.tar.gz
diff --git a/docs/status/index.html b/docs/status/index.html
index f153f7d88..917b67aee 100644
--- a/docs/status/index.html
+++ b/docs/status/index.html
@@ -1,3 +1,9 @@
+<!--
+  SPDX-License-Identifier: Apache-2.0
+  SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+  SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+-->
+
 <!-- This site was generated with the help of the generative AI model Claude 
Opus 4.6 -->
 <!DOCTYPE html>
 <html lang="en">
diff --git a/encrypt-config/tests/resources/conf/bootstrap.conf 
b/encrypt-config/tests/resources/conf/bootstrap.conf
index 7718ef273..6b2c6a2bc 100644
--- a/encrypt-config/tests/resources/conf/bootstrap.conf
+++ b/encrypt-config/tests/resources/conf/bootstrap.conf
@@ -1 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 
nifi.bootstrap.sensitive.key=b1743bb4f6b63aca6e56e2272a729ef8fe6ee9612fb073c16c60851f11588168
diff --git a/etc/conan/profiles/release-linux b/etc/conan/profiles/release-linux
index 860723dc5..11c5aed8d 100644
--- a/etc/conan/profiles/release-linux
+++ b/etc/conan/profiles/release-linux
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 [settings]
 os=Linux
 arch=x86_64
diff --git a/etc/conan/profiles/release-windows 
b/etc/conan/profiles/release-windows
index 26b01af27..28df41ff6 100644
--- a/etc/conan/profiles/release-windows
+++ b/etc/conan/profiles/release-windows
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 [settings]
 os=Windows
 arch=x86_64
diff --git a/examples/couchbase_mtls_authentication.yml 
b/examples/couchbase_mtls_authentication.yml
index 7ef1033e7..429f7dc5e 100644
--- a/examples/couchbase_mtls_authentication.yml
+++ b/examples/couchbase_mtls_authentication.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 Flow Controller:
   name: MiNiFi Flow
 Processors:
diff --git 
a/examples/kubernetes/daemon-set-log-collection/cluster-roles/daemon.namespace.yml
 
b/examples/kubernetes/daemon-set-log-collection/cluster-roles/daemon.namespace.yml
index f628b21e6..29d769840 100644
--- 
a/examples/kubernetes/daemon-set-log-collection/cluster-roles/daemon.namespace.yml
+++ 
b/examples/kubernetes/daemon-set-log-collection/cluster-roles/daemon.namespace.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 apiVersion: v1
 kind: Namespace
 metadata:
diff --git 
a/examples/kubernetes/daemon-set-log-collection/cluster-roles/namespace-reader.clusterrole.yml
 
b/examples/kubernetes/daemon-set-log-collection/cluster-roles/namespace-reader.clusterrole.yml
index 863439a69..35b297f9b 100644
--- 
a/examples/kubernetes/daemon-set-log-collection/cluster-roles/namespace-reader.clusterrole.yml
+++ 
b/examples/kubernetes/daemon-set-log-collection/cluster-roles/namespace-reader.clusterrole.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 kind: ClusterRole
 apiVersion: rbac.authorization.k8s.io/v1
 metadata:
diff --git 
a/examples/kubernetes/daemon-set-log-collection/cluster-roles/namespace-reader.clusterrolebinding.yml
 
b/examples/kubernetes/daemon-set-log-collection/cluster-roles/namespace-reader.clusterrolebinding.yml
index 98de6c481..764a5254f 100644
--- 
a/examples/kubernetes/daemon-set-log-collection/cluster-roles/namespace-reader.clusterrolebinding.yml
+++ 
b/examples/kubernetes/daemon-set-log-collection/cluster-roles/namespace-reader.clusterrolebinding.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 apiVersion: rbac.authorization.k8s.io/v1
 kind: ClusterRoleBinding
 metadata:
diff --git 
a/examples/kubernetes/daemon-set-log-collection/cluster-roles/pod-reader.clusterrole.yml
 
b/examples/kubernetes/daemon-set-log-collection/cluster-roles/pod-reader.clusterrole.yml
index a83231487..56dd8e84a 100644
--- 
a/examples/kubernetes/daemon-set-log-collection/cluster-roles/pod-reader.clusterrole.yml
+++ 
b/examples/kubernetes/daemon-set-log-collection/cluster-roles/pod-reader.clusterrole.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 kind: ClusterRole
 apiVersion: rbac.authorization.k8s.io/v1
 metadata:
diff --git 
a/examples/kubernetes/daemon-set-log-collection/cluster-roles/pod-reader.clusterrolebinding.yml
 
b/examples/kubernetes/daemon-set-log-collection/cluster-roles/pod-reader.clusterrolebinding.yml
index 1d32a1933..da96771c5 100644
--- 
a/examples/kubernetes/daemon-set-log-collection/cluster-roles/pod-reader.clusterrolebinding.yml
+++ 
b/examples/kubernetes/daemon-set-log-collection/cluster-roles/pod-reader.clusterrolebinding.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 apiVersion: rbac.authorization.k8s.io/v1
 kind: ClusterRoleBinding
 metadata:
diff --git a/examples/mqtt_config.yml b/examples/mqtt_config.yml
index 0ccc873ba..bc237ef76 100644
--- a/examples/mqtt_config.yml
+++ b/examples/mqtt_config.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 MiNiFi Config Version: 3
 Flow Controller:
   name: MiNiFi Flow
diff --git a/examples/splittext_puttcp_config.yml 
b/examples/splittext_puttcp_config.yml
index 8f56e9f2f..87a06d0bb 100644
--- a/examples/splittext_puttcp_config.yml
+++ b/examples/splittext_puttcp_config.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 MiNiFi Config Version: 3
 Flow Controller:
   name: MiNiFi Flow
diff --git a/extension-framework/CMakeLists.txt 
b/extension-framework/CMakeLists.txt
index c43646ceb..548a9a4aa 100644
--- a/extension-framework/CMakeLists.txt
+++ b/extension-framework/CMakeLists.txt
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 add_subdirectory(cpp-extension-lib)
 
 file(GLOB SOURCES
diff --git a/extensions/aws/tests/features/resources/kinesis-mock/Dockerfile 
b/extensions/aws/tests/features/resources/kinesis-mock/Dockerfile
index 567acfb23..84f578bd7 100644
--- a/extensions/aws/tests/features/resources/kinesis-mock/Dockerfile
+++ b/extensions/aws/tests/features/resources/kinesis-mock/Dockerfile
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 FROM node:lts-alpine
 WORKDIR /app
 RUN npm i kinesis-local
diff --git 
a/extensions/aws/tests/features/resources/kinesis-mock/consumer/consumer.js 
b/extensions/aws/tests/features/resources/kinesis-mock/consumer/consumer.js
index 07f48cb27..509243eb3 100644
--- a/extensions/aws/tests/features/resources/kinesis-mock/consumer/consumer.js
+++ b/extensions/aws/tests/features/resources/kinesis-mock/consumer/consumer.js
@@ -1,3 +1,7 @@
+// SPDX-License-Identifier: Apache-2.0
+// SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+// SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) 
under one or more contributor license agreements
+
 import { KinesisClient, DescribeStreamCommand, GetShardIteratorCommand, 
GetRecordsCommand } from "@aws-sdk/client-kinesis";
 import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
 
diff --git 
a/extensions/elasticsearch/tests/features/resources/elasticsearch.yml 
b/extensions/elasticsearch/tests/features/resources/elasticsearch.yml
index 91e2cbd3c..446827dd6 100644
--- a/extensions/elasticsearch/tests/features/resources/elasticsearch.yml
+++ b/extensions/elasticsearch/tests/features/resources/elasticsearch.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 cluster.name: "docker-cluster"
 network.host: 0.0.0.0
 discovery.type: "single-node"
diff --git a/extensions/elasticsearch/tests/features/resources/opensearch.yml 
b/extensions/elasticsearch/tests/features/resources/opensearch.yml
index 6baea9cb8..f2c8880f4 100644
--- a/extensions/elasticsearch/tests/features/resources/opensearch.yml
+++ b/extensions/elasticsearch/tests/features/resources/opensearch.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 cluster.name: "docker-cluster"
 network.host: 0.0.0.0
 discovery.type: single-node
diff --git 
a/extensions/grafana-loki/tests/features/resources/reverse-proxy/Dockerfile 
b/extensions/grafana-loki/tests/features/resources/reverse-proxy/Dockerfile
index 28c25c7e0..d4447e826 100644
--- a/extensions/grafana-loki/tests/features/resources/reverse-proxy/Dockerfile
+++ b/extensions/grafana-loki/tests/features/resources/reverse-proxy/Dockerfile
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 FROM nginx:1.29.4
 
 COPY nginx.conf.template /nginx.conf.template
diff --git 
a/extensions/grafana-loki/tests/features/resources/reverse-proxy/nginx.conf.template
 
b/extensions/grafana-loki/tests/features/resources/reverse-proxy/nginx.conf.template
index 05f8251a1..ac003b9a1 100644
--- 
a/extensions/grafana-loki/tests/features/resources/reverse-proxy/nginx.conf.template
+++ 
b/extensions/grafana-loki/tests/features/resources/reverse-proxy/nginx.conf.template
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 server {
   listen 3030;
   server_name default_server;
diff --git 
a/extensions/kubernetes/tests/features/resources/daemon.namespace.yml 
b/extensions/kubernetes/tests/features/resources/daemon.namespace.yml
index f628b21e6..29d769840 100644
--- a/extensions/kubernetes/tests/features/resources/daemon.namespace.yml
+++ b/extensions/kubernetes/tests/features/resources/daemon.namespace.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 apiVersion: v1
 kind: Namespace
 metadata:
diff --git 
a/extensions/kubernetes/tests/features/resources/hello-world-one.helper-pod.yml 
b/extensions/kubernetes/tests/features/resources/hello-world-one.helper-pod.yml
index 22a6634a6..05c9cbda5 100644
--- 
a/extensions/kubernetes/tests/features/resources/hello-world-one.helper-pod.yml
+++ 
b/extensions/kubernetes/tests/features/resources/hello-world-one.helper-pod.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 apiVersion: v1
 kind: Pod
 metadata:
diff --git 
a/extensions/kubernetes/tests/features/resources/hello-world-two.helper-pod.yml 
b/extensions/kubernetes/tests/features/resources/hello-world-two.helper-pod.yml
index 14b0c2204..9d6e6e4a9 100644
--- 
a/extensions/kubernetes/tests/features/resources/hello-world-two.helper-pod.yml
+++ 
b/extensions/kubernetes/tests/features/resources/hello-world-two.helper-pod.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 apiVersion: v1
 kind: Pod
 metadata:
diff --git a/extensions/kubernetes/tests/features/resources/minifi.test-pod.yml 
b/extensions/kubernetes/tests/features/resources/minifi.test-pod.yml
index 57cb863d7..399767ed1 100644
--- a/extensions/kubernetes/tests/features/resources/minifi.test-pod.yml
+++ b/extensions/kubernetes/tests/features/resources/minifi.test-pod.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 apiVersion: v1
 kind: Pod
 metadata:
diff --git 
a/extensions/kubernetes/tests/features/resources/namespace-reader.clusterrole.yml
 
b/extensions/kubernetes/tests/features/resources/namespace-reader.clusterrole.yml
index 9b714f46b..fdb471f42 100644
--- 
a/extensions/kubernetes/tests/features/resources/namespace-reader.clusterrole.yml
+++ 
b/extensions/kubernetes/tests/features/resources/namespace-reader.clusterrole.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 kind: ClusterRole
 apiVersion: rbac.authorization.k8s.io/v1
 metadata:
diff --git 
a/extensions/kubernetes/tests/features/resources/namespace-reader.clusterrolebinding.yml
 
b/extensions/kubernetes/tests/features/resources/namespace-reader.clusterrolebinding.yml
index 98de6c481..764a5254f 100644
--- 
a/extensions/kubernetes/tests/features/resources/namespace-reader.clusterrolebinding.yml
+++ 
b/extensions/kubernetes/tests/features/resources/namespace-reader.clusterrolebinding.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 apiVersion: rbac.authorization.k8s.io/v1
 kind: ClusterRoleBinding
 metadata:
diff --git 
a/extensions/kubernetes/tests/features/resources/pod-reader.clusterrole.yml 
b/extensions/kubernetes/tests/features/resources/pod-reader.clusterrole.yml
index 03904d40c..777521851 100644
--- a/extensions/kubernetes/tests/features/resources/pod-reader.clusterrole.yml
+++ b/extensions/kubernetes/tests/features/resources/pod-reader.clusterrole.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 kind: ClusterRole
 apiVersion: rbac.authorization.k8s.io/v1
 metadata:
diff --git 
a/extensions/kubernetes/tests/features/resources/pod-reader.clusterrolebinding.yml
 
b/extensions/kubernetes/tests/features/resources/pod-reader.clusterrolebinding.yml
index 1d32a1933..da96771c5 100644
--- 
a/extensions/kubernetes/tests/features/resources/pod-reader.clusterrolebinding.yml
+++ 
b/extensions/kubernetes/tests/features/resources/pod-reader.clusterrolebinding.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 apiVersion: rbac.authorization.k8s.io/v1
 kind: ClusterRoleBinding
 metadata:
diff --git a/extensions/lua/tests/features/resources/sleep_forever.lua 
b/extensions/lua/tests/features/resources/sleep_forever.lua
index 96d4e38d7..39df115f9 100644
--- a/extensions/lua/tests/features/resources/sleep_forever.lua
+++ b/extensions/lua/tests/features/resources/sleep_forever.lua
@@ -1,3 +1,7 @@
+---  SPDX-License-Identifier: Apache-2.0
+---  SPDX-FileCopyrightText: See the NOTICE file distributed with this work 
for additional information regarding copyright ownership
+---  SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) 
under one or more contributor license agreements
+
 function sleep(n)
   local t0 = os.clock()
   while os.clock() - t0 <= n do end
diff --git 
a/extensions/python/pythonprocessors/nifi_python_processors/utils/dependency_installer.py
 
b/extensions/python/pythonprocessors/nifi_python_processors/utils/dependency_installer.py
index 8a7c0f341..b13f9e40a 100644
--- 
a/extensions/python/pythonprocessors/nifi_python_processors/utils/dependency_installer.py
+++ 
b/extensions/python/pythonprocessors/nifi_python_processors/utils/dependency_installer.py
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 import ast
 import os
 import subprocess
diff --git a/extensions/sftp/tests/tools/sftp-test-server/pom.xml 
b/extensions/sftp/tests/tools/sftp-test-server/pom.xml
index d46b1735a..33a897cdc 100644
--- a/extensions/sftp/tests/tools/sftp-test-server/pom.xml
+++ b/extensions/sftp/tests/tools/sftp-test-server/pom.xml
@@ -1,4 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  SPDX-License-Identifier: Apache-2.0
+  SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+  SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+-->
 <project xmlns="http://maven.apache.org/POM/4.0.0";
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
diff --git 
a/extensions/standard-processors/tests/features/steps/resources/minifi-c2-server/authorizations.yaml
 
b/extensions/standard-processors/tests/features/steps/resources/minifi-c2-server/authorizations.yaml
index a4fdeeb1d..c00e8d959 100644
--- 
a/extensions/standard-processors/tests/features/steps/resources/minifi-c2-server/authorizations.yaml
+++ 
b/extensions/standard-processors/tests/features/steps/resources/minifi-c2-server/authorizations.yaml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 Default Action: deny
 Paths:
   /c2/config:
diff --git 
a/extensions/standard-processors/tests/features/steps/resources/minifi-c2-server/c2.properties
 
b/extensions/standard-processors/tests/features/steps/resources/minifi-c2-server/c2.properties
index 01e80a364..beeb0a403 100644
--- 
a/extensions/standard-processors/tests/features/steps/resources/minifi-c2-server/c2.properties
+++ 
b/extensions/standard-processors/tests/features/steps/resources/minifi-c2-server/c2.properties
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 minifi.c2.server.port=10090
 
 minifi.c2.server.secure=true
diff --git 
a/extensions/standard-processors/tests/features/steps/resources/minifi-c2-server/config.yml
 
b/extensions/standard-processors/tests/features/steps/resources/minifi-c2-server/config.yml
index 5b8548105..1a3ef430a 100644
--- 
a/extensions/standard-processors/tests/features/steps/resources/minifi-c2-server/config.yml
+++ 
b/extensions/standard-processors/tests/features/steps/resources/minifi-c2-server/config.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 MiNiFi Config Version: 3
 Flow Controller:
   name: MiNiFi Flow
diff --git a/extensions/windows-event-log/tests/custom-provider/CPPLINT.cfg 
b/extensions/windows-event-log/tests/custom-provider/CPPLINT.cfg
index c180f1d21..fa856e8b8 100644
--- a/extensions/windows-event-log/tests/custom-provider/CPPLINT.cfg
+++ b/extensions/windows-event-log/tests/custom-provider/CPPLINT.cfg
@@ -1 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 exclude_files=unit-test-provider.h
diff --git a/extensions/windows-event-log/tests/resources/invalidxml.xml 
b/extensions/windows-event-log/tests/resources/invalidxml.xml
index f30f8f5ec..9fadfb26b 100644
--- a/extensions/windows-event-log/tests/resources/invalidxml.xml
+++ b/extensions/windows-event-log/tests/resources/invalidxml.xml
@@ -1,17 +1,22 @@
+<!--
+  SPDX-License-Identifier: Apache-2.0
+  SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+  SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+-->
 
  <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event";>
  <System>
-  <Provider Name="Microsoft-Windows-Security-Auditing" 
Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" /> 
-  <EventID>4672</EventID> 
-  <Version>0</Version> 
-  <Level>0</Level> 
-  <Task>12548</Task> 
-  <Opcode>0</Opcode> 
-  <Keywords>0x8020000000000000</Keywords> 
-  <TimeCreated SystemTime="2019-08-27T14:37:56.104234800Z" /> 
-  <EventRecordID>2575952</EventRecordID> 
-  <Correlation ActivityID="{47aa1c15-3cc3-0006-e859-7fa1025cd501}" /> 
-  <Execution ProcessID="840" ThreadID="11544" /> 
-  <Channel>Security</Channel> 
-  <Computer>TestComputer</Computer> 
+  <Provider Name="Microsoft-Windows-Security-Auditing" 
Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
+  <EventID>4672</EventID>
+  <Version>0</Version>
+  <Level>0</Level>
+  <Task>12548</Task>
+  <Opcode>0</Opcode>
+  <Keywords>0x8020000000000000</Keywords>
+  <TimeCreated SystemTime="2019-08-27T14:37:56.104234800Z" />
+  <EventRecordID>2575952</EventRecordID>
+  <Correlation ActivityID="{47aa1c15-3cc3-0006-e859-7fa1025cd501}" />
+  <Execution ProcessID="840" ThreadID="11544" />
+  <Channel>Security</Channel>
+  <Computer>TestComputer</Computer>
   <Security /> >>>>>
diff --git a/extensions/windows-event-log/tests/resources/multiplesids.xml 
b/extensions/windows-event-log/tests/resources/multiplesids.xml
index 8afdeaffd..a13bcd9a1 100644
--- a/extensions/windows-event-log/tests/resources/multiplesids.xml
+++ b/extensions/windows-event-log/tests/resources/multiplesids.xml
@@ -1,23 +1,28 @@
+<!--
+  SPDX-License-Identifier: Apache-2.0
+  SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+  SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+-->
 
  <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event";>
  <System>
-  <Provider Name="Microsoft-Windows-Security-Auditing" 
Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" /> 
-  <EventID>4672</EventID> 
-  <Version>0</Version> 
-  <Level>0</Level> 
-  <Task>12548</Task> 
-  <Opcode>0</Opcode> 
-  <Keywords>0x8020000000000000</Keywords> 
-  <TimeCreated SystemTime="2019-08-27T14:37:56.104234800Z" /> 
-  <EventRecordID>2575952</EventRecordID> 
-  <Correlation ActivityID="{47aa1c15-3cc3-0006-e859-7fa1025cd501}" /> 
-  <Execution ProcessID="840" ThreadID="11544" /> 
-  <Channel>Security</Channel> 
-  <Computer>TestComputer</Computer> 
-  <Security /> 
+  <Provider Name="Microsoft-Windows-Security-Auditing" 
Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
+  <EventID>4672</EventID>
+  <Version>0</Version>
+  <Level>0</Level>
+  <Task>12548</Task>
+  <Opcode>0</Opcode>
+  <Keywords>0x8020000000000000</Keywords>
+  <TimeCreated SystemTime="2019-08-27T14:37:56.104234800Z" />
+  <EventRecordID>2575952</EventRecordID>
+  <Correlation ActivityID="{47aa1c15-3cc3-0006-e859-7fa1025cd501}" />
+  <Execution ProcessID="840" ThreadID="11544" />
+  <Channel>Security</Channel>
+  <Computer>TestComputer</Computer>
+  <Security />
   </System>
  <EventData>
-  <Data Name="SubjectUserSid">S-1-0-0</Data> 
+  <Data Name="SubjectUserSid">S-1-0-0</Data>
   <Data Name="PrivilegeList">SeAssignPrimaryTokenPrivilege SeTcbPrivilege 
SeSecurityPrivilege SeTakeOwnershipPrivilege SeLoadDriverPrivilege 
SeBackupPrivilege SeRestorePrivilege SeDebugPrivilege SeAuditPrivilege 
SeSystemEnvironmentPrivilege SeImpersonatePrivilege 
SeDelegateSessionUserImpersonatePrivilege</Data>
    <Data Name="GroupMembership">%{S-1-0-0} %{S-1-1-0} %{S-1-0}</Data>
  </EventData>
diff --git a/extensions/windows-event-log/tests/resources/nobodysid.xml 
b/extensions/windows-event-log/tests/resources/nobodysid.xml
index b25e124fa..aaf037c93 100644
--- a/extensions/windows-event-log/tests/resources/nobodysid.xml
+++ b/extensions/windows-event-log/tests/resources/nobodysid.xml
@@ -1,23 +1,28 @@
+<!--
+  SPDX-License-Identifier: Apache-2.0
+  SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+  SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+-->
 
  <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event";>
  <System>
-  <Provider Name="Microsoft-Windows-Security-Auditing" 
Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" /> 
-  <EventID>4672</EventID> 
-  <Version>0</Version> 
-  <Level>0</Level> 
-  <Task>12548</Task> 
-  <Opcode>0</Opcode> 
-  <Keywords>0x8020000000000000</Keywords> 
-  <TimeCreated SystemTime="2019-08-27T14:37:56.104234800Z" /> 
-  <EventRecordID>2575952</EventRecordID> 
-  <Correlation ActivityID="{47aa1c15-3cc3-0006-e859-7fa1025cd501}" /> 
-  <Execution ProcessID="840" ThreadID="11544" /> 
-  <Channel>Security</Channel> 
-  <Computer>TestComputer</Computer> 
-  <Security /> 
+  <Provider Name="Microsoft-Windows-Security-Auditing" 
Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
+  <EventID>4672</EventID>
+  <Version>0</Version>
+  <Level>0</Level>
+  <Task>12548</Task>
+  <Opcode>0</Opcode>
+  <Keywords>0x8020000000000000</Keywords>
+  <TimeCreated SystemTime="2019-08-27T14:37:56.104234800Z" />
+  <EventRecordID>2575952</EventRecordID>
+  <Correlation ActivityID="{47aa1c15-3cc3-0006-e859-7fa1025cd501}" />
+  <Execution ProcessID="840" ThreadID="11544" />
+  <Channel>Security</Channel>
+  <Computer>TestComputer</Computer>
+  <Security />
   </System>
  <EventData>
-  <Data Name="SubjectUserSid">S-1-0-0</Data> 
-  <Data Name="PrivilegeList">SeAssignPrimaryTokenPrivilege SeTcbPrivilege 
SeSecurityPrivilege SeTakeOwnershipPrivilege SeLoadDriverPrivilege 
SeBackupPrivilege SeRestorePrivilege SeDebugPrivilege SeAuditPrivilege 
SeSystemEnvironmentPrivilege SeImpersonatePrivilege 
SeDelegateSessionUserImpersonatePrivilege</Data> 
+  <Data Name="SubjectUserSid">S-1-0-0</Data>
+  <Data Name="PrivilegeList">SeAssignPrimaryTokenPrivilege SeTcbPrivilege 
SeSecurityPrivilege SeTakeOwnershipPrivilege SeLoadDriverPrivilege 
SeBackupPrivilege SeRestorePrivilege SeDebugPrivilege SeAuditPrivilege 
SeSystemEnvironmentPrivilege SeImpersonatePrivilege 
SeDelegateSessionUserImpersonatePrivilege</Data>
   </EventData>
   </Event>
diff --git a/extensions/windows-event-log/tests/resources/nodata.xml 
b/extensions/windows-event-log/tests/resources/nodata.xml
index d3484fe08..5c3b3b44b 100644
--- a/extensions/windows-event-log/tests/resources/nodata.xml
+++ b/extensions/windows-event-log/tests/resources/nodata.xml
@@ -1,19 +1,24 @@
+<!--
+  SPDX-License-Identifier: Apache-2.0
+  SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+  SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+-->
 
  <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event";>
  <System>
-  <Provider Name="Microsoft-Windows-Security-Auditing" 
Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" /> 
-  <EventID>4672</EventID> 
-  <Version>0</Version> 
-  <Level>0</Level> 
-  <Task>12548</Task> 
-  <Opcode>0</Opcode> 
-  <Keywords>0x8020000000000000</Keywords> 
-  <TimeCreated SystemTime="2019-08-27T14:37:56.104234800Z" /> 
-  <EventRecordID>2575952</EventRecordID> 
-  <Correlation ActivityID="{47aa1c15-3cc3-0006-e859-7fa1025cd501}" /> 
-  <Execution ProcessID="840" ThreadID="11544" /> 
-  <Channel>Security</Channel> 
-  <Computer>TestComputer</Computer> 
-  <Security /> 
+  <Provider Name="Microsoft-Windows-Security-Auditing" 
Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
+  <EventID>4672</EventID>
+  <Version>0</Version>
+  <Level>0</Level>
+  <Task>12548</Task>
+  <Opcode>0</Opcode>
+  <Keywords>0x8020000000000000</Keywords>
+  <TimeCreated SystemTime="2019-08-27T14:37:56.104234800Z" />
+  <EventRecordID>2575952</EventRecordID>
+  <Correlation ActivityID="{47aa1c15-3cc3-0006-e859-7fa1025cd501}" />
+  <Execution ProcessID="840" ThreadID="11544" />
+  <Channel>Security</Channel>
+  <Computer>TestComputer</Computer>
+  <Security />
   </System>
   </Event>
diff --git a/extensions/windows-event-log/tests/resources/resolveduserid.xml 
b/extensions/windows-event-log/tests/resources/resolveduserid.xml
index 2f626ba4f..cda65dd3e 100644
--- a/extensions/windows-event-log/tests/resources/resolveduserid.xml
+++ b/extensions/windows-event-log/tests/resources/resolveduserid.xml
@@ -1,23 +1,28 @@
+<!--
+  SPDX-License-Identifier: Apache-2.0
+  SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+  SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+-->
 
  <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event";>
  <System>
-  <Provider Name="Microsoft-Windows-Security-Auditing" 
Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" /> 
-  <EventID>4672</EventID> 
-  <Version>0</Version> 
-  <Level>0</Level> 
-  <Task>12548</Task> 
-  <Opcode>0</Opcode> 
-  <Keywords>0x8020000000000000</Keywords> 
-  <TimeCreated SystemTime="2019-08-27T14:37:56.104234800Z" /> 
-  <EventRecordID>2575952</EventRecordID> 
-  <Correlation ActivityID="{47aa1c15-3cc3-0006-e859-7fa1025cd501}" /> 
-  <Execution ProcessID="840" ThreadID="11544" /> 
-  <Channel>Security</Channel> 
-  <Computer>TestComputer</Computer> 
-  <Security UserID="Nobody"/> 
+  <Provider Name="Microsoft-Windows-Security-Auditing" 
Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
+  <EventID>4672</EventID>
+  <Version>0</Version>
+  <Level>0</Level>
+  <Task>12548</Task>
+  <Opcode>0</Opcode>
+  <Keywords>0x8020000000000000</Keywords>
+  <TimeCreated SystemTime="2019-08-27T14:37:56.104234800Z" />
+  <EventRecordID>2575952</EventRecordID>
+  <Correlation ActivityID="{47aa1c15-3cc3-0006-e859-7fa1025cd501}" />
+  <Execution ProcessID="840" ThreadID="11544" />
+  <Channel>Security</Channel>
+  <Computer>TestComputer</Computer>
+  <Security UserID="Nobody"/>
   </System>
  <EventData>
-  <Data Name="SubjectUserSid">Nobody</Data> 
-  <Data Name="PrivilegeList">SeAssignPrimaryTokenPrivilege SeTcbPrivilege 
SeSecurityPrivilege SeTakeOwnershipPrivilege SeLoadDriverPrivilege 
SeBackupPrivilege SeRestorePrivilege SeDebugPrivilege SeAuditPrivilege 
SeSystemEnvironmentPrivilege SeImpersonatePrivilege 
SeDelegateSessionUserImpersonatePrivilege</Data> 
+  <Data Name="SubjectUserSid">Nobody</Data>
+  <Data Name="PrivilegeList">SeAssignPrimaryTokenPrivilege SeTcbPrivilege 
SeSecurityPrivilege SeTakeOwnershipPrivilege SeLoadDriverPrivilege 
SeBackupPrivilege SeRestorePrivilege SeDebugPrivilege SeAuditPrivilege 
SeSystemEnvironmentPrivilege SeImpersonatePrivilege 
SeDelegateSessionUserImpersonatePrivilege</Data>
   </EventData>
   </Event>
diff --git a/extensions/windows-event-log/tests/resources/unknownsid.xml 
b/extensions/windows-event-log/tests/resources/unknownsid.xml
index 02b16da05..71184e2fc 100644
--- a/extensions/windows-event-log/tests/resources/unknownsid.xml
+++ b/extensions/windows-event-log/tests/resources/unknownsid.xml
@@ -1,23 +1,28 @@
+<!--
+  SPDX-License-Identifier: Apache-2.0
+  SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+  SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+-->
 
  <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event";>
  <System>
-  <Provider Name="Microsoft-Windows-Security-Auditing" 
Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" /> 
-  <EventID>4672</EventID> 
-  <Version>0</Version> 
-  <Level>0</Level> 
-  <Task>12548</Task> 
-  <Opcode>0</Opcode> 
-  <Keywords>0x8020000000000000</Keywords> 
-  <TimeCreated SystemTime="2019-08-27T14:37:56.104234800Z" /> 
-  <EventRecordID>2575952</EventRecordID> 
-  <Correlation ActivityID="{47aa1c15-3cc3-0006-e859-7fa1025cd501}" /> 
-  <Execution ProcessID="840" ThreadID="11544" /> 
-  <Channel>Security</Channel> 
-  <Computer>TestComputer</Computer> 
-  <Security /> 
+  <Provider Name="Microsoft-Windows-Security-Auditing" 
Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
+  <EventID>4672</EventID>
+  <Version>0</Version>
+  <Level>0</Level>
+  <Task>12548</Task>
+  <Opcode>0</Opcode>
+  <Keywords>0x8020000000000000</Keywords>
+  <TimeCreated SystemTime="2019-08-27T14:37:56.104234800Z" />
+  <EventRecordID>2575952</EventRecordID>
+  <Correlation ActivityID="{47aa1c15-3cc3-0006-e859-7fa1025cd501}" />
+  <Execution ProcessID="840" ThreadID="11544" />
+  <Channel>Security</Channel>
+  <Computer>TestComputer</Computer>
+  <Security />
   </System>
  <EventData>
-  <Data Name="SubjectUserSid">S-1-8-6-5-3-0-9</Data> 
-  <Data Name="PrivilegeList">SeAssignPrimaryTokenPrivilege SeTcbPrivilege 
SeSecurityPrivilege SeTakeOwnershipPrivilege SeLoadDriverPrivilege 
SeBackupPrivilege SeRestorePrivilege SeDebugPrivilege SeAuditPrivilege 
SeSystemEnvironmentPrivilege SeImpersonatePrivilege 
SeDelegateSessionUserImpersonatePrivilege</Data> 
+  <Data Name="SubjectUserSid">S-1-8-6-5-3-0-9</Data>
+  <Data Name="PrivilegeList">SeAssignPrimaryTokenPrivilege SeTcbPrivilege 
SeSecurityPrivilege SeTakeOwnershipPrivilege SeLoadDriverPrivilege 
SeBackupPrivilege SeRestorePrivilege SeDebugPrivilege SeAuditPrivilege 
SeSystemEnvironmentPrivilege SeImpersonatePrivilege 
SeDelegateSessionUserImpersonatePrivilege</Data>
   </EventData>
   </Event>
diff --git a/extensions/windows-event-log/tests/resources/userid.xml 
b/extensions/windows-event-log/tests/resources/userid.xml
index 06a03257d..aa5fdad68 100644
--- a/extensions/windows-event-log/tests/resources/userid.xml
+++ b/extensions/windows-event-log/tests/resources/userid.xml
@@ -1,23 +1,28 @@
+<!--
+  SPDX-License-Identifier: Apache-2.0
+  SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+  SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+-->
 
  <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event";>
  <System>
-  <Provider Name="Microsoft-Windows-Security-Auditing" 
Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" /> 
-  <EventID>4672</EventID> 
-  <Version>0</Version> 
-  <Level>0</Level> 
-  <Task>12548</Task> 
-  <Opcode>0</Opcode> 
-  <Keywords>0x8020000000000000</Keywords> 
-  <TimeCreated SystemTime="2019-08-27T14:37:56.104234800Z" /> 
-  <EventRecordID>2575952</EventRecordID> 
-  <Correlation ActivityID="{47aa1c15-3cc3-0006-e859-7fa1025cd501}" /> 
-  <Execution ProcessID="840" ThreadID="11544" /> 
-  <Channel>Security</Channel> 
-  <Computer>TestComputer</Computer> 
-  <Security UserID="S-1-0-0"/> 
+  <Provider Name="Microsoft-Windows-Security-Auditing" 
Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
+  <EventID>4672</EventID>
+  <Version>0</Version>
+  <Level>0</Level>
+  <Task>12548</Task>
+  <Opcode>0</Opcode>
+  <Keywords>0x8020000000000000</Keywords>
+  <TimeCreated SystemTime="2019-08-27T14:37:56.104234800Z" />
+  <EventRecordID>2575952</EventRecordID>
+  <Correlation ActivityID="{47aa1c15-3cc3-0006-e859-7fa1025cd501}" />
+  <Execution ProcessID="840" ThreadID="11544" />
+  <Channel>Security</Channel>
+  <Computer>TestComputer</Computer>
+  <Security UserID="S-1-0-0"/>
   </System>
  <EventData>
-  <Data Name="SubjectUserSid">S-1-0-0</Data> 
-  <Data Name="PrivilegeList">SeAssignPrimaryTokenPrivilege SeTcbPrivilege 
SeSecurityPrivilege SeTakeOwnershipPrivilege SeLoadDriverPrivilege 
SeBackupPrivilege SeRestorePrivilege SeDebugPrivilege SeAuditPrivilege 
SeSystemEnvironmentPrivilege SeImpersonatePrivilege 
SeDelegateSessionUserImpersonatePrivilege</Data> 
+  <Data Name="SubjectUserSid">S-1-0-0</Data>
+  <Data Name="PrivilegeList">SeAssignPrimaryTokenPrivilege SeTcbPrivilege 
SeSecurityPrivilege SeTakeOwnershipPrivilege SeLoadDriverPrivilege 
SeBackupPrivilege SeRestorePrivilege SeDebugPrivilege SeAuditPrivilege 
SeSystemEnvironmentPrivilege SeImpersonatePrivilege 
SeDelegateSessionUserImpersonatePrivilege</Data>
   </EventData>
   </Event>
diff --git a/extensions/windows-event-log/tests/resources/withsids.xml 
b/extensions/windows-event-log/tests/resources/withsids.xml
index 88babbd5d..241d73491 100644
--- a/extensions/windows-event-log/tests/resources/withsids.xml
+++ b/extensions/windows-event-log/tests/resources/withsids.xml
@@ -1,23 +1,28 @@
+<!--
+  SPDX-License-Identifier: Apache-2.0
+  SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+  SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+-->
 
  <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event";>
  <System>
-  <Provider Name="Microsoft-Windows-Security-Auditing" 
Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" /> 
-  <EventID>4672</EventID> 
-  <Version>0</Version> 
-  <Level>0</Level> 
-  <Task>12548</Task> 
-  <Opcode>0</Opcode> 
-  <Keywords>0x8020000000000000</Keywords> 
-  <TimeCreated SystemTime="2019-08-27T14:37:56.104234800Z" /> 
-  <EventRecordID>2575952</EventRecordID> 
-  <Correlation ActivityID="{47aa1c15-3cc3-0006-e859-7fa1025cd501}" /> 
-  <Execution ProcessID="840" ThreadID="11544" /> 
-  <Channel>Security</Channel> 
-  <Computer>TestComputer</Computer> 
-  <Security /> 
+  <Provider Name="Microsoft-Windows-Security-Auditing" 
Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
+  <EventID>4672</EventID>
+  <Version>0</Version>
+  <Level>0</Level>
+  <Task>12548</Task>
+  <Opcode>0</Opcode>
+  <Keywords>0x8020000000000000</Keywords>
+  <TimeCreated SystemTime="2019-08-27T14:37:56.104234800Z" />
+  <EventRecordID>2575952</EventRecordID>
+  <Correlation ActivityID="{47aa1c15-3cc3-0006-e859-7fa1025cd501}" />
+  <Execution ProcessID="840" ThreadID="11544" />
+  <Channel>Security</Channel>
+  <Computer>TestComputer</Computer>
+  <Security />
   </System>
  <EventData>
-  <Data Name="SubjectUserSid">Nobody</Data> 
-  <Data Name="PrivilegeList">SeAssignPrimaryTokenPrivilege SeTcbPrivilege 
SeSecurityPrivilege SeTakeOwnershipPrivilege SeLoadDriverPrivilege 
SeBackupPrivilege SeRestorePrivilege SeDebugPrivilege SeAuditPrivilege 
SeSystemEnvironmentPrivilege SeImpersonatePrivilege 
SeDelegateSessionUserImpersonatePrivilege</Data> 
+  <Data Name="SubjectUserSid">Nobody</Data>
+  <Data Name="PrivilegeList">SeAssignPrimaryTokenPrivilege SeTcbPrivilege 
SeSecurityPrivilege SeTakeOwnershipPrivilege SeLoadDriverPrivilege 
SeBackupPrivilege SeRestorePrivilege SeDebugPrivilege SeAuditPrivilege 
SeSystemEnvironmentPrivilege SeImpersonatePrivilege 
SeDelegateSessionUserImpersonatePrivilege</Data>
   </EventData>
   </Event>
diff --git a/fips/openssl.cnf b/fips/openssl.cnf
index 8779438cb..8d7043dbd 100644
--- a/fips/openssl.cnf
+++ b/fips/openssl.cnf
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 openssl_conf = openssl_init
 
 .include ${FIPS_CONF_DIR}/fipsmodule.cnf
diff --git a/libminifi/include/core/flow/README.md 
b/libminifi/include/core/flow/README.md
index c62c71495..70037b3a0 100644
--- a/libminifi/include/core/flow/README.md
+++ b/libminifi/include/core/flow/README.md
@@ -1,3 +1,9 @@
+<!--
+  SPDX-License-Identifier: Apache-2.0
+  SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+  SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+-->
+
 ## Differences between JSON and YAML implementation
 
 ### YAML
diff --git a/libminifi/src/CPPLINT.cfg b/libminifi/src/CPPLINT.cfg
index 81d15f9b0..f3b8a1ef8 100644
--- a/libminifi/src/CPPLINT.cfg
+++ b/libminifi/src/CPPLINT.cfg
@@ -1,2 +1,6 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 exclude_files=ResourceClaim.cpp
 
diff --git a/libminifi/src/agent/CPPLINT.cfg b/libminifi/src/agent/CPPLINT.cfg
index 39231e46f..d688f12d0 100644
--- a/libminifi/src/agent/CPPLINT.cfg
+++ b/libminifi/src/agent/CPPLINT.cfg
@@ -1 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 exclude_files=agent_version.cpp
diff --git a/libminifi/src/io/CPPLINT.cfg b/libminifi/src/io/CPPLINT.cfg
index 7fbc5049d..b532ede32 100644
--- a/libminifi/src/io/CPPLINT.cfg
+++ b/libminifi/src/io/CPPLINT.cfg
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 set noparent
 filter=-build/c++11,-build/include_subdir
 exclude_files=ClientSocket\.cpp
diff --git a/libminifi/test/CPPLINT.cfg b/libminifi/test/CPPLINT.cfg
index aee39bdc4..25ed1afce 100644
--- a/libminifi/test/CPPLINT.cfg
+++ b/libminifi/test/CPPLINT.cfg
@@ -1,2 +1,6 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 filter=-build/namespaces,-whitespace/braces
 exclude_files=TestBase.cpp
diff --git 
a/libminifi/test/integration/extension-verification-test/dummy-cpp-api.def 
b/libminifi/test/integration/extension-verification-test/dummy-cpp-api.def
index dfde648df..63620e627 100644
--- a/libminifi/test/integration/extension-verification-test/dummy-cpp-api.def
+++ b/libminifi/test/integration/extension-verification-test/dummy-cpp-api.def
@@ -1,3 +1,7 @@
+; SPDX-License-Identifier: Apache-2.0
+; SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+; SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 LIBRARY ExtensionVerificationTests.exe
 EXPORTS
   MinifiRegisterCppExtension_NonMatchingBuildId
diff --git a/libminifi/test/resources/RocksDbStateStorage.yml 
b/libminifi/test/resources/RocksDbStateStorage.yml
index 22c5c15d8..b1e48591e 100644
--- a/libminifi/test/resources/RocksDbStateStorage.yml
+++ b/libminifi/test/resources/RocksDbStateStorage.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 Flow Controller:
   name: MiNiFi Flow
 Processors: []
diff --git a/libminifi/test/resources/TestInvokeHTTPPost.yml 
b/libminifi/test/resources/TestInvokeHTTPPost.yml
index d710869b1..3945d45f8 100644
--- a/libminifi/test/resources/TestInvokeHTTPPost.yml
+++ b/libminifi/test/resources/TestInvokeHTTPPost.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 MiNiFi Config Version: 3
 Flow Controller:
   name: c++lw
diff --git a/libminifi/test/resources/TestInvokeHTTPPostSecure.yml 
b/libminifi/test/resources/TestInvokeHTTPPostSecure.yml
index fac26888d..ab66490e4 100644
--- a/libminifi/test/resources/TestInvokeHTTPPostSecure.yml
+++ b/libminifi/test/resources/TestInvokeHTTPPostSecure.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 MiNiFi Config Version: 3
 Flow Controller:
   name: c++lw
diff --git a/libminifi/test/resources/TestProcessGroup.yml 
b/libminifi/test/resources/TestProcessGroup.yml
index 0b1ee75a3..879e8ea3e 100644
--- a/libminifi/test/resources/TestProcessGroup.yml
+++ b/libminifi/test/resources/TestProcessGroup.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 MiNiFi Config Version: 3
 Flow Controller:
   name: MiNiFi Flow
diff --git a/libminifi/test/resources/conf/bootstrap.conf 
b/libminifi/test/resources/conf/bootstrap.conf
index 846383011..2a6e6d468 100644
--- a/libminifi/test/resources/conf/bootstrap.conf
+++ b/libminifi/test/resources/conf/bootstrap.conf
@@ -1,2 +1,6 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 
nifi.bootstrap.sensitive.key=5506c28d0fe265299e294a4c766b723a48986764953e93d38b3c627176fd10ed
 
nifi.bootstrap.sensitive.properties.key=e4bce4be67f417ed2530038626da57da7725ff8c0b519b692e4311e4d4fe8a28
diff --git a/minifi-api/CMakeLists.txt b/minifi-api/CMakeLists.txt
index 2d6f9f187..b67a2e632 100644
--- a/minifi-api/CMakeLists.txt
+++ b/minifi-api/CMakeLists.txt
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 add_library(minifi-api-common INTERFACE)
 target_include_directories(minifi-api-common INTERFACE common/include)
 target_link_libraries(minifi-api-common INTERFACE gsl-lite::gsl-lite)
diff --git a/minifi-api/include/minifi-cpp/utils/PropertyExceptions.h 
b/minifi-api/include/minifi-cpp/utils/PropertyExceptions.h
index 7e5eaf79e..fca8e63f1 100644
--- a/minifi-api/include/minifi-cpp/utils/PropertyExceptions.h
+++ b/minifi-api/include/minifi-cpp/utils/PropertyExceptions.h
@@ -1,20 +1,6 @@
-/**
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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/licenseas/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.
- */
+// SPDX-License-Identifier: Apache-2.0
+// SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+// SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) 
under one or more contributor license agreements
 
 #pragma once
 
diff --git a/minifi-api/minifi-api.def b/minifi-api/minifi-api.def
index a0a0b74ad..19dd17a14 100644
--- a/minifi-api/minifi-api.def
+++ b/minifi-api/minifi-api.def
@@ -1,3 +1,7 @@
+; SPDX-License-Identifier: Apache-2.0
+; SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+; SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 LIBRARY core-minifi.dll
 EXPORTS
     minifi_config_get
diff --git a/minifi_rust/.cargo/config.toml b/minifi_rust/.cargo/config.toml
index b871040ed..7219c2b1c 100644
--- a/minifi_rust/.cargo/config.toml
+++ b/minifi_rust/.cargo/config.toml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 [target.aarch64-unknown-linux-musl]
 rustflags = ["-C", "target-feature=-crt-static"]
 
diff --git a/minifi_rust/.dockerignore b/minifi_rust/.dockerignore
index aeb3a1bf0..aa63f4a66 100644
--- a/minifi_rust/.dockerignore
+++ b/minifi_rust/.dockerignore
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 .git
 .vscode
 .gitmodules
diff --git a/minifi_rust/Cargo.toml b/minifi_rust/Cargo.toml
index 8bde74c44..98f051bc6 100644
--- a/minifi_rust/Cargo.toml
+++ b/minifi_rust/Cargo.toml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 [workspace]
 resolver = "3"
 members = ["minifi_native_sys", "minifi_native", "minifi_native_macros", 
"minifi_rs_behave", "extensions/*"]
diff --git a/minifi_rust/README.md b/minifi_rust/README.md
index 0492a7088..d0fcefa0d 100644
--- a/minifi_rust/README.md
+++ b/minifi_rust/README.md
@@ -1,3 +1,9 @@
+<!--
+  SPDX-License-Identifier: Apache-2.0
+  SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+  SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+-->
+
 # MiNiFi Native Rust (tech preview)
 
 > ⚠️ **Tech Preview**
diff --git a/minifi_rust/extensions/minifi_pgp/.cargo/config.toml 
b/minifi_rust/extensions/minifi_pgp/.cargo/config.toml
index cb8c02ddc..431dfdfc9 100644
--- a/minifi_rust/extensions/minifi_pgp/.cargo/config.toml
+++ b/minifi_rust/extensions/minifi_pgp/.cargo/config.toml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 [target.aarch64-apple-darwin]
 rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"]
 
diff --git a/minifi_rust/extensions/minifi_pgp/Cargo.toml 
b/minifi_rust/extensions/minifi_pgp/Cargo.toml
index 6edd4d3b7..1e1898f00 100644
--- a/minifi_rust/extensions/minifi_pgp/Cargo.toml
+++ b/minifi_rust/extensions/minifi_pgp/Cargo.toml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 [package]
 name = "minifi_pgp"
 version = "1.0.0"
diff --git a/minifi_rust/extensions/minifi_rs_playground/.cargo/config.toml 
b/minifi_rust/extensions/minifi_rs_playground/.cargo/config.toml
index cb8c02ddc..431dfdfc9 100644
--- a/minifi_rust/extensions/minifi_rs_playground/.cargo/config.toml
+++ b/minifi_rust/extensions/minifi_rs_playground/.cargo/config.toml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 [target.aarch64-apple-darwin]
 rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"]
 
diff --git a/minifi_rust/extensions/minifi_rs_playground/Cargo.toml 
b/minifi_rust/extensions/minifi_rs_playground/Cargo.toml
index ec90190e3..140e60996 100644
--- a/minifi_rust/extensions/minifi_rs_playground/Cargo.toml
+++ b/minifi_rust/extensions/minifi_rs_playground/Cargo.toml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 [package]
 name = "minifi_rs_playground"
 version = "0.1.0"
diff --git a/minifi_rust/extensions/minifi_tensor/Cargo.toml 
b/minifi_rust/extensions/minifi_tensor/Cargo.toml
index 6c842109f..7e2cd0ecc 100644
--- a/minifi_rust/extensions/minifi_tensor/Cargo.toml
+++ b/minifi_rust/extensions/minifi_tensor/Cargo.toml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 [package]
 name = "minifi_tensor"
 version = "0.1.0"
diff --git a/minifi_rust/minifi_native/Cargo.toml 
b/minifi_rust/minifi_native/Cargo.toml
index 8d0a74da2..60bb47a67 100644
--- a/minifi_rust/minifi_native/Cargo.toml
+++ b/minifi_rust/minifi_native/Cargo.toml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 [package]
 name = "minifi_native"
 version = "0.1.0"
diff --git a/minifi_rust/minifi_native_macros/Cargo.toml 
b/minifi_rust/minifi_native_macros/Cargo.toml
index c5e6edf9a..397ee232c 100644
--- a/minifi_rust/minifi_native_macros/Cargo.toml
+++ b/minifi_rust/minifi_native_macros/Cargo.toml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 [package]
 name = "minifi_native_macros"
 version = "0.1.0"
diff --git a/minifi_rust/minifi_native_sys/Cargo.toml 
b/minifi_rust/minifi_native_sys/Cargo.toml
index db9a249ed..58fa4120d 100644
--- a/minifi_rust/minifi_native_sys/Cargo.toml
+++ b/minifi_rust/minifi_native_sys/Cargo.toml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 [package]
 name = "minifi_native_sys"
 version = "0.1.0"
diff --git a/minifi_rust/minifi_rs_behave/Cargo.toml 
b/minifi_rust/minifi_rs_behave/Cargo.toml
index 7656efd37..c47ae9235 100644
--- a/minifi_rust/minifi_rs_behave/Cargo.toml
+++ b/minifi_rust/minifi_rs_behave/Cargo.toml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 [package]
 name = "minifi_rs_behave"
 version = "0.1.0"
diff --git a/minifi_rust/minifi_rs_behave/Dockerfile.alpine 
b/minifi_rust/minifi_rs_behave/Dockerfile.alpine
index f49a028f6..09da64b20 100644
--- a/minifi_rust/minifi_rs_behave/Dockerfile.alpine
+++ b/minifi_rust/minifi_rs_behave/Dockerfile.alpine
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 FROM rust:alpine3.24 AS chef
 RUN apk add --no-cache musl-dev gcc g++ clang-dev lld pkgconfig curl tar && 
cargo install cargo-chef
 WORKDIR /app
diff --git a/minifi_rust/minifi_rs_behave/Dockerfile.debian 
b/minifi_rust/minifi_rs_behave/Dockerfile.debian
index 48507ef2e..409d41659 100644
--- a/minifi_rust/minifi_rs_behave/Dockerfile.debian
+++ b/minifi_rust/minifi_rs_behave/Dockerfile.debian
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 FROM rust:slim-bookworm AS chef
 RUN apt-get update && apt-get install -y clang lld pkg-config curl tar && 
cargo install cargo-chef
 WORKDIR /app
diff --git a/packaging/msi/MergeModulesFeature.xml 
b/packaging/msi/MergeModulesFeature.xml
index fc80f31a8..2343e35e8 100644
--- a/packaging/msi/MergeModulesFeature.xml
+++ b/packaging/msi/MergeModulesFeature.xml
@@ -1,3 +1,9 @@
+<!--
+  SPDX-License-Identifier: Apache-2.0
+  SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+  SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+-->
+
 <Feature Id="VCRedist" Title="Visual C++ 14.0 Runtime" AllowAdvertise="yes"  
Level="1">
   <MergeRef Id="VCRedist"/>
 </Feature>
diff --git a/packaging/msi/VSRedistributablesComponent.xml 
b/packaging/msi/VSRedistributablesComponent.xml
index 4d53a647f..9fe9ff662 100644
--- a/packaging/msi/VSRedistributablesComponent.xml
+++ b/packaging/msi/VSRedistributablesComponent.xml
@@ -1,3 +1,9 @@
+<!--
+  SPDX-License-Identifier: Apache-2.0
+  SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+  SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+-->
+
 <Component Id="VSRedistributableFiles" 
Guid="7923f16d-785a-41cb-aa74-17e0fa5f1314">
   <File Id="MiNiFiExe_concrt140" Name="concrt140.dll" KeyPath="no" 
Source="redist\concrt140.dll"/>
   <File Id="MiNiFiExe_msvcp140" Name="msvcp140.dll" KeyPath="no" 
Source="redist\msvcp140.dll"/>
diff --git a/packaging/msi/VSRedistributablesFeature.xml 
b/packaging/msi/VSRedistributablesFeature.xml
index 83e8f343c..3907952a8 100644
--- a/packaging/msi/VSRedistributablesFeature.xml
+++ b/packaging/msi/VSRedistributablesFeature.xml
@@ -1,3 +1,9 @@
+<!--
+  SPDX-License-Identifier: Apache-2.0
+  SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+  SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+-->
+
 <Feature Id="InstallVSRedistributableFiles" Title="Visual Studio 
redistributable files" AllowAdvertise="no" Display="hidden" Level="1">
   <ComponentRef Id="VSRedistributableFiles"/>
 </Feature>
diff --git a/ruff.toml b/ruff.toml
index f0c1f8ff8..0d7fc7a9e 100644
--- a/ruff.toml
+++ b/ruff.toml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 line-length = 120
 builtins = ["log", "REL_SUCCESS", "REL_FAILURE", "REL_ORIGINAL", "raw_input"]
 
diff --git a/thirdparty/google-cloud-cpp/config.yml 
b/thirdparty/google-cloud-cpp/config.yml
index ed00453f8..c50c2a53f 100644
--- a/thirdparty/google-cloud-cpp/config.yml
+++ b/thirdparty/google-cloud-cpp/config.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 versions:
   "2.47.1":
     folder: "all"
diff --git a/thirdparty/grpc/all/cmake/grpc_plugin_template.cmake.in 
b/thirdparty/grpc/all/cmake/grpc_plugin_template.cmake.in
index 5ab1d94fa..5f027705b 100644
--- a/thirdparty/grpc/all/cmake/grpc_plugin_template.cmake.in
+++ b/thirdparty/grpc/all/cmake/grpc_plugin_template.cmake.in
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 if(NOT TARGET @target_name@)
     # Find @executable_name@
     ## Workaround for legacy "cmake" generator in case of cross-build
diff --git a/thirdparty/paho-mqtt/all/conandata.yml 
b/thirdparty/paho-mqtt/all/conandata.yml
index e69960923..02f844828 100644
--- a/thirdparty/paho-mqtt/all/conandata.yml
+++ b/thirdparty/paho-mqtt/all/conandata.yml
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
 sources:
   "1.3.16":
     url: "https://github.com/eclipse/paho.mqtt.c/archive/v1.3.16.tar.gz";
diff --git a/versioninfo.rc.in b/versioninfo.rc.in
index 3f42108d3..55b7ccdb6 100644
--- a/versioninfo.rc.in
+++ b/versioninfo.rc.in
@@ -1,3 +1,7 @@
+// SPDX-License-Identifier: Apache-2.0
+// SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+// SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) 
under one or more contributor license agreements
+
 #include <windows.h>
 
 #define VER_FILEVERSION             
@PROJECT_VERSION_MAJOR@,@PROJECT_VERSION_MINOR@,@PROJECT_VERSION_PATCH@,0

Reply via email to