From 5b74cb665fa4008c6e6466ea482db289588ad0db Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sun, 1 Oct 2023 19:06:27 +0100 Subject: [PATCH] feat(aa-log): add dummy rule struct. --- pkg/aa/rules.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkg/aa/rules.go b/pkg/aa/rules.go index 92f352bf5..b083054c1 100644 --- a/pkg/aa/rules.go +++ b/pkg/aa/rules.go @@ -6,6 +6,21 @@ package aa import "strings" +type Rule struct { + Comment string + NoNewPrivs bool + FileInherit bool +} + + +func (r *Rule) Less(other any) bool { + return false +} + +func (r *Rule) Equals(other any) bool { + return false +} + // Qualifier to apply extra settings to a rule type Qualifier struct { Audit bool