Versions in this module Expand all Collapse all v0 v0.0.1 Nov 29, 2026 Changes in this version + const Compiled + const MaxYaraFile + const NoEngine + const Rejected + func Compile(rules []feed.Rule) (*Set, []Result) + type Hit struct + Detail string + Rule decide.RuleRef + type IOCSet struct + Domains map[string]decide.RuleRef + Hashes map[string]decide.RuleRef + IPs map[string]decide.RuleRef + func (s IOCSet) Len() int + func (s IOCSet) MatchHash(hexDigest string) (decide.RuleRef, bool) + func (s IOCSet) MatchHost(host string) (decide.RuleRef, string, bool) + type Process struct + CommandLine string + CurrentDirectory string + Image string + ParentCommandLine string + ParentImage string + User string + type Result struct + Reason string + Rule feed.Rule + Status string + type Set struct + IOC IOCSet + func (s *Set) HasFileRules() bool + func (s *Set) HasProcessRules() bool + func (s *Set) InspectRequest(r *http.Request, body []byte) []Hit + func (s *Set) MatchFile(data []byte) []Hit + func (s *Set) MatchProcess(p Process) []Hit