Class KASPChecker::Checker
In: ../../auditor/lib/kasp_checker.rb
Parent: Object

This class checks the conf.xml and kasp.xml files to make sure that they syntactically valid, and also semantically valid. Any oddities in the configuration are reported to the user.

Methods

Constants

KASP_FILE = "kasp"
CONF_FILE = "conf"

Attributes

conf_file  [RW] 
kasp_file  [RW] 
rng_path  [RW] 
xmllint  [RW] 

Public Instance methods

Load the specified config file and sanity check it. The file should have been validated against the RNG before this method is called. Sets the syslog facility if it is defined. Returns the configured location of the kasp.xml configuration file.

[Validate]