constants

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: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DetectedMalwareLineWordCount       = 3 // A clam detected malware line should be in the following format: <path> <malware-description> FOUND
	MaxMalwareDescriptionSections      = 3 // In some cases, the malware description includes the platform (i.e: Win.Trojan.Generic-123)
	DetectedMalwarePathPosition        = 0
	DetectedMalwareDescriptionPosition = 1
	LongMalwareTypePosition            = 1
	MalwareDetectedIndication          = "FOUND"        // When a line in a clam scan includes the word "FOUND", it describes a malware detection
	ScanSummaryText                    = "SCAN SUMMARY" // The clam output text that indicates the scan summary
	KnownVirusesField                  = "Known viruses"
	EngineVersionField                 = "Engine version"
	ScannedDirectoriesField            = "Scanned directories"
	ScannedFilesField                  = "Scanned files"
	InfectedFilesField                 = "Infected files"
	DataScannedField                   = "Data scanned"
	DataReadField                      = "Data read"
	TimeTakenField                     = "Time"
	ScanSummaryTextField               = "Scan Summary"
	FieldSeparator                     = ":"
	FreshclamConfPath                  = "/etc/clamav/freshclam.conf"
	PrivateMirrorConf                  = "PrivateMirror"
	ScriptedUpdatesConf                = "ScriptedUpdates"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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