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 App struct + Config *Config + FilterEngine *filters.FilterEngine + FindingCloser *actions.FindingCloser + Logger *slog.Logger + Notifier notifiers.Notifier + func New(ctx context.Context, cfg *Config, logger *slog.Logger) (*App, error) + func (a *App) CloseFinding(ctx context.Context, finding *events.SecurityHubV2Finding, statusID int32, ...) error + func (a *App) LoadRulesFromS3(ctx context.Context, loader *filters.S3RulesLoader, bucket, prefix string) ([]filters.AutoCloseRule, error) + func (a *App) ParseEvent(e events.SecurityHubEventInput) (*events.SecurityHubV2Finding, error) + func (a *App) Process(ctx context.Context, evt events.SecurityHubEventInput) error + func (a *App) SendNotification(ctx context.Context, finding *events.SecurityHubV2Finding) error + type Config struct + AWSSecurityHubv2Region string + AutoCloseRules []filters.AutoCloseRule + AutoCloseRulesS3Bucket string + AutoCloseRulesS3Prefix string + AwsAccessPortalURL string + AwsAccessRoleName string + AwsConsoleURL string + DebugEnabled bool + SlackChannel string + SlackEnabled bool + SlackToken string + func NewConfig() (*Config, error) + type EventDetail struct + Findings []json.RawMessage