Alexandre Pujol
|
a99387c323
|
feat(aa): parse apparmor preamble files.
|
2024-05-27 18:55:21 +01:00 |
|
Alexandre Pujol
|
92641e7e28
|
feat(aa): add initial profile validation structure.
|
2024-05-25 22:36:39 +01:00 |
|
Alexandre Pujol
|
019b6f8197
|
feat(aa): format now merge access list.
|
2024-05-25 22:22:32 +01:00 |
|
Alexandre Pujol
|
81f0163086
|
feat(aa): cleanup, fix import and add some unit tests.
|
2024-05-05 14:19:25 +01:00 |
|
Alexandre Pujol
|
305d06dbe0
|
feat(aa): rewrite variable handling.
|
2024-05-05 14:09:00 +01:00 |
|
Alexandre Pujol
|
f763d31a07
|
feat(aa): a Constraint and Kind method to the Rule interface.
|
2024-05-04 23:41:47 +01:00 |
|
Alexandre Pujol
|
2923df2a73
|
refractor(aa): move profile specific method to the profile struct.
|
2024-04-23 21:32:58 +01:00 |
|
Alexandre Pujol
|
5483668574
|
feat(aa): add a string method to all rule struct.
|
2024-04-23 21:26:09 +01:00 |
|
Alexandre Pujol
|
c719a0a109
|
feat(aa): ensure accesses are slice of string.
|
2024-04-23 21:17:25 +01:00 |
|
Alexandre Pujol
|
c97886d960
|
feat(aa): continue refractoring the aa structure.
|
2024-04-19 22:43:02 +01:00 |
|
Alexandre Pujol
|
890275fb22
|
feat(aa): rename the main profile struct.
|
2024-04-16 21:51:56 +01:00 |
|
Alexandre Pujol
|
4b753210e7
|
feat(aa): modify the apparmor struct to support multiple profiles and subprofile.
|
2024-04-15 14:09:04 +01:00 |
|
Alexandre Pujol
|
ab4feda5ba
|
feat(aa): improve apparmor struct.
|
2024-04-14 23:58:34 +01:00 |
|
Alexandre Pujol
|
ea1736083a
|
chore: use slices from standard library.
|
2024-04-12 20:07:05 +01:00 |
|
Alexandre Pujol
|
6810fe679e
|
chore: minor cosmetic.
|
2024-04-03 21:06:28 +01:00 |
|
Alexandre Pujol
|
1915fa5175
|
feat(build): simplify some internal tooling.
|
2024-04-02 17:48:03 +01:00 |
|
Alexandre Pujol
|
3d4dd5c91a
|
feat(aa-log): correctly handle remount rule from mount log.
|
2024-02-29 23:12:19 +00:00 |
|
Alexandre Pujol
|
e616b9b3fc
|
feat(aa-log): ensure unix rule are not confused with network unix rule.
Both are technically the same, we simply prioritize `unix` to `network unix`.
|
2024-02-29 00:20:37 +00:00 |
|
Alexandre Pujol
|
2cd14aa6bb
|
chore: add missing and update copyright year.
|
2024-02-07 00:16:21 +01:00 |
|
Alexandre Pujol
|
735e3529fb
|
feat(aa-log): add support for mqueue.
|
2023-12-05 20:47:32 +00:00 |
|
Alexandre Pujol
|
3197f52a97
|
feat(aa-log): improve log to rule conversion.
|
2023-11-19 10:59:46 +00:00 |
|
Alexandre Pujol
|
46d25ed922
|
feat(aa-log): improve error formating on rules.
|
2023-10-20 23:11:11 +01:00 |
|
Alexandre Pujol
|
b99bb8da46
|
feat(aa-log): format rule before print.
|
2023-10-01 19:00:39 +01:00 |
|
Alexandre Pujol
|
26d05f1869
|
feat(aa): sort local include at the end of a profile.
|
2023-09-29 21:24:15 +01:00 |
|
Alexandre Pujol
|
c7485326e8
|
feat(aa): improve rule creation from log.
|
2023-09-29 20:07:29 +01:00 |
|
Alexandre Pujol
|
13de4182c8
|
fix(aa-log): ensure unix logs generate unix rule.
It may break some rule generation on old apparmor version (<3.1). But I don't have the time to support all apparmor version anyway...
fix #225
|
2023-09-29 20:01:30 +01:00 |
|
Alexandre Pujol
|
43981517b2
|
feat(aa-log): add profile sort & merge methods.
|
2023-09-25 00:17:41 +01:00 |
|
Alexandre Pujol
|
73109bb09c
|
feat(aa-log): update addrule method to new structure.
|
2023-09-25 00:10:12 +01:00 |
|
Alexandre Pujol
|
923bb66eba
|
feat(aa-log): new structure for apparmor rules.
|
2023-09-25 00:06:07 +01:00 |
|
Alexandre Pujol
|
aea0034fcc
|
chore: various cosmetic changes.
|
2023-09-01 19:26:52 +01:00 |
|
Alexandre Pujol
|
d06a474b0c
|
feat(aa-log): parse log file to AA object to allow easy print.
|
2023-08-17 23:12:46 +01:00 |
|
Alexandre Pujol
|
574891d445
|
feat(aa-log): add AppArmorProfile.String using a template.
|
2023-08-17 23:11:11 +01:00 |
|
Alexandre Pujol
|
a8470dfa38
|
feat(aa-log): add a new apparmor profile struct
Also rewrite variables resolution to this new struct.
|
2023-08-17 23:00:52 +01:00 |
|
Alexandre Pujol
|
6ea2df19eb
|
build: simplify profile struct.
|
2023-07-25 22:01:07 +01:00 |
|
Alexandre Pujol
|
1f75dc9956
|
build: update build for new bin & lib variables
|
2023-07-09 15:09:32 +01:00 |
|
Alexandre Pujol
|
7a70252e26
|
build: improve attachments resolution.
|
2023-04-24 12:51:16 +01:00 |
|
Alexandre Pujol
|
d2c1aa72ff
|
fix(build): ensure attachment nesting return value even on non valid string.
|
2023-04-19 21:48:53 +01:00 |
|
Alexandre Pujol
|
458db2601a
|
build(prebuild): add new prebuild command.
Fix #146, #136
|
2023-04-19 17:40:40 +01:00 |
|