YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Imports

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

Global Functions

Local Variables

Local Functions

Info:

File: modules/AuditLaf.ycp Package: Configuration of audit-laf Summary: AuditLaf settings, input and output functions Authors: Gabriele Mohr

local modified -> boolean

Data was modified?

local proposal_valid -> boolean

local rules_file -> string

Filename (path) rules file

local config_file -> string

Filename (path) config file

local write_only -> boolean

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

global GetRulesFile () -> string

Return rules file path

global Modified () -> boolean

Data was modified?

Return value:
true if modified
global SetModified (boolean value) -> void

Mark as modified, for Autoyast.

Parameters:
value
global WriteOnly () -> boolean

Return value:
true if module is marked as "write only" (don't start services etc...)
global SetWriteOnly (boolean value) -> void

Set write_only flag (for autoinstalation).

Parameters:
value
global Abort () -> boolean

Returns a confirmation popup dialog whether user wants to really 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 SETTINGS -> map <string, string >

map of audit settings (from /etc/audit/auditd.conf)

local DEFAULT_CONFIG -> map <string, string >

default settings for /etc/audit/auditd.conf

local RULES -> string

Rules for the subsystem audit (passed via auditctl). Initially read from /etc/audit/audit.rules and edited in the rules editor.

local INITIAL_RULES -> string

Save rules from /etc/audit/audit.rules to be able to restore it

global GetAuditdOption (string key) -> string

Get value of given option from SEETINGS

Parameters:
key
global SetAuditdOption (string key, string value) -> boolean

Set option to given value in SETTINGS

Parameters:
key
value
global GetRules () -> string

Get the current rules

local ReadAuditRules () -> boolean

Read rules from audit.rules

local WriteAuditRules () -> boolean

Write rules to audit.rules

local ReadAuditdSettings () -> boolean

Read settings from auditd.conf

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

Read all auditd settings

Return value:
true on success
local WriteAuditdSettings () -> boolean

Write settings to auditd.conf

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

Write all auditd settings

Return value:
true on success
global Import (map settings) -> boolean

Get all audit settings from the first parameter (For use by autoinstallation.)

Parameters:
settings The YCP structure to be imported.
Return value:
True on success
global Export () -> map

Dump the auditd settings and the rules to a single map (For use by autoinstallation.)

Return value:
Dumped settings (later acceptable by Import ())
global Summary () -> string

Create a textual summary and a list of unconfigured cards

Return value:
summary of the current configuration
global Overview () -> list

Create an overview table with all configured cards

Return value:
table items
global AutoPackages () -> map

Return packages needed to be installed and removed during Autoinstallation to insure module has all needed software installed.

Return value:
with 2 lists.