Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIgnorePolicy ¶
func NewIgnorePolicy(ctx context.Context, dbClient interfaces.Database, genAI interfaces.GenAI, input NewIgnorePolicyInput, ) error
Types ¶
type NewIgnorePolicyInput ¶
type NewIgnorePolicyInput struct {
AlertIDs []types.AlertID
BasePolicyFile string
TestDataDir string
TestDataRegoPath string
OverWrite bool
}
func (NewIgnorePolicyInput) Validate ¶
func (x NewIgnorePolicyInput) Validate() error
type Option ¶
type Option func(*UseCase)
func WithDatabase ¶
func WithDatabase(db interfaces.Database) Option
func WithGenAI ¶
func WithGenAI(genAI interfaces.GenAI) Option
Click to show internal directories.
Click to hide internal directories.