Documentation ¶
Index ¶
- func AppendVulnsToJson(cmdResults *results.SecurityCommandResults) error
- func AppendVulnsToXML(cmdResults *results.SecurityCommandResults) error
- func FileForEnriching(fileData spec.File, dataHandlerFunc indexFileHandlerFunc) error
- type EnrichCommand
- func (enrichCmd *EnrichCommand) CommandName() string
- func (enrichCmd *EnrichCommand) Run() (err error)
- func (enrichCmd *EnrichCommand) ServerDetails() (*config.ServerDetails, error)
- func (enrichCmd *EnrichCommand) SetProgress(progress ioUtils.ProgressMgr)
- func (enrichCmd *EnrichCommand) SetServerDetails(server *config.ServerDetails) *EnrichCommand
- func (enrichCmd *EnrichCommand) SetSpec(spec *spec.SpecFiles) *EnrichCommand
- func (enrichCmd *EnrichCommand) SetThreads(threads int) *EnrichCommand
- type FileContext
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 ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.