How to use trigger conditions and remediation tasks in Engage

Overview

Tanium Engage offers an extremely powerful and extensible method of targeting self-remediation survey workflows to endpoints. This article discusses the different components involved in building these workflows and provides an example walkthrough.

Some example workflows:

  • Target based on a problematic performance metric

    • Low performance score

    • Performance events

    • Performance process metric sensors

  • Compliance and vulnerability issues

  • Installed application version

  • Application usage (sourced from Asset SIU)

  • System Uptime

The Tanium XEM Platform unlocks the art of the possible with trigger based remediations, we’ve just scratched the surface with this list of examples!

Background

Engage surveys use trigger conditions and remediation tasks together to provide a workflow capable of finding complex endpoint problems and empowering users to resolve those problems without getting the IT help desk involved.

Trigger Conditions

Under the hood, Engage trigger conditions are Tanium Platform sensors. Trigger conditions are used to target surveys to endpoints that match a specified condition. The trigger returns a Boolean true/false value. If the trigger returns True, the survey notification will be displayed to the interactive user that is logged on to the endpoint. You build trigger conditions with the same filter builder component that is in Tanium Interact.

Here are a few notable items on trigger conditions:

  • Trigger conditions can contain multiple conditions (sensors) that can be combined using and/or expressions, just like building a filter when asking a question in Interact.

  • Trigger conditions are combined with survey computer group targeting using AND logic.

  • Trigger conditions are re-evaluated based on the largest max age of any sensor used. If the trigger condition re-evaluates as True, users will see the survey notification more than once.

  • Trigger conditions are optional. If no trigger condition is specified, that survey notification will go out to all endpoints in the target computer groups.

Learn more about trigger conditions in the Tanium Engage User Guide .

Remediation Tasks

Like trigger conditions, remediation tasks in Engage are also based off a Tanium Platform component – packages. Remediation tasks are created from platform packages, any Tanium package (that is not sensor-sourced) can be used as an Engage remediation task.

Here are a few notable items on remediations:

  • A remediation can be either a link or a task.

  • A survey that contains task remediations must use a trigger condition.

  • A survey can only contain one survey question that has associated task remediations.

  • A survey question can contain multiple remediations.

  • A task remediation runs under SYSTEM context by default. Task remediations can also be configured to run in the survey participants’ user context.

Learn more about task remediations in the Tanium Engage User GuideNo Content found for /db/organizations/tanium/repositories/master/content/documents/userguides/engage/remediation.html?cloud=true .

Building a Remediation Survey

Surveys can be used to perform a multitude of tasks, whether it be gathering user sentiment on the latest business application that was deployed or providing endpoint users with custom self-remediations.

Let’s walk through building an example workflow that will target Windows workstations that haven’t been rebooted in over seven days.

Create a Survey Question

  1. In the Engage workbench, go to Survey Question Templates > Create Question Template.


    A screenshot of a computer Description automatically generated
  2. Create a new survey question with the following settings:

    Overview

    Name

    Question Category

    Reboot Suggested

    IT Hygiene

    Survey Question

    Question Text

    Additional Description

    Your machine has been running for an extended period of time which could impact performance. Would you like to reboot now?

    Use this survey question to issue a reboot remediation task.

    Answer

    Answer Type

    Multiple Choice (Select One)

    Choices (1)

    Text to Display

    Yes

    Remediation

    Task

    Task to Issue

    Restart Endpoint

    Choices (2)

    Text to Display

    No


How_to_use_trigger_conditions_1
Note:

Remediation tasks get attached to a specific question response.

Add Question to Survey

Now that we have our survey question created, let's add that question to a survey for deployment.

  1. From the Reboot Suggested question that was previously created select Create Survey With Question.
    How_to_use_trigger_conditions_2
  2. Create a new survey with the following settings:

    Overview

    Survey Title

    Description

    Reboot Suggested

    Target this survey to endpoints that that not been rebooted in the last seven days.

    Trigger Conditions

    Sensor

    Filter

    Uptime

    Is greater than 7 days

    Minimum time between survey notifications

    1 Day

    Survey Questions

    Question (1)

    Reboot Suggested


    A screenshot of a computer Description automatically generated
     
  3. Click Save and Schedule Run.


    A screenshot of a computer Description automatically generated
  4. In this example we want a survey campaign that will:

    1. Start immediately and run for one week.

    2. Target all windows workstations.

    3. Allow the end user to postpone the survey.

      To create the campaign, create a survey run with the following settings:

      Schedule

      Schedule Type

      Start Time

      One-Time

      Set this to a time slightly in the past

      End Time

      One week in the future

      Endpoints to target

      Computer Group(s)

      All Windows Workstations

      Options

      Allow user to postpone survey (selected)

      1 Hour


      A screenshot of a survey Description automatically generated
  5. Click Run Survey.

Awesome! We now have our remediation survey created, scheduled, and targeted to endpoints that match the specified trigger condition. Note: Even though we targeted the All Windows Workstations computer group, only those endpoints that match the trigger condition will actually receive the survey.

Notification Behavior

The survey notification is displayed to targeted endpoints when the following conditions are met:

  • Survey start time has elapsed.

  • The defined trigger condition is true.

  • An interactive user is logged on.

  • The survey is not in the Minimum time between survey notifications window.

  • The endpoint is not in the global cooldown period. The global cool down is a 30-minute period that starts after any survey notification has been displayed. No survey notifications are displayed during this period.

Let’s take a look at the end user experience after all the conditions are true.

  1. The survey toast notification is displayed in the lower right corner. In this example, the user can dismiss the notification or open the End User Self Service (EUSS) portal.


    A screenshot of a computer Description automatically generated
  2. If the user clicks Open Portal, the survey question will be displayed in the IT Messages section of EUSS. The user chooses the question response that has the associated remediation task associated. After the user selects that option and clicks Submit, the remediation action will start.


    A screenshot of a computer Description automatically generated

Conclusion

Engage remediation survey workflows are flexible, extensible, and easy to create. They can be built using sensors (trigger conditions) and packages (remediation tasks) that are inherently available in the Tanium platform. This provides value to organizations by:

  • Increasing employee productivity and satisfaction by resolving issues before they happen.

  • Reducing helpdesk ticket volume, allowing them to focus on more important issues.

  • Providing customizable remediations that meet a wide variety of use cases.

References

DEX Tanium Tech Talk

Introducing Tanium DEX

What’s New in Engage – August 2023

Tanium Products: Engage

Official DocumentationNo Content found for /db/organizations/tanium/repositories/master/content/documents/userguides/engage/index.html?cloud=true

Engage Datasheet

Release Notes