8.3.2  Registering and Unregistering Rule Sets

You can register a set of rules using the CLI or the web interface.

8.3.2.1  CLI

The syntax for registering and unregistering rule sets is shown here (the first command shown is used to register rule sets and the second command is used to unregister rule sets).

Using the new common syntax:

wsea reg [ruleSet]
wsea unr [ruleSet]

Where ruleSet represents the name or names of the desired knowledge files. If you do not enter any rule set names, all the default rule sets are registered.

Wildcards can be used to specify multiple filenames, as shown in the following examples:

wsea reg ds*
wsea unr ds*

Note


If you are running analysis in the CLI, you will see the changes take effect immediately. However, to run analysis in the web interface, you must stop and restart the Director first (see Sections 3.8 and 3.7).


8.3.2.2  Web Interface

To register or unregister a set of rules using the web interface, do the following:

  1. Click on the Settings button in the toolbar.
  2. Click the Director Settings tab at the bottom of the window.
  3. Click the Register Knowledge button in the navigation frame (Figure 8–1).
Figure 8–1 Rules Files

Click for Larger Image
All the available rule sets are listed with a check box. If the check box is selected the rule set is registered, otherwise it is not registered.
  1. Register or unregister the necessary rule sets.
  1. Click the Update Knowledge Registration button to save your changes.

Note


Changes will not take effect in the web interface for automatic analysis until the analyzer is restarted. This is done by stopping and restarting the Director. These changes will not affect manual analysis jobs already in progress.


  1. Stop and restart the Director to apply the changes (see Sections 3.8 and 3.7).