Commit graph

93 commits

Author SHA1 Message Date
Alexandre Pujol
4f9d2703d4
build: separate the base-strict abs from the re-attach builder.
Enable the use of the base-strict abs on all setup.
2025-09-01 15:07:01 +02:00
Alexandre Pujol
952c4e91a1
feat(aa): add aa --enforce and aa --complain.
These are small dev tools, not installed by default.
2025-08-17 20:50:00 +02:00
Alexandre Pujol
5775721e55
build: default target to apparmor 4.1 2025-04-13 12:12:45 +02:00
Alexandre Pujol
07b7f5c13d
fix: linter fix. 2025-04-05 00:01:27 +02:00
Alexandre Pujol
984cf28e61
chore: apply some linter recommendations. 2025-04-04 23:45:24 +02:00
Alexandre Pujol
b9ec70b8bb
build: add support for various version in OCI based package build. 2025-04-04 21:52:44 +02:00
Alexandre Pujol
9ef8db9cbc
fix: remove unused import. 2025-03-30 17:39:20 +02:00
Alexandre Pujol
baa3f8f639
build: generalise the use of apparmor version during the build. 2025-03-30 17:06:00 +02:00
Alexandre Pujol
3f9fe25fd4
doc: update aa-log usage. 2025-03-02 14:03:38 +01:00
Alexandre Pujol
fc85b9fc58
build: better division of prebuild stages. 2025-01-12 19:41:47 +01:00
EricLin0509
d121092c56 Update to ABI4.0 for Arch Linux 2024-10-22 11:03:39 +00:00
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