owasp

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 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) GetCategory added in v0.10.0

func (ad AdditionalPropertiesConstrained) GetCategory() string

GetCategory returns the category of the DefineError rule.

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) GetCategory added in v0.10.0

func (ar ArrayLimit) GetCategory() string

GetCategory returns the category of the ArrayLimit rule.

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) GetCategory added in v0.10.0

func (is AuthInsecureSchemes) GetCategory() string

GetCategory returns the category of the AuthInsecureSchemes rule.

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) GetCategory added in v0.10.0

func (er CheckErrorResponse) GetCategory() string

GetCategory returns the category of the CheckErrorResponse rule.

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) GetCategory added in v0.10.0

func (cd CheckSecurity) GetCategory() string

GetCategory returns the category of the CheckSecurity rule.

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) GetCategory added in v0.10.0

func (cd DefineErrorDefinition) GetCategory() string

GetCategory returns the category of the DefineErrorDefinition rule.

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) GetCategory added in v0.10.0

func (cd HeaderDefinition) GetCategory() string

GetCategory returns the category of the HeaderDefinition rule.

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) GetCategory added in v0.10.0

func (hh HostsHttps) GetCategory() string

GetCategory returns the category of the HostsHttps rule.

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) GetCategory added in v0.10.0

func (i IntegerFormat) GetCategory() string

GetCategory returns the category of the IntegerFormat rule.

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) GetCategory added in v0.10.0

func (il IntegerLimit) GetCategory() string

GetCategory returns the category of the IntegerLimit rule.

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) GetCategory added in v0.10.0

func (jwt JWTBestPractice) GetCategory() string

GetCategory returns the category of the JWTBestPractice rule.

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) GetCategory added in v0.10.0

func (na NoAdditionalProperties) GetCategory() string

GetCategory returns the category of the NoAdditionalProperties rule.

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) GetCategory added in v0.10.0

func (ak NoApiKeyInUrl) GetCategory() string

GetCategory returns the category of the NoApiKeyInUrl rule.

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) GetCategory added in v0.10.0

func (ba NoBasicAuth) GetCategory() string

GetCategory returns the category of the NoBasicAuth rule.

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) GetCategory added in v0.10.0

func (c NoCredentialsInUrl) GetCategory() string

GetCategory returns the category of the NoCredentialsInUrl rule.

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) GetCategory added in v0.10.0

func (ni NoNumericIds) GetCategory() string

GetCategory returns the category of the NoNumericIds rule.

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) GetCategory added in v0.10.0

func (r RatelimitRetry429) GetCategory() string

GetCategory returns the category of the RatelimitRetry429 rule.

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) GetCategory added in v0.10.0

func (st StringLimit) GetCategory() string

GetCategory returns the category of the StringLimit rule.

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) GetCategory added in v0.10.0

func (st StringRestricted) GetCategory() string

GetCategory returns the category of the StringRestricted rule.

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