-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO
121 lines (120 loc) · 3.66 KB
/
TODO
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
7. build cwe
8. fetch, build capec, attack
9. fetch build redhat/api
10. fetch build epel, fedora, gentoo, rocky
11. fetch build library
vuls config.json template
---
{
"scan": {
"ospkg": {
"root": false,
"offline": false
},
"langpkg": {},
"lockfile": {
"find": false,
"path": []
},
"wordpress": {
"root": "",
"path": "",
"user": "",
"doc_root": ""
},
"cpe": [],
"sbom": [],
"port": {
"type": "builtin", // ["builtin", "nmap"]
"nmap": {}
},
"timeout_unit": 300,
"timeout_scan": 7200,
"result_dir": "$PWD/results",
"log_dir": "/var/log/vuls",
"debug": false
},
"detect": {
"path": "path/to/vuls.db",
"cpe": {
"match": "strict", // "strict", "standard", "vendor_product"
},
"result_dir": "$PWD/results",
"log_dir": "/var/log/vuls",
"debug": false
},
"report": {
"stdout": "oneline", // ["oneline", "list", "full"]
"localfile": [
"json",
"xml",
"csv",
"cyclonedx-json",
"cyclonedx-xml"
],
"aws": {},
"gcp": {},
"azure": {},
"syslog": {},
"http": {},
"email": {},
"slack": {},
"chatwork": {},
"googlechat": {},
"telegram": {},
"ignore": {
"cvss-under": 0,
"id": [],
"package": [],
},
"result_dir": "$PWD/results",
"log_dir": "/var/log/vuls",
"debug": false
},
"server": {
"listen": "127.0.0.1:5515",
"path": "path/to/vuls.db",
"scan": {
"compress": "gzip" // ["gzip", "bzip2", "xz"]
},
"detect": {
"compress": "gzip" // ["gzip", "bzip2", "xz"]
},
"report": {
"format": "json", // ["json", "xml", "csv", "cyclonedx-json", "cyclonedx-xml"],
"compress": "gzip" // ["gzip", "bzip2", "xz"]
},
"log_dir": "/var/log/vuls",
"debug": false
},
"hosts": {
"local": {
"type": "local",
},
"remote": {
"type": "remote", // [local, remote, ssh-config, cidr, sbom, docker, lxd, lxc]
"host": "127.0.0.1", // local: none, remote: ip address, ssh-config: host name, cidr: cidr range, sbom: file path, docker: ${running} or container id, name, lxd: ${running} or container id, name , lxc: ${running} or container id, name
"port": "22", // local: none, remote: port, ssh-config: none, cidr: port, sbom: none, docker: none, lxd: none, lxc: none
"user": "vuls", // local: none, remote: required, ssh-config: none, cidr: required, sbom: none, docker: none, lxd: none, lxc: none
"ssh_config": "/home/mainek00n/.ssh/config", // local: none, remote: optional, ssh-config: required, cidr: optional, sbom: none, docker: none, lxd: none, lxc: none
"ssh_key": "/home/mainek00n/.ssh/id_rsa", // local: none, remote: ssh key path, ssh-config: none, cidr: ssh key path, sbom: none, docker: none, lxd: none, lxc: none
"scan": {
"ospkg": {
"root": true
},
"cpe": [
{
"cpe": "",
"running_on": ""
}
]
},
"detect": {
"path": "path/to/vuls.db"
},
"report": {
"stdout": "list"
}
}
}
}