Commit Graph

85 Commits

Author SHA1 Message Date
Alexandre Pujol
256d4abde8
feat(aa-log): improve log cleaning. 2023-09-01 19:19:19 +01:00
Alexandre Pujol
393f7001dc
fix(aa-log): profile template.
See #182
2023-08-26 11:32:56 +01:00
Alexandre Pujol
7273bde534
feat(aa-log): update default tunables according to guideline. 2023-08-22 23:09:34 +01:00
Alexandre Pujol
5516eef952
fix(aa-log): profile template. 2023-08-22 22:59:12 +01:00
Alexandre Pujol
f4ba16861f
feat(aa-log): minor apparmor profile struct tweak. 2023-08-22 22:58:35 +01:00
Alexandre Pujol
a3f21425e5
fix: remove unused go import. 2023-08-17 23:36:46 +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
4f40cb6d78
feat(aa-log): add a new constructors for aa rules. 2023-08-17 23:05:07 +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
e0f79b9c9a
feat(aa-log): resolve all main apparmor vars in log.
This also deprecate the anonymize option
2023-08-17 19:12:02 +01:00
Alexandre Pujol
fe0238250a
fix: ubuntu build. 2023-07-25 23:06:14 +01:00
Alexandre Pujol
c36801700c
chore: fix go linter. 2023-07-25 22:07:38 +01:00
Alexandre Pujol
f2e755b77b
build: allow a larger set of distribution.
See #180
2023-07-25 22:02:18 +01:00
Alexandre Pujol
6ea2df19eb
build: simplify profile struct. 2023-07-25 22:01:07 +01:00
Alexandre Pujol
c6a048c9ca
build: add FlagDir variable in prebuild code. 2023-07-23 20:36:48 +01:00
Alexandre Pujol
6325314825
feat(aa-log): minor structure improvments. 2023-07-23 17:00:52 +01:00
Alexandre Pujol
98c701f33d
feat(aa-log): show target in log, show access as owner too. 2023-07-20 23:45:14 +01:00
Alexandre Pujol
1eda41dbc6
build: fix tests. 2023-07-09 15:32:39 +01:00
Alexandre Pujol
1f75dc9956
build: update build for new bin & lib variables 2023-07-09 15:09:32 +01:00
Alexandre Pujol
dec5a29e19
fix: go linter 2023-06-18 12:07:45 +01:00
Alexandre Pujol
a1946aa171
feat: support for debian 12, drop support for debian 11. 2023-06-18 11:44:56 +01:00
Alexandre Pujol
b83569f393
chore: fix go linter 2023-05-06 13:29:55 +01:00
Alexandre Pujol
298360fff1
test(integration): initial version of integration tests manager 2023-05-06 13:23:16 +01:00
Alexandre Pujol
913ac3131c
feat(prebuild): make prebuild available as an external package.
Usefull for downstream repo.
2023-05-06 13:01:07 +01:00
Alexandre Pujol
538da05696
feat(aa-log): add -a option to anonymize the logs. 2023-05-06 12:18:20 +01:00
Alexandre Pujol
26bd9350f2
chore(aa-log): make some resource internal only. 2023-05-01 22:21:30 +01:00
Alexandre Pujol
c53049293b
feat(aa-log): use os.ReadFile instead of ioutil.ReadFile 2023-04-25 23:23:09 +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
fdbf58abfb
feat(aa-log): move useless global variables. 2023-04-19 19:03:47 +01:00
Alexandre Pujol
458db2601a
build(prebuild): add new prebuild command.
Fix #146, #136
2023-04-19 17:40:40 +01:00
Alexandre Pujol
22b12fade0
fix: remove unused import, add missing InSlice. 2023-04-16 23:42:15 +01:00
Alexandre Pujol
400ecc52f5
refractor: add logs internal pkg module. 2023-04-16 23:31:05 +01:00
Alexandre Pujol
049b939349
refractor: add initial go internall pkg module. 2023-04-16 23:26:46 +01:00