1
- # openvasd contains several modes to control the behaviour of it.
1
+ # Openvasd contains several modes to control the behaviour of it.
2
2
# Service enables nasl and notus feed observations all endpoints.
3
3
mode = " service"
4
4
# Notus disables /scan endpoints and just observes the notus feed.
5
5
# mode = "service_notus"
6
6
7
7
[feed ]
8
- # path to the openvas feed. This is required for the /vts endpoint.
8
+ # Path to the openvas feed. This is required for the /vts endpoint.
9
9
path = " /var/lib/openvas/plugins"
10
- # disables or enables the signnature check
10
+ # Disables or enables the signnature check
11
11
signature_check = true
12
12
13
13
[feed .check_interval ]
14
- # how often the feed should be checked for updates
14
+ # How often the feed should be checked for updates
15
15
secs = 3600
16
16
nanos = 0
17
17
18
18
[notus ]
19
- # path to the notus feed. This is required for the /notus endpoint.
19
+ # Path to the notus feed. This is required for the /notus endpoint
20
20
products_path = " /var/lib/notus/products/"
21
- # path to the notus advisories feed. This is required for the /vts endpoint.
21
+ # path to the notus advisories feed. This is required for the /vts endpoint
22
22
advisories_path = " /var/lib/notus/advisories/"
23
23
24
24
[endpoints ]
25
- # enables GET /scans endpoint
25
+ # Enables GET /scans endpoint
26
26
enable_get_scans = true
27
- # if set it requires `x-api-key` header to use the endpoint
27
+ # If set it requires `x-api-key` header to use the endpoint
28
28
key = " mtls_is_preferred"
29
29
30
30
[tls ]
31
- # the server certificate
31
+ # The server certificate
32
32
certs = " /etc/openvasd/tls/server.pem"
33
- # server key
33
+ # Server key
34
34
key = " /var/lib/openvasd/tls/server.rsa"
35
- # dir that contains client certificates. if there are none than every client is
35
+ # dir that contains client certificates. If there are none than every client is
36
36
# allowed to connect otherwise just the clients that have the configured
37
- # client certificates
37
+ # client certificates.
38
38
client_certs = " /etc/openvasd/tls/client"
39
39
40
40
[scanner ]
41
- # Supported types: ospd, openvas, openvasd
42
- type = " ospd"
41
+ # Supported types:
42
+ # "ospd": Old API which will be deprecated soon
43
+ # "openvas": Current C based openvas-scanner
44
+ # "openvasd": New Rust based scanner which is not yet fully implemented
45
+ # If "ospd" is used the ospd related settings have to be set.
46
+ # If "openvas" is selected the [storage] option has to be set to "redis".
47
+ type = " openvas"
43
48
44
49
[scanner .ospd ]
45
- # path to the unix socket of ospd-openvas
50
+ # Path to the unix socket of ospd-openvas
46
51
socket = " /var/run/ospd/ospd.sock"
47
52
48
53
[scanner .ospd .read_timeout ]
49
54
# Max time openvasd waits for an ospd-openvas response before
50
55
# returning a 500 code (Internal server error). Using the config
51
- # file, it can be set in seconds and nanoseconds
56
+ # file, it can be set in seconds and nanoseconds.
52
57
secs = 1
53
58
nanos = 0
54
59
@@ -69,13 +74,13 @@ level = "INFO"
69
74
# can be either fs (file system), redis or inmemory (in memory).
70
75
# If it is set to fs is highly recommended to set `STORAGE_KEY` in the env variable.
71
76
# WARNING: if the type is set to fs and no encryption key is set then the data is stored unencrypted.
72
- # As long as legacy openvas is required redis is recommended
77
+ # "redis" has to be chosen if the "openvas" scanner type is set.
73
78
# type = "fs"
74
- # type = "redis"
75
- type = " inmemory"
79
+ type = " redis"
80
+ # type = "inmemory"
76
81
77
82
[storage .redis ]
78
- # set the redis url. When socket is used it has to start with `unix://`
83
+ # Set the redis url. When socket is used it has to start with `unix://`
79
84
# if a username and password is required it also needs to set in the url:
80
85
# redis://user:pass@localhost:6379
81
86
url = " redis://localhost:6379"
0 commit comments