Use Active Directory for targeting Tanium Deploy software deployments

Active Directory is a very common way that enterprises use to deploy software to systems.  In this article, we will explain how to leverage that investment in Active Directory groups with Tanium Deploy.

High level overview: How it works

Here are the prerequisites:

  • Import the Active Directory Query solution from Supported Solutions (this was Labs content prior to Feb 2019).If you can’t find or don’t have this, contact your TAM for assistance.

  • The Collect Active Directory Info package has to be deployed to endpoints you wish to query AD.  Most will have this action be configured with a suggested reissue time of 4 hours to keep the inventory data relatively fresh.  If you wish to run this action more often, make sure your Domain

  • Controllers can handle the increased load.

Once AD collection has been run, you can issue the question:

Get AD Query - Computer Group Memberships from all machines with Is Windows contains True

This will return all AD groups on all systems, to make sure that this is working properly for you.

Using Tanium Deploy to target AD groups

  1. After clicking the Deploy button, in the Targeting section, click Add Target.

  2. Select By Targeting Question


    UseActiveDirect_d474e27f-9cb8-4094-a3f1-d4d11e98b183.png

    We’ll use my AD group Chrome Install for this.

  3. Navigate to the Filter Builder to build our targeting question:


    UseActiveDirect_5d082e7d-b720-421e-9cef-b68730b00bd6.png
  4. Click the Plus icon, and then Add Row.

  5. We want to select the sensor AD Query - Computer Has Group Membership (you can’t see the full string), and then contains True.

  6. Then in Groups, make sure to add the full spelling of your group name.

  7. Click Apply and a preview of the results will show.

  8. Click Add if you are satisfied with the results.


    UseActiveDirect_ff380643-1da9-40c3-bf5c-8279b67d1bba.png

In the end, you will see this result with your AD group in it:


UseActiveDirect_8e92a60c-4917-48e7-8550-b4a398c537de.png

You can now add additional groups or delete as you see fit, and continue on with creating your deployment.