Commit Graph

36 Commits

Author SHA1 Message Date
Alexandre Pujol
29a1642598
feat(aa-log): unify the isOwner function across features. 2024-10-06 20:17:19 +01:00
Alexandre Pujol
a8c18f9b94
test(aa-log): update tests to the last changes. 2024-09-27 12:20:48 +01:00
Alexandre Pujol
83bc7d3ade
feat(aa-log): minor improvment in rule generation & formatting. 2024-09-26 22:15:46 +01:00
Alexandre Pujol
7c5ba70b40
feat(aa): add missing methods for the Link struct. 2024-06-29 22:52:31 +01:00
Alexandre Pujol
0e0f87611a
feat(aa): add implementation of the new rule methods. 2024-06-29 22:27:39 +01:00
Alexandre Pujol
191c72fcb6
chore(aa): minor cosmetic of the rule interface. 2024-06-27 18:45:32 +01:00
Alexandre Pujol
7c006dee0a
feat(aa): be more verbose on rule.Merge 2024-06-25 20:10:12 +01:00
Alexandre Pujol
880f0ef37e
refractor(aa): ensure methods order in rules definitions. 2024-06-25 19:56:36 +01:00
Alexandre Pujol
272072d2a5
refractor(aa): rename base struct from RuleBase to Base 2024-06-25 19:50:27 +01:00
Alexandre Pujol
228d3b653c
fix(aa): ineffective assignment 2024-06-23 10:57:46 +01:00
Alexandre Pujol
6791dcde28
feat(aa): add merge methods to the rule interface. 2024-06-22 20:59:43 +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
163c5be61c
feat(aa): add rule constructors from internal parser. 2024-06-19 23:22:49 +01:00
Alexandre Pujol
cdab2588aa
refractor(aa): newRuleFromLog -> newBaseFromLog 2024-06-19 18:44:55 +01:00
Alexandre Pujol
4cbacc186c
feat(aa): rule interface: replace less & equal by the compare method.
- set a new alphabet order to sort AARE based string.
- unify compare function for all rules
- handle some special sort order, eg: base include
2024-06-19 18:34:58 +01:00
Alexandre Pujol
992cab1fa4
feat(aa): move conversion function to its own file & add unit tests. 2024-05-30 12:32:30 +01:00
Alexandre Pujol
e33c1243cc
chore(aa): cleanup. 2024-05-28 18:22:14 +01:00
Alexandre Pujol
3b0944c615
feat(aa): add the Kind struct to manage aa rules. 2024-05-28 18:15:22 +01:00
Alexandre Pujol
92641e7e28
feat(aa): add initial profile validation structure. 2024-05-25 22:36:39 +01:00
Alexandre Pujol
865ce4c66b
chore: cosmetic 2024-05-25 22:26:51 +01:00
Alexandre Pujol
656aa15836
feat(aa): rewrite the toAccess function to parse, convert and verify the access values. 2024-05-25 22:14:43 +01:00
Alexandre Pujol
744c745394
feat(aa): add requirements map. 2024-05-25 22:01:29 +01:00
Alexandre Pujol
e38f5b4637
feat(aa): add the link rule. 2024-05-25 21:56:28 +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
f763d31a07
feat(aa): a Constraint and Kind method to the Rule interface. 2024-05-04 23:41:47 +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
ab4feda5ba
feat(aa): improve apparmor struct. 2024-04-14 23:58:34 +01:00
Alexandre Pujol
e3daaf3d4c
feat(aa-log): ensure rule access is always present. 2024-02-29 00:19:26 +00:00
Alexandre Pujol
2cd14aa6bb
chore: add missing and update copyright year. 2024-02-07 00:16:21 +01:00
Alexandre Pujol
b99bb8da46
feat(aa-log): format rule before print. 2023-10-01 19:00:39 +01:00
Alexandre Pujol
c0bc903101
feat(aa): use profile guideline to sort file rules. 2023-09-30 13:54:04 +01:00
Alexandre Pujol
c7485326e8
feat(aa): improve rule creation from log. 2023-09-29 20:07:29 +01:00
Alexandre Pujol
e23e10d7b7
feat(aa-log): add less & equals rule methods. 2023-09-25 00:09:11 +01:00
Alexandre Pujol
923bb66eba
feat(aa-log): new structure for apparmor rules. 2023-09-25 00:06:07 +01:00