Documentation ¶
Index ¶
- func ValidateAutoFix(config *models.Configuration) bool
- func ValidateConfig(config *models.Configuration) bool
- func ValidateNotifications(config *models.Configuration) bool
- func ValidatePaths(config *models.Configuration) bool
- func ValidateScheduledNotifications(config *models.Configuration) bool
- func ValidateSecrets(config *models.Configuration) bool
- func ValidateSeverityThreshold(config *models.Configuration) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAutoFix ¶ added in v1.22.0
func ValidateAutoFix(config *models.Configuration) bool
func ValidateConfig ¶
func ValidateConfig(config *models.Configuration) bool
ValidateConfig return true if provided configuration is valid
func ValidateNotifications ¶ added in v1.9.0
func ValidateNotifications(config *models.Configuration) bool
func ValidatePaths ¶ added in v1.15.0
func ValidatePaths(config *models.Configuration) bool
func ValidateScheduledNotifications ¶ added in v1.15.0
func ValidateScheduledNotifications(config *models.Configuration) bool
func ValidateSecrets ¶ added in v1.4.0
func ValidateSecrets(config *models.Configuration) bool
func ValidateSeverityThreshold ¶ added in v1.6.0
func ValidateSeverityThreshold(config *models.Configuration) bool
ValidateSeverityThreshold returns true if the severity_threshold option is one of the valid values:
- ""
- LOW / low
- MEDIUM / medium
- HIGH / high
- CRITICAL / critical
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.