Skip to main content

Actions Tab

The Actions tab is for configuring various responses, or event consumers, to the event data a policy captures.

Template – Actions tab

The following types of actions are available:

  • Send to Events DB – Logs events to the event database for reporting, using the built-in database event consumer

  • Send to SIEM – Sends formatted messages to a SIEM server as configured in a profile

  • Send to Netwrix Threat Manager – Sends data for this policy to Netwrix Threat Manager, formerly StealthDEFEND

  • Email Notifications – Sends formatted email notifications to the selected message profile

  • Add Custom Scripts

    • File Actions – Records the events to a log (text) file in XML or Comma Delimited (CSV) format
    • .NET Script Actions – Runs a user‐supplied script that implements an automated action in response to the event. Scripts can be written in Visual Basic or C#
    • PowerShell 4.0 Actions – Runs a user-supplied PowerShell script that implements an automated action in response to the event

Multiple event consumers can be configured for a single policy, even multiple event consumers of the same type. However, only one database event consumer can be added per policy.

Actions are configured to run on a separate thread from the policy’s event processing thread. Incoming events have a dedicated thread/queue for processing. Email notification has a dedicated thread/queue for processing. Custom Script actions has a dedicated thread/queue for processing. This allows the action to process without blocking new events from going into the database while the action completes.

You can enable or disable an action in any of the following ways:

  • Check or uncheck the Enabled checkbox for an action in the Action Configurations list
  • Select an action in the Action Configurations list to view its details on the Actions tab. You can check or uncheck the Enabled checkbox for the action here.

Save all changes made to a policy or a template before leaving the configuration interface.

Send to Events DB

This is the primary action and is enabled by default in new policies. It saves event data that a policy monitors and captures to the NVMonitorData database. Netwrix Support typically disables this option only during troubleshooting sessions or when you want output only as a file for an alert. Reporting uses the events database.

Send to SIEM

To add this action, select a SIEM profile from the dropdown menu to receive the SIEM notifications. Only SIEM profiles you've already created are available for selection. You can also assign this action on the SIEM Tab of the System Alerting Window.

All notifications sent to SIEM are also displayed on the SIEM Output Viewer window.

note

To enable this feature, a Threat Prevention administrator must first establish a connection with the SIEM server and configure the mapping file through the System Alerting Window.

Send to Netwrix Threat Manager

This action can be checked to send event data for the policy to Netwrix Threat Manager. This is specific to integration with a full version deployment of Netwrix Threat Manager. The Netwrix Threat Manager Reporting Module uses the NVMonitorData database (Send to Events DB option) for reporting purposes.

note

To enable this feature, the Web Request Action Module (Netwrix Threat Manager URI) must be created and configured by a Threat Prevention administrator through the Event Sink Tab on the Netwrix Threat Manager Configuration window.

Email Notifications

warning

Email notifications shouldn't be used on highly active policies. Reserve this feature for policies where immediate notification of an event is needed.

To enable email notifications, select the message profile you want from the dropdown menu to receive the email notifications. Only message profiles you've already created are available for selection. You can also assign this action on the System Alerting Window.

Actions tab - Email Notifications section

Enable the Email Notifications checkbox, select a message profile and then choose to enable the Prevent Repeat Emails by option. If enabled:

  • Select the radio button for either Policy or Subject:

    • Policy – Threat Prevention will send an email notification for the first event only, and skip notifications for any other events captured by the same policy during the duration you specify in the boxes below.
    • Subject – Threat Prevention sends an email notification (for example, Notification1) for the first event only, and skips notifications for any other events with the same subject line. It skips sending notifications for the duration you specify in the boxes below. The subject line is configured within the message profile.
  • Set the duration (in minutes or hours) for which emails notifications are skipped after an email is sent for a policy/subject line.

Example:

In the following example, let’s assume you have the following settings for Prevent Repeat Emails by:

  • Option selected: Policy
  • Duration set: 5 minutes

When Threat Prevention captures 15 events in 5 minutes against a policy, it sends an email notification in real time for the first event only. The system logs the remaining events in the application but doesn't generate email notifications.

Two hours later, when another event occurs against that same policy, Threat Prevention sends an email notification. If more events occur within the next five minutes, email notifications don't generate.

note

To enable email notifications, the SMTP gateway must first be configured and message profiles created by a Threat Prevention  administrator, which is done through the System Alerting Window.

Custom Scripts

In the Actions Configurations area at the top of the tab, assigned File, .NET Script, or PowerShell 4.0 actions are listed with their name, type, description, and whether they are enabled or disabled.

  • Click Add (+) to open the Add Action window. Choose the type of action and configure the script.
  • Use the Remove (x) button to delete a custom script action from a policy.

See the following topics for additional information:

note

There are custom scripts created by Netwrix Engineers that execute the notification emails. See the Custom Scripts topic for additional information.