plugins

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled        bool                   `yaml:"enabled" mapstructure:"enabled"`
	ScannersList   []string               `yaml:"scanners_list" mapstructure:"scanners_list"`
	Inputs         []types.Input          `yaml:"inputs" mapstructure:"inputs"`
	ScannersConfig *common.ScannersConfig `yaml:"scanners_config" mapstructure:"scanners_config"`
	BinaryMode     *bool                  `yaml:"binary_mode,omitempty" mapstructure:"binary_mode,omitempty"`
}

type Plugins

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

func New

func New(conf Config) *Plugins

func (*Plugins) GetType

func (p *Plugins) GetType() types.FamilyType

func (*Plugins) Run

type Results

type Results struct {
	Metadata      familiestypes.Metadata        `json:"Metadata"`
	Findings      []apitypes.FindingInfo        `json:"Findings"`
	PluginOutputs map[string]plugintypes.Result `json:"PluginOutputs"`
}

func (*Results) GetTotal

func (r *Results) GetTotal() int

func (*Results) IsResults

func (*Results) IsResults()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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