validator

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateConfig

func ValidateConfig(config *models.Configuration) bool

ValidateConfig return true if provided configuration is valid

func ValidateGlob added in v1.7.0

func ValidateGlob(config *models.Configuration) bool

func ValidateNotifications added in v1.9.0

func ValidateNotifications(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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL