Update .gitignore and fix audit paths to use standard Linux directories
Some checks failed
CLI Tests / test-cli (push) Failing after 2s
Security Scanning / security-scan (push) Successful in 1m32s

- Add comprehensive runtime file patterns to .gitignore (data/, config/, logs/, production/, *.log, *.db, *.db-wal, *.db-shm)
- Keep *.example files tracked for configuration templates
- Update CLI audit command to use FHS-compliant paths (/var/lib/aitbc, /etc/aitbc, /var/log/aitbc)
This commit is contained in:
aitbc
2026-04-23 12:47:22 +02:00
parent af7a971404
commit 1b5f27e9db
58 changed files with 236 additions and 1 deletions

11
.gitignore vendored
View File

@@ -333,3 +333,14 @@ backups/*/logs/
# =================== # ===================
monitoring/*.pid monitoring/*.pid
systemd/*.backup systemd/*.backup
data/
config/
logs/
production/data/
production/logs/
*.log
*.log.*
*.db
*.db-wal
*.db-shm
!*.example

View File

@@ -50,7 +50,7 @@ def audit():
click.echo("Service Health: ✅") click.echo("Service Health: ✅")
# Check repository cleanliness # Check repository cleanliness
repo_dirs = ['/opt/aitbc/data', '/opt/aitbc/config', '/opt/aitbc/logs'] repo_dirs = ['/var/lib/aitbc/data', '/etc/aitbc', '/var/log/aitbc']
clean = True clean = True
for dir_path in repo_dirs: for dir_path in repo_dirs:
if os.path.exists(dir_path): if os.path.exists(dir_path):

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/c3c3dff059b2d1b75090cf2368c4753b.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}

View File

@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../build-info/9733ae384af13e1bc5099101cffcb80a.json"
}