YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Imports

  • FileUtils
  • Message
  • Popup
  • Progress
  • Report
  • SCR
  • Service
  • Summary

Global Variables

Global Functions

Local Variables

Local Functions

Info:

File: modules/OpenvasSecurityScanner.ycp Package: Configuration of openvas-security-scanner Summary: OpenvasSecurityScanner settings, input and output functions Authors: Felix Wolfsteller

$**Id$

local write_only -> boolean

Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.

global feed_choice -> any

The users choosen feed. Currently one of "No Feed", "Greenbone Security Feed" or "OpenVAS NVT Feed".

global daily_sync -> boolean

Whether or not the user choose to daily synchronize with feed via a cron job.

local sl -> integer

Sleeping time beetwing progress steps.

global IsGSFInstalled () -> boolean

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.
global Abort () -> boolean

Ask if user really wants to abort

Return value:
true on user intended abort.
global PollAbort () -> boolean

Checks whether an Abort button has been pressed. If so, calls function to confirm the abort call.

Return value:
true if abort confirmed
local CleanCache () -> boolean

Removes contents of /var/cache/openvas .

Return value:
true.
local CleanNVTDir () -> boolean

Removes contents of /usr/lib/openvas/plugins .

Return value:
true.
global CheckUserExists () -> boolean

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.
global Read () -> boolean

Read all OpenVAS Security Scanner settings

Return value:
true on success
global Write () -> boolean

Write all OpenVAS Security Scanner settings.

Return value:
true on success
global DisableOpenVAS () -> boolean

Disable the openvas service and clean up the cache and plugins directory.

Return value:
true on success
global FetchFeed () -> boolean

Fetches a NVT Feed.

Return value:
true on success
global SyncWithFeed () -> boolean

Fetches a NVT Feed.

Return value:
true on success
global DeactivateGSF () -> boolean

Deactivate the GSF.

Return value:
TRUE is not aborted, false otherwise.
global ImportGreenboneKey () -> boolean

Import the Access Key, delete the file.

Return value:
true if greenbone access key import succeeded.
global ActivateGSF () -> boolean

Fetches a NVT Feed.

Return value:
true on success