Configuring Triggers
  • 2 minutes to read
  • Print
  • Share
  • Dark
    Light

Configuring Triggers

  • Print
  • Share
  • Dark
    Light

You can execute an Enforcement Set on a saved query or on specific devices or users. Trigger configuration is mandatory if you want to use a saved query. Otherwise, if you want to execute the Enforcement Set on specific devices or users, triggers are optional.

NOTE
To execute an Enforcement Set on specific devices or users: from the Devices or Users screen, select one or more devices/users and create a new enforcement or run an existing one. For more details, see Devices Action and User Actions.

To configure the Enforcement Set Trigger:

  1. From the Enforcement Set page, click the trigger button. The Trigger Configuration drawer is displayed.
    image.png

  2. Select the query type (Devices or Users) and a single Saved Query for the Enforcement Set to act on. This defines which of the entities, devices or users, the Enforcement Set actions will be performed on starting with the Main Action.


    To perform the Main Action only on newly added entities, select the Run on added entities only checkbox. Otherwise, the Main Action will be executed on all query results.

  3. You can configure the Enforcement Set to be executed automatically, under configured scheduling and additional conditions, or manually by the user.
    To set automatic scheduling for the enforcement set:

    1. Click the Enable custom scheduling toggle button.
      • If switched on, the Custom Schedule Settings section is displayed. This section lets you configure a custom scheduling for the Enforcement Set.
      • If switched off, the Enforcement Set will not include any scheduling and therefore can be run only when manually triggered.
    2. From the Repeat Scheduled Run drop-down field, select the schedule type:
      • Every discovery cycle - The Enforcement Set will run at the end of each discovery cycle.
      • Every x days - The Enforcement Set will run every number days defined in the Scheduled run every (days) field at the time specified in Scheduled run time field.
      • Days of week - The Enforcement Set will run in the selected days of week as specified in the Scheduled run day(s) field at the time specified in Scheduled run time field.
      • Days of month - The Enforcement Set will run in the selected days of month as specified in the Scheduled run day(s) field at the time specified in Scheduled run time field.
  4. To detect changes in the query results and add conditions for triggering the Main Action, clcik the Additional Conditions toggle button. Then select at least one of the conditions:

    • New entities were added to results (in comparison to the last time the enforcement set had been executed).
    • Previous entities were subtracted from results (in comparison to the last time the enforcement set had been executed).
    • The number of results is above - specify numeric value. Default value is 1.
    • The number of results is below - specify numeric value. Default value is 1.
      The Enforcement Set will run and will generate a new Enforcement Task only if at least one of the conditions is met.
  5. To save the trigger configuration, click Save.

Was this article helpful?