Versions in this module Expand all Collapse all v0 v0.1.1 Dec 2, 2025 v0.1.0 Nov 26, 2025 Changes in this version + type AutoCloseRule struct + Action RuleAction + Enabled bool + Filters RuleFilters + Name string + SkipNotification bool + type FilterEngine struct + Rules []AutoCloseRule + func NewFilterEngine(rules []AutoCloseRule) *FilterEngine + func (e *FilterEngine) FindMatchingRule(finding *events.SecurityHubV2Finding) (*AutoCloseRule, bool) + type ResourceTagFilter struct + Name string + Value string + type RuleAction struct + Comment string + StatusID int32 + type RuleFilters struct + Accounts []string + FindingTypes []string + ProductName []string + Regions []string + ResourceTags []ResourceTagFilter + ResourceTypes []string + Severity []string + type S3Client interface + GetObject func(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error) + ListObjectsV2 func(ctx context.Context, params *s3.ListObjectsV2Input, ...) (*s3.ListObjectsV2Output, error) + type S3RulesLoader struct + func NewS3RulesLoader(client S3Client) *S3RulesLoader + func (l *S3RulesLoader) LoadRules(ctx context.Context, bucket, prefix string) ([]AutoCloseRule, error)