owasp

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdditionalPropertiesConstrained added in v0.7.0

type AdditionalPropertiesConstrained struct{}

func (AdditionalPropertiesConstrained) GetSchema added in v0.7.0

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

func (AdditionalPropertiesConstrained) RunRule added in v0.7.0

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

type ArrayLimit added in v0.7.0

type ArrayLimit struct{}

func (ArrayLimit) GetSchema added in v0.7.0

func (ar ArrayLimit) GetSchema() model.RuleFunctionSchema

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

func (ArrayLimit) RunRule added in v0.7.0

func (ar ArrayLimit) RunRule(_ []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

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

type AuthInsecureSchemes added in v0.7.0

type AuthInsecureSchemes struct{}

func (AuthInsecureSchemes) GetSchema added in v0.7.0

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

func (AuthInsecureSchemes) RunRule added in v0.7.0

func (is AuthInsecureSchemes) RunRule(_ []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

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

type CheckErrorResponse added in v0.7.0

type CheckErrorResponse struct {
}

func (CheckErrorResponse) GetSchema added in v0.7.0

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

func (CheckErrorResponse) RunRule added in v0.7.0

func (er CheckErrorResponse) RunRule(_ []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

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

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(_ []*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(_ []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

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

type HostsHttps added in v0.7.0

type HostsHttps struct{}

func (HostsHttps) GetSchema added in v0.7.0

func (hh HostsHttps) GetSchema() model.RuleFunctionSchema

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

func (HostsHttps) RunRule added in v0.7.0

func (hh HostsHttps) RunRule(_ []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

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

type IntegerFormat added in v0.7.0

type IntegerFormat struct{}

func (IntegerFormat) GetSchema added in v0.7.0

func (i IntegerFormat) GetSchema() model.RuleFunctionSchema

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

func (IntegerFormat) RunRule added in v0.7.0

func (i IntegerFormat) RunRule(_ []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

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

type IntegerLimit added in v0.7.0

type IntegerLimit struct{}

func (IntegerLimit) GetSchema added in v0.7.0

func (il IntegerLimit) GetSchema() model.RuleFunctionSchema

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

func (IntegerLimit) RunRule added in v0.7.0

func (il IntegerLimit) RunRule(_ []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

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

type JWTBestPractice added in v0.7.0

type JWTBestPractice struct{}

func (JWTBestPractice) GetSchema added in v0.7.0

func (jwt JWTBestPractice) GetSchema() model.RuleFunctionSchema

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

func (JWTBestPractice) RunRule added in v0.7.0

func (jwt JWTBestPractice) RunRule(_ []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

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

type NoAdditionalProperties added in v0.7.0

type NoAdditionalProperties struct{}

func (NoAdditionalProperties) GetSchema added in v0.7.0

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

func (NoAdditionalProperties) RunRule added in v0.7.0

func (na NoAdditionalProperties) RunRule(_ []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

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

type NoApiKeyInUrl added in v0.7.0

type NoApiKeyInUrl struct{}

func (NoApiKeyInUrl) GetSchema added in v0.7.0

func (ak NoApiKeyInUrl) GetSchema() model.RuleFunctionSchema

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

func (NoApiKeyInUrl) RunRule added in v0.7.0

func (ak NoApiKeyInUrl) RunRule(_ []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

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

type NoBasicAuth added in v0.7.0

type NoBasicAuth struct{}

func (NoBasicAuth) GetSchema added in v0.7.0

func (ba NoBasicAuth) GetSchema() model.RuleFunctionSchema

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

func (NoBasicAuth) RunRule added in v0.7.0

func (ba NoBasicAuth) RunRule(_ []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

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

type NoCredentialsInUrl added in v0.7.0

type NoCredentialsInUrl struct{}

func (NoCredentialsInUrl) GetSchema added in v0.7.0

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

func (NoCredentialsInUrl) RunRule added in v0.7.0

func (c NoCredentialsInUrl) RunRule(_ []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

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

type NoNumericIds added in v0.7.0

type NoNumericIds struct{}

func (NoNumericIds) GetSchema added in v0.7.0

func (ni NoNumericIds) GetSchema() model.RuleFunctionSchema

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

func (NoNumericIds) RunRule added in v0.7.0

func (ni NoNumericIds) RunRule(_ []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

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

type RatelimitRetry429 added in v0.7.0

type RatelimitRetry429 struct {
}

func (RatelimitRetry429) GetSchema added in v0.7.0

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

func (RatelimitRetry429) RunRule added in v0.7.0

func (r RatelimitRetry429) RunRule(_ []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

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

type StringLimit added in v0.7.0

type StringLimit struct{}

func (StringLimit) GetSchema added in v0.7.0

func (st StringLimit) GetSchema() model.RuleFunctionSchema

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

func (StringLimit) RunRule added in v0.7.0

func (st StringLimit) RunRule(_ []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

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

type StringRestricted added in v0.7.0

type StringRestricted struct{}

func (StringRestricted) GetSchema added in v0.7.0

func (st StringRestricted) GetSchema() model.RuleFunctionSchema

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

func (StringRestricted) RunRule added in v0.7.0

func (st StringRestricted) RunRule(_ []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult

RunRule will execute the DefineError 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