rules

package
v0.56.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmbeddedLibraryFileSystem embed.FS
View Source
var EmbeddedPolicyFileSystem embed.FS

Functions

func Deregister

func Deregister(rule RegisteredRule)

Types

type RegisteredRule

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

func GetRegistered

func GetRegistered() []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