IMPORTANT: This site is planned to be decommissioned in 2026. Visit the Tanium Resource Center for all Tanium release notes, user guides, and support information. To view release notes in the Resource Center, see Tanium Release Notes.
IMPORTANT: If you are using semi-annual releases for on premises, see the Release notes for 2024H1 semiannual release, Release notes for 2024H2 semiannual release, or Release notes for 2025H1 semiannual release on the Tanium Resource Center.
Effective October 15, 2024: On prem release notes on the Tanium Knowledge Base are frozen. For release notes related to 7.4 or 7.5 Server and Solutions, see the Monthly updates for Tanium Version 7.4 and 7.5 Server and Solutions on the Tanium Resource Center.

EnhancedTags 1.0.0.0055

From Tanium Knowledge Base
Jump to navigation Jump to search


Introduction: Enhanced Tags

Enhanced Tags is a solution that supports tagging endpoints by FQDN, hostname, domain, subnet and/or Active Directory OU (for Windows).

Download Location

This content is available at: https://content.tanium.com/files/published/EnhancedTags/2017-06-27_20-10-35_1.0.0.0055-g9e0ee47/EnhancedTags.xml

Usage

         Adding Tags
         1. Create a tag file that has at least one of the evaluation options (FQDN, hostname, domain, subnet, ou).
             - Place it on a URI accessible by the Tanium server.  For testing, you can use the http folder of the tanium server.
             - This tag file should have a header row that has at least one of the evaluation options as well as the other tag names that are to be tagged on the endpoints.
             - Each endpoint should match exactly 1 row in the tag file.  Windows behavior will match the first row and Non-Windows behavior will error.
             - The file format should be validated prior to targeting endpoints with the action in Tanium.
         2. Place the URI into the Whitelisted URLs page found under Administration in the Tanium Console.  
             - Specify a valid Download Interval for your use case (i.e. daily).
             - Note that this must be accessible by the Tanium Server.
         3. Ask "Get Is Windows from all machines" in Interact.
         4. Target either True or false and Deploy an Action.
         5. Enter relevant Action Name ("Enhanced Tags - Add" or "Enhanced Tags - Add [Non Windows]")
             - Category Name is the "parent tag" that encompasses the rest of the tags in the group.
             - Remove Old Tags should be True in most cases.
             - Evaluate Tags By section should have at least 1 check across the presented options (FQDN, hostname, domain, subnet)
             - URI is the URI placed in the Whitelisted URLs page.
             - Delete Tag File will delete the Tag File immediately after executing the action.
         Removing Tags
         1. Ask "Get Is Windows from all machines" in Interact.
         2. Target either True or false and Deploy an Action.
         3. Enter relevant Action Name ("Enhanced Tags - Remove" or "Enhanced Tags - Remove [Non Windows]")
         4. Check Remove All Tag Categories to remove all or enter Pipe-Delimited categories to remove tag categories selectively.
       

Packages

Enhanced Tags - Add

The Enhanced Tags - Add package is used to add Enhanced Tags to Windows endpoints. Best practice is to target via "Is Windows" sensor on the "True" record This package contains 1 files and 0 sensors.

Additional Properties:

  • Command Line: cmd /c cscript //T:1200 add-enhanced-tags.vbs "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" "$10"
  • Command Line Timeout: 1200

Prompts:

Name / Value Prompt Help Type Possible / Default Values
Category Name Text
Remove Old Tags Checkbox Disabled
Tag Separator Text ~=
MISSING_RESOURCE[com.tanium.components.parameters::SeparatorParameter]
FQDN Checkbox Disabled
hostname Checkbox Disabled
domain Checkbox Disabled
subnet Checkbox Disabled
OU Checkbox Disabled
MISSING_RESOURCE[com.tanium.components.parameters::SeparatorParameter]
URI Text
Delete Tag File Checkbox Disabled

Files:

  • add-enhanced-tags.vbs

Enhanced Tags - Add [Non Windows]

The Enhanced Tags - Add [Non Windows] package is used to add Enhanced Tags to Non Windows endpoints. Best practice is to target via "Is Windows" sensor on the "False" record This package contains 1 files and 0 sensors.

Additional Properties:

  • Command Line: /bin/sh EnhancedTagAdd.sh "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"
  • Command Line Timeout: 1200

Prompts:

Name / Value Prompt Help Type Possible / Default Values
Category Name Text
Remove Old Tags Checkbox Disabled
Tag Separator Text ~=
MISSING_RESOURCE[com.tanium.components.parameters::SeparatorParameter]
FQDN Checkbox Disabled
hostname Checkbox Disabled
domain Checkbox Disabled
subnet Checkbox Disabled
MISSING_RESOURCE[com.tanium.components.parameters::SeparatorParameter]
URI Text
Delete Tag File Checkbox Disabled

Files:

  • EnhancedTagAdd.sh

Enhanced Tags - Remove

The Enhanced Tags Remove package is used to remove Enhanced Tags from Windows endpoints. There are 2 parameters that are exclusive to each other, 1 to remove all tag categories and the other to remove specified tag categories (delimited via the pipe). Best practice is to target via "Is Windows" sensor on the "True" record. This package contains 1 files and 0 sensors.

Additional Properties:

  • Command Line: cmd /c cscript //T:60 remove-enhanced-tags.vbs "$1" "$2"
  • Command Line Timeout: 60

Prompts:

Name / Value Prompt Help Type Possible / Default Values
Remove All Tag Categories Checkbox Disabled
Category Pipe Delimited Categories Text

Files:

  • remove-enhanced-tags.vbs

Enhanced Tags - Remove [Non Windows]

The Enhanced Tags Remove [Non Windows] package is used to remove Enhanced Tags from Non Windows endpoints. There are 2 parameters that are exclusive to each other, 1 to remove all tag categories and the other to remove specified tag categories (delimited via the pipe). Best practice is to target via "Is Windows" sensor on the "False" record. This package contains 1 files and 0 sensors.

Additional Properties:

  • Command Line: /bin/sh EnhancedTagRemove.sh "$1" "$2"
  • Command Line Timeout: 60

Prompts:

Name / Value Prompt Help Type Possible / Default Values
Remove All Tag Categories Checkbox Disabled
Category Pipe Delimited Categories Text

Files:

  • EnhancedTagRemove.sh

Sensors

Enhanced Tags

The Enhanced Tags sensor is used to return a list of all tags for a specified category. This will return 2 columns, the tag name as well as the tag value. Returns all Enhanced Tags for a specified Category

Columns

Name Type Description
Tag Name Text
Tag Value Text

Parameters

Name Description Type Possible / Default Values
category Tag Category Name Text

Enhanced Tags Categories

The Enhanced Tags Categories sensor is used to return a list of all the tag categories installed in the environment. Returns a list of Tag Categories

Enhanced Tags - Single Value

The Enhanced Tags - Single Value sensor is used to return the tag value of a specified tag category and name. Returns the value of a single Enhanced Tag given a Tag Category and Tag Name

Parameters

Name Description Type Possible / Default Values
category Tag Category Text
tag_name Tag name Text