Unknown YCP Module |
|
This module has an unstable interface. |
Imports
Global VariablesGlobal Functions
Local VariablesLocal Functions |
File: modules/OpenvasSecurityScanner.ycp
Package: Configuration of openvas-security-scanner
Summary: OpenvasSecurityScanner settings, input and output functions
Authors: Felix Wolfsteller
$**Id$
Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.
The users choosen feed. Currently one of "No Feed", "Greenbone Security Feed" or "OpenVAS NVT Feed".
Whether or not the user choose to daily synchronize with feed via a cron job.
Sleeping time beetwing progress steps.
Returns whether the /usr/sbin/greenbone-nvt-sync and /etc/openvas/gsf-access-key exist.
- Return value:
-
true if /usr/sbin/greenbone-nvt-sync and /etc/openvas/gsf-access-key exist.
Ask if user really wants to abort
- Return value:
-
true on user intended abort.
Checks whether an Abort button has been pressed. If so, calls function to confirm the abort call.
- Return value:
-
true if abort confirmed
Removes contents of /var/cache/openvas .
- Return value:
-
true.
Removes contents of /usr/lib/openvas/plugins .
- Return value:
-
true.
Checks /var/lib/openvas/users/ for content. If content is found this means a user for openvas exists.
- Return value:
-
true if users were found, false otherwise.
Read all OpenVAS Security Scanner settings
- Return value:
-
true on success
Write all OpenVAS Security Scanner settings.
- Return value:
-
true on success
Disable the openvas service and clean up the cache and plugins directory.
- Return value:
-
true on success
Fetches a NVT Feed.
- Return value:
-
true on success
Fetches a NVT Feed.
- Return value:
-
true on success
Deactivate the GSF.
- Return value:
-
TRUE is not aborted, false otherwise.
Import the Access Key, delete the file.
- Return value:
-
true if greenbone access key import succeeded.
Fetches a NVT Feed.
- Return value:
-
true on success