Commit Graph

82 Commits

Author SHA1 Message Date
Alexandre Pujol
a65ebc42b2
fix(aa-log): add missing flag definition. 2024-10-21 19:56:09 +01:00
Alexandre Pujol
7e09351f8f
feat(aa-log): add the --since option. 2024-10-21 14:12:02 +01:00
Alexandre Pujol
3ef6c44038
fix: small fix & cleaning. 2024-10-12 20:11:45 +01:00
Alexandre Pujol
982c2c66aa
refractor: rename some path util function. 2024-10-12 15:31:24 +01:00
Alexandre Pujol
68127c3859
build: allow to run prebuild outside of this project. 2024-10-09 14:03:54 +01:00
Alexandre Pujol
94703681d9
build: build tasks: dev -> hotfix. 2024-10-08 23:44:13 +01:00
Alexandre Pujol
4b5f7f2b52
chore: document build the enabled task. 2024-10-04 16:14:40 +01:00
Alexandre Pujol
de21ff07a6
build: move upstream overwrite to its own build tasks.
It allow us to controll when we want to do it and either or not it should be enabled.
2024-10-03 11:55:33 +01:00
Alexandre Pujol
344ccf3003
build: set default ABI to abi4. 2024-10-02 16:44:15 +01:00
Alexandre Pujol
59ac54e2fc
build: reorganise build: abi4, fallback, prebuild cli
- ABI4 by default, fallback to abi 3.
- aa-prebuild cli that can be used by other project shipping profiles.
- --file option to cli to only build one dev profile.
- add abi version filter to only & exclude directives.
2024-10-02 16:22:46 +01:00
Alexandre Pujol
00d6a664eb
feat(aa-log): improve logs cleaning and varible resolution. 2024-09-26 22:25:24 +01:00
Alexandre Pujol
4f4e373877
chore: make go vet happy. 2024-08-20 19:07:56 +01:00
Alexandre Pujol
a91e2ddf56
feat(aa): formatter: add support for abstraction & tunables. 2024-06-22 20:20:34 +01:00
Alexandre Pujol
42ca1be858
feat(aa): add the Merge method to the Rule interface. 2024-06-20 23:23:39 +01:00
Alexandre Pujol
be27f646ce
feat(aa): add inital version of the aa tool. 2024-06-20 17:46:27 +01:00
Alexandre Pujol
4282fb336e
refractor(aa): move some test resource to the testdata dir. 2024-05-30 20:10:45 +01:00
Alexandre Pujol
978daa446b
feat(aa-log): update aa module to last changes. 2024-04-24 21:58:15 +01:00
Alexandre Pujol
ea1736083a
chore: use slices from standard library. 2024-04-12 20:07:05 +01:00
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