feat(aa-log): add dummy rule struct.
This commit is contained in:
parent
68be85b5c2
commit
5b74cb665f
1 changed files with 15 additions and 0 deletions
|
|
@ -6,6 +6,21 @@ package aa
|
||||||
|
|
||||||
import "strings"
|
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
|
// Qualifier to apply extra settings to a rule
|
||||||
type Qualifier struct {
|
type Qualifier struct {
|
||||||
Audit bool
|
Audit bool
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue