Create an Event Rule
The Carbon Black App Control console allows you to create an event rule from scratch or by copying the settings of an already existing similar event rule.
- Make sure you are familiar with the settings on the Create Event Rule page. For more information, see Event Rule Fields.
- Make sure you are familiar with the Simulate only option. For information on this Status choice, see Test a Rule before Enabling It.
- Make sure you are familiar with submitting approval requests and resolving approval requests. For more information, see Approval Requests and Justifications.
-
On the console menu, navigate to
the page.
The Event Rules page appears, showing the available rules and their status.
-
Click the Create Rule button.
The Create Event Rule page opens.
-
Optional. If there is an existing event rule similar to the one you want to
create, select that rule from the Copy Settings From
drop-down menu.
Selecting any rule from this menu, prepopulates the page with the fields from the event rule you selected. You must only change the fields that differ from the rule you copied from.
-
Enter a unique name for the rule in the Rule Name field.
If you copied the settings of an existing rule, the default name is the name of the rule followed by (Copy).
- Optional. Populate the Description field with a longer description of the rule.
-
Select one of the following actions in the Status
field.
- Enabled - Actions specified by the rule execute as specified.
- Simulate only - Actions specified by the rule are simulated. Events are generated indicating what the rule does if enabled, but the actions specified are not actually taken.
- Disabled - The rule and its settings are saved but it does not execute or simulate the specified actions.
Important: We recommend you use Simulate only for a new Event rule. -
In the Select Event Properties panel, use the
Add filter drop-down menu to select one or more event
properties.
- At least one Subtype filter must be included.
- Because only file- or computer-related events can be used to trigger an event rule, the selections on this menu are limited accordingly.
- Some file-related properties that appear in events are not included here because they appear on the File Properties menu.
- To use filenames or path names in an Event rule filter, specify them using the Event Properties filter rather than File Properties filter. The Event Property File name matches more of the relevant events than the File Property First seen name.
-
In the Select File Properties panel, use the
Add filter drop-down menu to select one or more file
properties to further refine the conditions under which this rule are
triggered.
Most of the choices here are the same as the fields in the App Control File Catalog, although there are some additional fields. For detailed information about certain choices in this panel, see File and Process Properties in Event Rule Definitions.Note: For both Select File Properties and Select Process Properties, if you select the Extension filter, you must use the file extension without the initial dot. For example, bat, not .bat. Otherwise, the rule does not function properly.
-
In the Select Process Properties panel, use the
Add filter drop-down menu to select one or more
process properties to further refine the conditions under which this rule is
triggered.
Most of the choices are the same as the fields in the App Control File Catalog, although there are some additional fields. For detailed information about certain choices in this panel, see File and Process Properties in Event Rule Definitions.Note: The process to which this configuration choice applies is the parent process of the file referenced in the event or event rule, not the process that appears in the operating system task manager when a file executes.
-
In the Select Action panel, use the
Action drop-down menu to select the action that is
taken when events and files match this rule.
The options that appear on this menu depend upon the permissions of the console user creating or editing the rule. For more details, see User Role Permissions.
-
Select the Resolve Related Approval Request check box to
automatically resolve any approval request for a file if you chose an action
that changes the state of the file.
If you do not check the box, any approval request for the related file are left open until you manually close it. This box has no effect if there is not a related approval request.
- When you complete the rule definition, click Save to remain on the page or click Create & Exit. to create the rule and leave the Create Event Rule page.
Event Rule Fields
The table below lists the fields available on the Create/Edit Event Rule page.
|
Panel:Field |
Description |
|---|---|
|
Copy Settings From: |
Existing rule from which this rule copies its initial settings. If you do not want to copy any settings, leave the default value of (none). |
|
Rule Name |
Name by which this rule is identified. (Required) |
|
Description |
Additional information about the rule. This can be any text you choose to enter. (Optional) |
|
Status |
Radio buttons that determine whether and how this rule is activated:
|
|
Select Event Properties:Add Filter |
The properties of the event that triggers this rule:
|
|
Select File Properties:Add Filter |
File properties to further refine the conditions for triggering this rule. Most of the choices here are the same as the fields in the App Control File Catalog. See File and Process Properties in Event Rule Definitions for detailed information about certain choices in this panel. File properties are not required in an Event Rule. NOTE :If you specify a file property and that property is unavailable, the rule cannot be executed, and events matching the rule are placed in a Pending state until the property becomes available. For example, if you specify that a rule that requires that the Carbon Black File Reputation reputation for a file has a Trust level of 5 or less, if Carbon Black File Reputation is not configured and there is no trust information for the file, the rule will not be executed, even if all other rule specifications are met. This also applies to file prevalence and metadata. |
|
Select Process Properties:Add Filter |
Process properties to further refine the conditions for triggering this rule. Most of the choices here are the same as the fields in the App Control File Catalog. See “ File and Process Properties in Event Rule Definitions for detailed information about certain choices in this panel. Process properties are not required in an Event Rule. If you specify a process property and that property is unavailable, the rule cannot be executed, and events matching the rule are placed in a Pending state until the property becomes available. For example, if you specify that a rule that requires that the Carbon Black File Reputation data for a file shows a Trust level of 5 or less, if Carbon Black File Reputation is not configured and there is no trust information for the file, the rule will not be executed, even if all other rule specifications are met. This also applies to file prevalence and metadata. |
|
Select Action:Action |
The following options appear on the Action menu:
|
|
Resolve Related Approval Request |
When the Action choice for the rule is Change Global file state or Change local file state, this checkbox is displayed. If the box is checked, any approval request related to the file referenced in this file has its status changed to Resolved. |
|
Priority |
When the Action choice for a rule is Upload file or Analyze file, you can set the priority for the upload or analysis to Low, Medium, or High, which determines the order in which the action is taken relative to other upload or analyze requests. Priority can be changed on the Requested Files page once a request is in progress. |
