diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb8c8a3..7701684 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Brad Boegler +# Licensed under the MIT License. See LICENSE. name: ci on: diff --git a/.gitignore b/.gitignore index 653c4d7..bc6285b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ +# Copyright (c) 2026 Brad Boegler +# Licensed under the MIT License. See LICENSE. requirements.md diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..fd535c5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Brad Boegler + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 4bd24ec..c37dc95 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # ndrift +Copyright (c) 2026 Brad Boegler + +Licensed under the MIT License. See [LICENSE](LICENSE). + ndrift is a lightweight Linux file integrity monitor. It builds a trusted baseline of file metadata and content hashes, then compares future scans to detect drift such as modified files, added files, deleted files, permission changes, ownership changes, timestamp only changes, and filesystem attribute changes. diff --git a/ndrift b/ndrift index a474522..5d73d3e 100755 --- a/ndrift +++ b/ndrift @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +# Copyright (c) 2026 Brad Boegler +# Licensed under the MIT License. See LICENSE. """ndrift is a lightweight file integrity monitor for Linux.""" import argparse diff --git a/ndrift-config.conf b/ndrift-config.conf index 3acccdb..89fc508 100644 --- a/ndrift-config.conf +++ b/ndrift-config.conf @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Brad Boegler +# Licensed under the MIT License. See LICENSE. [ndrift] # Monitored directories for recursive scanning. # Use comma separated absolute paths. Keep baseline and key paths outside these roots. diff --git a/tests/test_ndrift.py b/tests/test_ndrift.py index bed51d2..3fb05ab 100644 --- a/tests/test_ndrift.py +++ b/tests/test_ndrift.py @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Brad Boegler +# Licensed under the MIT License. See LICENSE. import configparser import importlib.util import json