|
In this example, we are going to create a suppression rule to avoid having a lot of sudo events. You can create this rule whenever you trust the origin host, or because you need to do maintenance. This way you will avoid noise in your list of events.
Note: You can also create your own rules from the Events page, which is an easier way to configure the matching conditions. See Creating Suppression Rules from the Events Page for more information.
To create a suppression rule for avoiding Sudo events
- Go to Settings > Rules.
- Select Create Orchestration Rule > Suppression Rule.
-
Select a Boolean operator.
The options are AND, OR, AND NOT, and OR NOT.
-
Select a packet type in the Match drop-down list.
- Logs: Use this packet type for event-based rules.
- Configuration Issues: Use this packet type for configuration issues-based rules1.
- Vulnerabilities: Use this packet type for vulnerabilities-based rules.
- Alarms: Use this packet type for console user alarms-based rules.
-
Select these property values:
-
(Optional.) Click Add Group to group your conditions.
Note: See Operators in the Orchestration Rules for more information.
-
In the Occurrences text box, enter the number of event occurrences that you want to produce a match on the conditional expression to trigger the rule.
You can enter the number of occurrences or use the arrows to scroll the value up or down. You can enter a number between 1 and 100.
- Click Next.
Important: A dialog box opens if there are warning messages. Click Cancel to review the warning messages, or click Accept to continue creating the rule.
- Enter a name for the rule, (for example, Suppress Sudo Events).
- (Optional.) Enter a description for identifying this rule.
-
In the Length text box, specify the timespan that you want to use to identify a match for multiple occurrences. Enter the number in the text box, and then use the drop-down menu to select a value of seconds, minutes, or hours.
This duration identifies the amount of time that transpires from the beginning to the end of the occurrence. If the number of occurrences is not met within this period, the rule is not a match.
- Click Save.
Note: Your defined length and occurrences function together to specify the number of occurrences within a time period that will produce a match for the rule. For example, you can define a rule to trigger an alarm for an unauthorized access attempt when a failed SSH login occurs three times within a five-minute window.
The suppression rule has been created. You can see it from Settings > Rules. See Suppression Rules from the Orchestration Rules Page for more information.
Important: It takes a few minutes for an orchestration rule to become active.