AuditLogKeeperSpacewalkValidator

From CoolSolutionsWiki

Spacewalk Validator Plugin

The spacewalk validator plugin is for checking submitted data sanity. Every time a client submits a yet another message to the Audit Log Keeper, the validator checks if the data is OK to accept, or not.

Limitations

In the current version of Audit Log Keeper all validators are merged together since all the destinations are always same. Therefore all messages that contains data which is valid for any of them will be accepted. Thus if you need to validate several audit objects with different validators to exclude overlapping data accepting either of them and re-routing stream to a different destinations, at the moment please consider running several Audit Log Keeper instances using OpenVZ zones or virtual machines.

Further version of Audit Log Keeper might resolve this issue, although no plan for the implementation yet has been made.

Configuration

Unlike plugins, where each config entry starts with "plugin" prefix, all validators starts with a prefix "validator". Example: validator.<TAG>.<VALUE>. The tagging system is identical to the plugins.

To enable a particular validator, you need to add it to the validator.available list. Example:

   validator.available = foo, bar

This is identical to the plugins with the difference that validators don't needs to be so precisely configured. :-)

Option Description Choices or default value
entry Class of the validator that needs to be loaded during the startup. com.suse.logkeeper.validators.SpacewalkValidator