common

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetectedMalware

type DetectedMalware struct {
	MalwareName string `json:"malwareName,omitempty"`
	MalwareType string `json:"malwareType,omitempty"`
	Path        string `json:"path,omitempty"`
	RuleName    string `json:"ruleName,omitempty"`
}

type Results

type Results struct {
	Source      string
	Error       error
	ScannerName string
	Malware     []DetectedMalware
	Summary     *ScanSummary
}

func (*Results) GetError

func (r *Results) GetError() error

type ScanSummary

type ScanSummary struct {
	KnownViruses       int
	EngineVersion      string
	ScannedDirectories int
	ScannedFiles       int
	InfectedFiles      int
	SuspectedFiles     int
	DataScanned        string
	DataRead           string
	TimeTaken          string
}

type ScannersConfig

type ScannersConfig struct {
	Clam clamconfig.Config `yaml:"clam" mapstructure:"clam"`
	Yara yaraconfig.Config `yaml:"yara" mapstructure:"yara"`
}

func (ScannersConfig) IsConfig

func (ScannersConfig) IsConfig()

Jump to

Keyboard shortcuts

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