option.go 565 Bytes
Newer Older
“李磊”'s avatar
“李磊” committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package option

var (
	Fadvise           bool
	ScanFileSizeLimit = int64(5 * 1024 * 1024)
	ContainerEngine   string // agent透传启动参数运行时
)

const (
	NamespacePrefix = "/dosec"
	PProfPrefix     = "/pprof"
)

// 运行时名
const (
	Docker     = "docker"
	Containerd = "containerd"
	Podman     = "podman"
)

var (
	HostPrefix                     = "/host"
	EnableYaraCatchException       = true // yara检测自动捕获异常信号
	ScanImageLayerFileFeatureLimit = 0    // 0为不受控制
	HostProc                       = HostPrefix + "/proc/"
)