enrich

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendVulnsToJson

func AppendVulnsToJson(cmdResults *results.SecurityCommandResults) error

func AppendVulnsToXML

func AppendVulnsToXML(cmdResults *results.SecurityCommandResults) error

func FileForEnriching

func FileForEnriching(fileData spec.File, dataHandlerFunc indexFileHandlerFunc) error

Types

type EnrichCommand

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

func NewEnrichCommand

func NewEnrichCommand() *EnrichCommand

func (*EnrichCommand) CommandName

func (enrichCmd *EnrichCommand) CommandName() string

func (*EnrichCommand) Run

func (enrichCmd *EnrichCommand) Run() (err error)

func (*EnrichCommand) ServerDetails

func (enrichCmd *EnrichCommand) ServerDetails() (*config.ServerDetails, error)

func (*EnrichCommand) SetProgress

func (enrichCmd *EnrichCommand) SetProgress(progress ioUtils.ProgressMgr)

func (*EnrichCommand) SetServerDetails

func (enrichCmd *EnrichCommand) SetServerDetails(server *config.ServerDetails) *EnrichCommand

func (*EnrichCommand) SetSpec

func (enrichCmd *EnrichCommand) SetSpec(spec *spec.SpecFiles) *EnrichCommand

func (*EnrichCommand) SetThreads

func (enrichCmd *EnrichCommand) SetThreads(threads int) *EnrichCommand

type FileContext

type FileContext func(string) parallel.TaskFunc

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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