This command modifies the specified attributes of an an existing rule. Omitted arguments preserve current values.
Table 12–7 Arguments and Result for the rule.mod Command
Argument/Result |
Syntax |
Description |
|
---|---|---|---|
ID |
[R] |
RuleID |
The rule ID |
n |
[O] |
String |
The rule name |
d |
[O] |
String |
The rule description |
tf |
[O] |
CriteriaShorthand |
The rule event type filter |
mf |
[O] |
String |
The rule message filter |
haf |
[O] |
HostIDArray |
The rule hosts filter |
hsf |
[O] |
HostSetID |
The rule host set filter |
sf |
[O] |
String |
The rule severity filter |
ea |
[O] |
String |
The email address to notify |
result |
RuleMetaData |
The modified rule |