Skip to content

Commit 8d18e0a

Browse files
committed
Add license headers and cleanup
1 parent 82804f6 commit 8d18e0a

78 files changed

Lines changed: 727 additions & 779 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# SPDX-FileCopyrightText: 2026 Defensive Lab Agency
2+
# SPDX-FileContributor: u039b <git@0x39b.fr>
3+
#
4+
# SPDX-License-Identifier: GPL-3.0-or-later
5+
16
.DS_Store
27
.AppleDouble
38
.LSOverride

.pre-commit-config.yaml

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,35 @@
1+
# SPDX-FileCopyrightText: 2026 Defensive Lab Agency
2+
# SPDX-FileContributor: u039b <git@0x39b.fr>
3+
#
4+
# SPDX-License-Identifier: GPL-3.0-or-later
5+
16
repos:
27
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v5.0.0
8+
rev: v6.0.0
49
hooks:
510
- id: end-of-file-fixer
611
types: [python]
712
- id: trailing-whitespace
813
types: [python]
9-
- repo: https://github.com/tox-dev/pyproject-fmt
10-
rev: "v2.6.0"
11-
hooks:
12-
- id: pyproject-fmt
14+
# - repo: https://github.com/tox-dev/pyproject-fmt
15+
# rev: "v2.16.1"
16+
# hooks:
17+
# - id: pyproject-fmt
1318
- repo: https://github.com/astral-sh/ruff-pre-commit
14-
rev: "v0.11.13"
19+
rev: "v0.15.2"
1520
hooks:
1621
- id: ruff-format
1722
- id: ruff
1823
args: ["--fix", "--unsafe-fixes", "--exit-non-zero-on-fix"]
19-
# - repo: https://github.com/PyCQA/bandit
20-
# rev: 1.8.6
21-
# hooks:
22-
# - id: bandit
23-
# args: ["-c", "pyproject.toml", "--severity-level", "high", "-r", "mongoose"]
24+
- repo: https://github.com/PyCQA/bandit
25+
rev: 1.8.6
26+
hooks:
27+
- id: bandit
28+
args: ["-c", "pyproject.toml", "--severity-level", "high", "-r", "mongoose"]
29+
- repo: https://github.com/fsfe/reuse-tool
30+
rev: v6.2.0
31+
hooks:
32+
- id: reuse
2433
- repo: meta
2534
hooks:
2635
- id: check-hooks-apply

LICENSE

Lines changed: 0 additions & 674 deletions
This file was deleted.

LICENSES/GPL-3.0-or-later.txt

Lines changed: 232 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!--
2+
SPDX-FileCopyrightText: 2026 Defensive Lab Agency
3+
SPDX-FileContributor: u039b <git@0x39b.fr>
4+
5+
SPDX-License-Identifier: GPL-3.0-or-later
6+
-->
7+
18
<div align="center">
29
<img width="60px" src="https://pts-project.org/android-chrome-512x512.png" alt="PTS logo">
310
<h1>Mongoose</h1>

REUSE.toml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# SPDX-FileCopyrightText: 2026 Defensive Lab Agency
2+
# SPDX-FileContributor: u039b <git@0x39b.fr>
3+
#
4+
# SPDX-License-Identifier: GPL-3.0-or-later
5+
6+
version = 1
7+
8+
[[annotations]]
9+
path = "tests/data/*"
10+
precedence = "override"
11+
SPDX-FileCopyrightText = "2026 Defensive Lab Agency"
12+
SPDX-License-Identifier = "GPL-3.0-or-later"
13+
14+
[[annotations]]
15+
path = "docs/**/*.rst"
16+
precedence = "override"
17+
SPDX-FileCopyrightText = "2026 Defensive Lab Agency"
18+
SPDX-License-Identifier = "GPL-3.0-or-later"
19+
20+
[[annotations]]
21+
path = "docs/**/*.png"
22+
precedence = "override"
23+
SPDX-FileCopyrightText = "2026 Defensive Lab Agency"
24+
SPDX-License-Identifier = "GPL-3.0-or-later"
25+
26+
[[annotations]]
27+
path = "debian/**/*"
28+
precedence = "override"
29+
SPDX-FileCopyrightText = "2026 Defensive Lab Agency"
30+
SPDX-License-Identifier = "GPL-3.0-or-later"
31+
32+
[[annotations]]
33+
path = ".github/**/*"
34+
precedence = "override"
35+
SPDX-FileCopyrightText = "2026 Defensive Lab Agency"
36+
SPDX-License-Identifier = "GPL-3.0-or-later"
37+
38+
[[annotations]]
39+
path = "uv.lock"
40+
precedence = "override"
41+
SPDX-FileCopyrightText = "2026 Defensive Lab Agency"
42+
SPDX-License-Identifier = "GPL-3.0-or-later"

admin/index.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# SPDX-FileCopyrightText: 2026 Defensive Lab Agency
2+
# SPDX-FileContributor: u039b <git@0x39b.fr>
3+
#
4+
# SPDX-License-Identifier: GPL-3.0-or-later
5+
16
files:
27
- src: suricata.yaml
38
dst: /etc/suricata/suricata.yaml

admin/mongoose.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# SPDX-FileCopyrightText: 2026 Defensive Lab Agency
2+
# SPDX-FileContributor: u039b <git@0x39b.fr>
3+
#
4+
# SPDX-License-Identifier: GPL-3.0-or-later
5+
16
configuration:
27
database_path: "/var/lib/mongoose/mongoose.db"
38
extra_configuration_dir: "/var/lib/mongoose/"

admin/suricata.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# SPDX-FileCopyrightText: 2026 Defensive Lab Agency
2+
# SPDX-FileContributor: u039b <git@0x39b.fr>
3+
#
4+
# SPDX-License-Identifier: GPL-3.0-or-later
5+
16
%YAML 1.1
27
---
38

configuration_example.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# SPDX-FileCopyrightText: 2026 Defensive Lab Agency
2+
# SPDX-FileContributor: u039b <git@0x39b.fr>
3+
#
4+
# SPDX-License-Identifier: GPL-3.0-or-later
5+
16
configuration:
27
collector:
38
suricata:

0 commit comments

Comments
 (0)