Skip to content

Commit 57a86a1

Browse files
Add: Make openvas-scanner option visible for the client (#784) (#791)
* Make openvas-scanner option visible for the client Now, the client can see the option "test_alive_wait_timeout" * Update test (cherry picked from commit 0e21f72) Co-authored-by: Juan José Nicola <juan.nicola@greenbone.net>
1 parent 817e8b9 commit 57a86a1

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

ospd_openvas/daemon.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,17 @@
318318
+ 'significantly.'
319319
),
320320
},
321+
'test_alive_wait_timeout': {
322+
'type': 'integer',
323+
'name': 'test_alive_wait_timeout',
324+
'default': 1,
325+
'mandatory': 0,
326+
'visible_for_client': True,
327+
'description': (
328+
'This is the default timeout to wait for replies after last '
329+
+ 'packet was sent.'
330+
),
331+
},
321332
'hosts_allow': {
322333
'type': 'string',
323334
'name': 'hosts_allow',

tests/test_daemon.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,17 @@
272272
+ 'significantly.'
273273
),
274274
},
275+
'test_alive_wait_timeout': {
276+
'type': 'integer',
277+
'name': 'test_alive_wait_timeout',
278+
'default': 1,
279+
'mandatory': 0,
280+
'visible_for_client': True,
281+
'description': (
282+
'This is the default timeout to wait for replies after last '
283+
+ 'packet was sent.'
284+
),
285+
},
275286
'hosts_allow': {
276287
'type': 'string',
277288
'name': 'hosts_allow',

0 commit comments

Comments
 (0)