secrets

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

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         []Input                `yaml:"inputs" mapstructure:"inputs"`
	ScannersConfig *common.ScannersConfig `yaml:"scanners_config" mapstructure:"scanners_config"`
}

type Input

type Input struct {
	Input     string `yaml:"input" mapstructure:"input"`
	InputType string `yaml:"input_type" mapstructure:"input_type"`
}

type MergedResults

type MergedResults struct {
	Results []*common.Results
}

func NewMergedResults

func NewMergedResults() *MergedResults

func (*MergedResults) Merge

func (m *MergedResults) Merge(other *common.Results) *MergedResults

type Results

type Results struct {
	MergedResults *MergedResults `yaml:"merged_results"`
}

func (*Results) IsResults

func (*Results) IsResults()

type Secrets

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

func New

func New(logger *log.Entry, conf Config) *Secrets

func (Secrets) GetType

func (s Secrets) GetType() types.FamilyType

func (Secrets) Run

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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