Documentation ¶
Index ¶
- type AssetScanID
- type ConsolePresenter
- type ConsoleWriter
- type DefaultPresenter
- func (p *DefaultPresenter) ExportExploitsResult(_ context.Context, res families.FamilyResult) error
- func (p *DefaultPresenter) ExportFamilyResult(ctx context.Context, res families.FamilyResult) error
- func (p *DefaultPresenter) ExportInfoFinderResult(_ context.Context, res families.FamilyResult) error
- func (p *DefaultPresenter) ExportMalwareResult(_ context.Context, res families.FamilyResult) error
- func (p *DefaultPresenter) ExportMisconfigurationResult(context.Context, families.FamilyResult) error
- func (p *DefaultPresenter) ExportRootkitResult(_ context.Context, res families.FamilyResult) error
- func (p *DefaultPresenter) ExportSbomResult(_ context.Context, res families.FamilyResult) error
- func (p *DefaultPresenter) ExportSecretsResult(_ context.Context, res families.FamilyResult) error
- func (p *DefaultPresenter) ExportVulResult(_ context.Context, res families.FamilyResult) error
- type FilePresenter
- type FileWriter
- type MultiPresenter
- type Presenter
- type VMClarityPresenter
- func (v *VMClarityPresenter) ExportExploitsResult(ctx context.Context, res families.FamilyResult) error
- func (v *VMClarityPresenter) ExportFamilyResult(ctx context.Context, res families.FamilyResult) error
- func (v *VMClarityPresenter) ExportInfoFinderResult(ctx context.Context, res families.FamilyResult) error
- func (v *VMClarityPresenter) ExportMalwareResult(ctx context.Context, res families.FamilyResult) error
- func (v *VMClarityPresenter) ExportMisconfigurationResult(ctx context.Context, res families.FamilyResult) error
- func (v *VMClarityPresenter) ExportRootkitResult(ctx context.Context, res families.FamilyResult) error
- func (v *VMClarityPresenter) ExportSbomResult(ctx context.Context, res families.FamilyResult) error
- func (v *VMClarityPresenter) ExportSecretsResult(ctx context.Context, res families.FamilyResult) error
- func (v *VMClarityPresenter) ExportVulResult(ctx context.Context, res families.FamilyResult) error
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetScanID ¶
type AssetScanID = models.AssetScanID
type ConsolePresenter ¶
type ConsolePresenter struct {
*DefaultPresenter
}
func NewConsolePresenter ¶
func NewConsolePresenter(output io.Writer, FamiliesConfig *families.Config) *ConsolePresenter
type ConsoleWriter ¶
type DefaultPresenter ¶
func (*DefaultPresenter) ExportExploitsResult ¶
func (p *DefaultPresenter) ExportExploitsResult(_ context.Context, res families.FamilyResult) error
func (*DefaultPresenter) ExportFamilyResult ¶
func (p *DefaultPresenter) ExportFamilyResult(ctx context.Context, res families.FamilyResult) error
func (*DefaultPresenter) ExportInfoFinderResult ¶
func (p *DefaultPresenter) ExportInfoFinderResult(_ context.Context, res families.FamilyResult) error
func (*DefaultPresenter) ExportMalwareResult ¶
func (p *DefaultPresenter) ExportMalwareResult(_ context.Context, res families.FamilyResult) error
func (*DefaultPresenter) ExportMisconfigurationResult ¶
func (p *DefaultPresenter) ExportMisconfigurationResult(context.Context, families.FamilyResult) error
func (*DefaultPresenter) ExportRootkitResult ¶
func (p *DefaultPresenter) ExportRootkitResult(_ context.Context, res families.FamilyResult) error
func (*DefaultPresenter) ExportSbomResult ¶
func (p *DefaultPresenter) ExportSbomResult(_ context.Context, res families.FamilyResult) error
func (*DefaultPresenter) ExportSecretsResult ¶
func (p *DefaultPresenter) ExportSecretsResult(_ context.Context, res families.FamilyResult) error
func (*DefaultPresenter) ExportVulResult ¶
func (p *DefaultPresenter) ExportVulResult(_ context.Context, res families.FamilyResult) error
type FilePresenter ¶
type FilePresenter struct {
*DefaultPresenter
}
func NewFilePresenter ¶
func NewFilePresenter(path string, FamiliesConfig *families.Config) *FilePresenter
type FileWriter ¶
type FileWriter struct {
Path string
}
type MultiPresenter ¶
type MultiPresenter struct {
Presenters []Presenter
}
func (*MultiPresenter) ExportFamilyResult ¶
func (m *MultiPresenter) ExportFamilyResult(ctx context.Context, res families.FamilyResult) error
type Presenter ¶
type Presenter interface {
ExportFamilyResult(ctx context.Context, res families.FamilyResult) error
}
type VMClarityPresenter ¶
type VMClarityPresenter struct {
// contains filtered or unexported fields
}
func NewVMClarityPresenter ¶
func NewVMClarityPresenter(client *backendclient.BackendClient, id AssetScanID) (*VMClarityPresenter, error)
func (*VMClarityPresenter) ExportExploitsResult ¶
func (v *VMClarityPresenter) ExportExploitsResult(ctx context.Context, res families.FamilyResult) error
func (*VMClarityPresenter) ExportFamilyResult ¶
func (v *VMClarityPresenter) ExportFamilyResult(ctx context.Context, res families.FamilyResult) error
func (*VMClarityPresenter) ExportInfoFinderResult ¶
func (v *VMClarityPresenter) ExportInfoFinderResult(ctx context.Context, res families.FamilyResult) error
func (*VMClarityPresenter) ExportMalwareResult ¶
func (v *VMClarityPresenter) ExportMalwareResult(ctx context.Context, res families.FamilyResult) error
func (*VMClarityPresenter) ExportMisconfigurationResult ¶
func (v *VMClarityPresenter) ExportMisconfigurationResult(ctx context.Context, res families.FamilyResult) error
func (*VMClarityPresenter) ExportRootkitResult ¶
func (v *VMClarityPresenter) ExportRootkitResult(ctx context.Context, res families.FamilyResult) error
func (*VMClarityPresenter) ExportSbomResult ¶
func (v *VMClarityPresenter) ExportSbomResult(ctx context.Context, res families.FamilyResult) error
func (*VMClarityPresenter) ExportSecretsResult ¶
func (v *VMClarityPresenter) ExportSecretsResult(ctx context.Context, res families.FamilyResult) error
func (*VMClarityPresenter) ExportVulResult ¶
func (v *VMClarityPresenter) ExportVulResult(ctx context.Context, res families.FamilyResult) error
Click to show internal directories.
Click to hide internal directories.