Commit graph

64 commits

Author SHA1 Message Date
Alexandre Pujol
c852fd3a01
refractor(test): move aa-test to tests/cmd/ 2024-03-26 18:13:56 +00:00
Alexandre Pujol
69f2f46c46
refractor(build): update prebuild logic to the new interface structure. 2024-03-25 23:37:13 +00:00
Alexandre Pujol
492c5a37dd
refractor: move integration code to the test directory. 2024-03-22 14:08:44 +00:00
Alexandre Pujol
2ca62215bc
build: prepare new structure for directives. 2024-03-21 20:36:41 +00:00
Alexandre Pujol
e1d1d0be3d
refractor(build): move os logic to its own module. 2024-03-21 18:58:32 +00:00
Alexandre Pujol
a66ff700a2
build: split systemd drop file in function of their purpose.
default: ensure a service use a given profile
early: ensure a service start after apparmor.
2024-03-15 16:17:19 +00:00
Alexandre Pujol
1df176cf7b
feat: small update and minor fixes. 2024-03-05 18:29:44 +00:00
Alexandre Pujol
2cd14aa6bb
chore: add missing and update copyright year. 2024-02-07 00:16:21 +01:00
Alexandre Pujol
8f1052546e
build: add a --abi4 build flags.
convert the profiles to Apparmor abi/4.0
2023-12-15 23:34:32 +00:00
Alexandre Pujol
64a5dea47e
build: cleanup build output. 2023-12-15 23:22:01 +00:00
Alexandre Pujol
0d124065b9
build: enforce the use on the default profile on full mode. 2023-11-22 20:52:25 +00:00
Alexandre Pujol
f564347580
refractor: move default systemd drop in files. 2023-11-19 14:20:14 +00:00
Alexandre Pujol
0b412b5713
chore(aa-log): update shell completion. 2023-10-10 20:44:50 +01:00
Alexandre Pujol
b99bb8da46
feat(aa-log): format rule before print. 2023-10-01 19:00:39 +01:00
Alexandre Pujol
4d0ccebb21
test(integration): update aa-test. 2023-09-30 23:21:26 +01:00
Alexandre Pujol
cd80a7d919
refractor(aa-log): merge identical function together. 2023-09-30 15:34:30 +01:00
Alexandre Pujol
43981517b2
feat(aa-log): add profile sort & merge methods. 2023-09-25 00:17:41 +01:00
Alexandre Pujol
99d1a4e302
feat(aa-log): add --raw option. 2023-09-24 19:50:15 +01:00
Alexandre Pujol
4f10cf802e
fix(test): remove unused const. 2023-09-10 12:36:16 +01:00
Alexandre Pujol
e71fc00d8e
test: refractor integration tests. 2023-09-10 12:21:55 +01:00
Alexandre Pujol
cad27a3f78
build: add the ability to set enforce all profiles.
Do not do that!!! It forces ALL profiles in enforce mode.
2023-09-05 19:44:36 +01:00
Alexandre Pujol
aea0034fcc
chore: various cosmetic changes. 2023-09-01 19:26:52 +01:00
Alexandre Pujol
9650df00e3
feat(aa-log): add -r option to convert the log into rules. 2023-08-17 23:14:11 +01:00
Alexandre Pujol
e821470d0d
fix: go test. 2023-08-17 19:15:21 +01:00
Alexandre Pujol
e0f79b9c9a
feat(aa-log): resolve all main apparmor vars in log.
This also deprecate the anonymize option
2023-08-17 19:12:02 +01:00
Alexandre Pujol
a1946aa171
feat: support for debian 12, drop support for debian 11. 2023-06-18 11:44:56 +01:00
Alexandre Pujol
298360fff1
test(integration): initial version of integration tests manager 2023-05-06 13:23:16 +01:00
Alexandre Pujol
913ac3131c
feat(prebuild): make prebuild available as an external package.
Usefull for downstream repo.
2023-05-06 13:01:07 +01:00
Alexandre Pujol
538da05696
feat(aa-log): add -a option to anonymize the logs. 2023-05-06 12:18:20 +01:00
Alexandre Pujol
8cfc6b4574
build: add a new path variable. 2023-04-25 23:26:04 +01:00
Alexandre Pujol
0b7f355269
build: better way to copy special dist resources. 2023-04-25 23:25:01 +01:00
Alexandre Pujol
fdc5839dd9
build: better way to handle libexec. 2023-04-25 23:24:10 +01:00
Alexandre Pujol
e569f907e2
build: etc.d -> multiarch.d as debian does not have etc.d yet. 2023-04-25 21:47:01 +01:00
Alexandre Pujol
9727d1ce1f
fix(build): ubuntu & debian share some build spec. 2023-04-24 00:17:00 +01:00
Alexandre Pujol
b53509664a
fix(build): profile abi bypass on debian. 2023-04-24 00:11:08 +01:00
Alexandre Pujol
b9b3d0fab1
fix(build): debian specificities build. 2023-04-24 00:01:35 +01:00
Alexandre Pujol
c2e4dfa07e
fix(build): add missing trash abs on Ubuntu. 2023-04-23 17:27:49 +01:00
Alexandre Pujol
35017ea583
test: fix collected it for opensuse. 2023-04-19 22:31:43 +01:00
Alexandre Pujol
458db2601a
build(prebuild): add new prebuild command.
Fix #146, #136
2023-04-19 17:40:40 +01:00
Alexandre Pujol
322866d902
refractor: update aa-log to the new structure. 2023-04-16 23:33:07 +01:00
Alexandre Pujol
5e5b10d5a7
feat(aa-log): fallback to syslog if audit.log is not present. 2023-03-12 16:54:54 +00:00
Alexandre Pujol
6f06587b85
fix(aa-log): update command usage. 2023-03-10 10:32:03 +00:00
Alexandre Pujol
1316e0ddde
feat(aa-log): better integration with journalctl & new usage page. 2023-02-19 17:53:49 +00:00
Alexandre Pujol
6665e3861f
feat(aa-log): also decode comm. 2023-02-08 16:29:37 +00:00
Alexandre Pujol
71934a5a29
feat(aa-log): better error formating. 2022-10-16 12:11:07 +01:00
Alexandre Pujol
4abe312220
test(aa-log): enable dummy journalctl test. 2022-10-15 21:28:57 +01:00
Alexandre Pujol
f3e2ebfffa
feat(aa-log): add support for multiple logger. 2022-10-06 21:11:35 +01:00
Alexandre Pujol
6c9122c617
fix(aa-log): relax audit log format. 2022-09-06 17:49:40 +01:00
Alexandre Pujol
9d4956df0d
feat(profiles): general update. 2022-08-21 20:16:29 +01:00
Alexandre Pujol
ef08e11aa6
fix(aa-log): ensure compatibility with Debian. 2022-08-20 13:46:45 +01:00