Documentation ¶
Overview ¶
Package rule is to control the audit rule behaviors
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶ added in v1.9.2
type Manager struct { InboundRule *sync.Map // Key: Tag, Value: []api.DetectRule InboundDetectResult *sync.Map // key: Tag, Value: mapset.NewSet []api.DetectResult }
func (*Manager) GetDetectResult ¶ added in v1.9.2
func (r *Manager) GetDetectResult(tag string) (*[]api.DetectResult, error)
func (*Manager) UpdateRule ¶ added in v1.9.2
func (r *Manager) UpdateRule(tag string, newRuleList []api.DetectRule) error
Click to show internal directories.
Click to hide internal directories.