owasp

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckSecurity

type CheckSecurity struct {
}

func (CheckSecurity) GetSchema

func (cd CheckSecurity) GetSchema() model.RuleFunctionSchema

GetSchema returns a model.RuleFunctionSchema defining the schema of the CheckSecurity rule.

func (CheckSecurity) RunRule

func (cd CheckSecurity) RunRule(nodes []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

RunRule will execute the CheckSecurity rule, based on supplied context and a supplied []*yaml.Node slice.

type DefineErrorDefinition

type DefineErrorDefinition struct {
}

func (DefineErrorDefinition) GetSchema

GetSchema returns a model.RuleFunctionSchema defining the schema of the DefineError rule.

func (DefineErrorDefinition) RunRule

func (cd DefineErrorDefinition) RunRule(nodes []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

RunRule will execute the DefineError rule, based on supplied context and a supplied []*yaml.Node slice.

type HeaderDefinition

type HeaderDefinition struct {
}

func (HeaderDefinition) GetSchema

func (cd HeaderDefinition) GetSchema() model.RuleFunctionSchema

GetSchema returns a model.RuleFunctionSchema defining the schema of the HeaderDefinition rule.

func (HeaderDefinition) RunRule

func (cd HeaderDefinition) RunRule(nodes []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

RunRule will execute the HeaderDefinition rule, based on supplied context and a supplied []*yaml.Node slice.

Jump to

Keyboard shortcuts

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