Alexandre Pujol
|
c719a0a109
|
feat(aa): ensure accesses are slice of string.
|
2024-04-23 21:17:25 +01:00 |
|
Alexandre Pujol
|
a2910122d2
|
fix: do not use the wrong profile.
|
2024-04-23 19:18:42 +01:00 |
|
Alexandre Pujol
|
c97886d960
|
feat(aa): continue refractoring the aa structure.
|
2024-04-19 22:43:02 +01:00 |
|
Alexandre Pujol
|
8ef858ad35
|
feat(aa): refractor template to allow multiple templates.
|
2024-04-17 18:02:41 +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
|
507002c660
|
feat(aa): rename the main file template.
|
2024-04-15 13:32:20 +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
|
8b68132f0e
|
fix(build): add a simple check to ensure all resolved variables are defined.
|
2024-04-11 00:15:08 +01:00 |
|
Alexandre Pujol
|
2b26dac3b9
|
fix(build): add local variable definition.
Note: will be really fixed later.
|
2024-04-05 23:34:44 +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
|
5d40cc1166
|
fix(aa-log): handle owner rule even if thhe log is not complete.
|
2024-03-25 20:32:13 +00:00 |
|
Alexandre Pujol
|
c9b87efebe
|
chore: cosmetic.
|
2024-03-16 19:27:45 +00:00 |
|
Alexandre Pujol
|
65386321c2
|
feat(aa-log): update shell paths.
|
2024-02-29 23:14:01 +00: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
|
e3daaf3d4c
|
feat(aa-log): ensure rule access is always present.
|
2024-02-29 00:19:26 +00:00 |
|
Alexandre Pujol
|
1bc63becaf
|
feat(aa-log): an empty profile now return empty string.
|
2024-02-24 17:01:03 +00:00 |
|
Alexandre Pujol
|
48b39fa816
|
test(aa-log): add more tests about the mount rules.
|
2024-02-24 17:00:07 +00:00 |
|
Alexandre Pujol
|
d6dc89b4f3
|
feat(aa-log): parse mount conditions from logs.
|
2024-02-24 16:58:38 +00:00 |
|
Alexandre Pujol
|
2cd14aa6bb
|
chore: add missing and update copyright year.
|
2024-02-07 00:16:21 +01:00 |
|
Alexandre Pujol
|
c8f37afe9a
|
feat(aa-log): improve profile rendering.
|
2024-01-21 11:58:44 +00:00 |
|
Alexandre Pujol
|
735e3529fb
|
feat(aa-log): add support for mqueue.
|
2023-12-05 20:47:32 +00:00 |
|
Alexandre Pujol
|
07a6f35b4e
|
chore(aa-log): minor template improvement.
|
2023-11-29 22:08:37 +00:00 |
|
Alexandre Pujol
|
66efedfb01
|
fix(aa-log): fix go linter.
|
2023-11-28 15:31:43 +00:00 |
|
Alexandre Pujol
|
d4bc07895a
|
feat(aa-log): add support change_profile & pivot_rule
|
2023-11-27 19:21:43 +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
|
a4033f7950
|
fix(test): aa-log unit tests.
|
2023-10-01 19:12:27 +01:00 |
|
Alexandre Pujol
|
5b74cb665f
|
feat(aa-log): add dummy rule struct.
|
2023-10-01 19:06:27 +01:00 |
|
Alexandre Pujol
|
68be85b5c2
|
test(aa-log): add some unit tests.
|
2023-10-01 19:05:44 +01:00 |
|
Alexandre Pujol
|
4798b2d04a
|
chore(aa-log): cleanup test data.
|
2023-10-01 19:04:43 +01:00 |
|
Alexandre Pujol
|
fd46022d5b
|
test(aa-log): test aa-log against real profile.
|
2023-10-01 19:03:12 +01:00 |
|
Alexandre Pujol
|
b99bb8da46
|
feat(aa-log): format rule before print.
|
2023-10-01 19:00:39 +01:00 |
|
Alexandre Pujol
|
95c322d62a
|
test: add more profile sorting test.
|
2023-09-30 13:55:56 +01:00 |
|
Alexandre Pujol
|
c0bc903101
|
feat(aa): use profile guideline to sort file rules.
|
2023-09-30 13:54:04 +01:00 |
|
Alexandre Pujol
|
4dfc1388e3
|
feat(aa): add support for audit log.
|
2023-09-30 13:28:41 +01:00 |
|
Alexandre Pujol
|
e93c1bf4d8
|
feat(aa): support multiple comments.
|
2023-09-30 13:22:46 +01:00 |
|
Alexandre Pujol
|
1da0073120
|
refractor: rename comment template.
|
2023-09-30 13:22:04 +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
|
c249005958
|
fix(aa): import missing lib & improve template indentation.
|
2023-09-29 20:37:15 +01:00 |
|
Alexandre Pujol
|
09a06db803
|
feat(aa): add sub templates.
|
2023-09-29 20:28:56 +01:00 |
|
Alexandre Pujol
|
cb441733c0
|
feat(aa): ensure the template does not append useless space.
|
2023-09-29 20:17:38 +01:00 |
|
Alexandre Pujol
|
d810acd58f
|
chore: cleanup test data.
|
2023-09-29 20:10:38 +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
|
5b180bfeb2
|
refractor: move profile template in its own directory.
|
2023-09-28 19:42:17 +01:00 |
|
Alexandre Pujol
|
6cbc076ba4
|
test(aa-log): add unit tests for profile printing.
|
2023-09-25 00:28:28 +01:00 |
|