rules

package
v0.88.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deregister

func Deregister(rule RegisteredRule)

func Reset added in v0.69.0

func Reset()

Types

type RegisteredRule

type RegisteredRule struct {
	// contains filtered or unexported fields
}

func GetFrameworkRules added in v0.69.0

func GetFrameworkRules(fw ...framework.Framework) []RegisteredRule

func GetSpecRules added in v0.82.5

func GetSpecRules(spec string) []RegisteredRule

func Register

func Register(rule scan.Rule, f scan.CheckFunc) RegisteredRule
func (r *RegisteredRule) AddLink(link string)

func (RegisteredRule) Evaluate

func (r RegisteredRule) Evaluate(s *state.State) scan.Results

func (RegisteredRule) HasLogic

func (r RegisteredRule) HasLogic() bool

func (RegisteredRule) Rule

func (r RegisteredRule) Rule() scan.Rule

Jump to

Keyboard shortcuts

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