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