Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
Executor object
func NewExecutor ¶
func NewExecutor(iacType, iacVersion string, policyTypes []string, filePath, dirPath string, policyPath, scanRules, skipRules, categories []string, severity string, nonRecursive, useTerraformCache, findVulnerabilities bool, notificationWebhookURL, notificationWebhookToken, repoURL, repoRef string) (e *Executor, err error)
NewExecutor creates a runtime object
func (*Executor) SendNotifications ¶
SendNotifications sends notifications via all the configured notifiers
func (*Executor) ValidateInputs ¶
ValidateInputs validates the inputs to the executor object
type Output ¶ added in v1.1.0
type Output struct { ResourceConfig output.AllResourceConfigs Violations policy.EngineOutput }
Output is the runtime engine output
Click to show internal directories.
Click to hide internal directories.