Versions in this module Expand all Collapse all v0 v0.0.1 Nov 29, 2026 Changes in this version + const RuleTypeIOCList + const UnverifiedIndicators + var ErrNotModified = errors.New("feed not modified") + var ErrRevoked = errors.New("the sensor's credential was revoked") + func IndicatorRuleUUID(ref string) string + func IsIndicatorRef(ref string) bool + func ParsePublicKey(encoded string) (ed25519.PublicKey, error) + type Fetcher interface + Fetch func(ctx context.Context) (Loaded, error) + Ref func() string + type Indicators struct + Authorization func() string + Endpoint string + HTTP *http.Client + Reference string + Stopped func() bool + UserAgent string + func (s *Indicators) Fetch(ctx context.Context) (Loaded, error) + func (s *Indicators) Ref() string + type Loaded struct + ETag string + FeedType string + FeedUUID string + Rules []Rule + Unverified string + Verified bool + type Rule struct + Body string + CVE string + DeployMode string + Disabled bool + Name string + RuleTable string + RuleType string + RuleUUID string + type Source struct + BaseURL string + HTTP *http.Client + PublicKey ed25519.PublicKey + func (s *Source) Fetch(ctx context.Context) (Loaded, error) + func (s *Source) Ref() string