Commit Graph

22 Commits

Author SHA1 Message Date
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
d6424cb950
feat(aa): ensure comments are neither merged nor sorted. 2024-06-20 22:29:22 +01:00
Alexandre Pujol
fe983132cd
chore(aa): rename constructor function for consistency. 2024-06-20 16:34:49 +01:00
Alexandre Pujol
163c5be61c
feat(aa): add rule constructors from internal parser. 2024-06-19 23:22:49 +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
3b0944c615
feat(aa): add the Kind struct to manage aa rules. 2024-05-28 18:15:22 +01:00
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
865ce4c66b
chore: cosmetic 2024-05-25 22:26:51 +01:00
Alexandre Pujol
54fdf38861
chore: cosmetic & fix. 2024-05-25 22:21:59 +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
a5c4eab0cf
feat(aa): make preamble rule classic aa rules. 2024-05-04 23:25:55 +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
e9fa0660f8
feat(aa): add define parameter for variables. 2024-04-23 21:18:44 +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