Configuring Software Management in ServiceNow

After you install the Software Management application, perform the following tasks to configure the application:

  1. Create a cross scope privilege
  2. Configure a Tanium server instance.
  3. (Optional) Configure maintenance window override.
  4. Create software catalog items.

Create a cross scope privilege

You must create a cross scope privilege between the Client Software Distribution 2.0 scope and the CSD 2.0 for Tanium scope in ServiceNow to enable Software Management functionality.

  1. Click Application Scope servicenow_scope in the ServiceNow header, click Application Scope: [current scope] and select Client Software Distribution 2.0 as the application scope.
    Figure 1. Csd2 Application Scope
    csd2-application-scope
  2. Go to All > System Applications > Application Cross-Scope Access.
  3. Ensure that a cross scope privilege does not already exist with a Source Scope of Client Software Distribution 2.0 and a Target Scope of CSD 2.0 for Tanium.
  4. Click New.

    The new cross scope privilege should have the Source Scope prepopulated with the Client Software Distribution 2.0 scope that you selected as the application scope.

    Important: Do not create a cross scope privilege for Software Management with Global as the source scope.
  5. For Target Scope, select CSD 2.0 for Tanium.
  6. For Target Name, enter x_taniu_taniumcsd2_sw_config.
  7. For Target Type, select Table.
  8. For Operation, select Read.
  9. For Status, select Requested.
    Figure 2. Cross Scope Privilege Config
    cross-scope-privilege-config
  10. Click Submit.
  11. On the Cross scope privileges page, locate the cross scope privilege you just created, and in the Status column, select Allowed.
    Note: If a ServiceNow administrator in your organization is designated to review cross scope privileges, have that individual review the privilege and perform this step.
    Figure 3. Cross Scope Privilege List
    cross-scope-privilege-list

(On-premises Tanium environments only) Add the Software Management MID server capability

If your ServiceNow instance uses a management, instrumentation, and discovery (MID) server to connect to your on-premises Tanium environment, add the Software Management capability to the MID server. For more information about MID servers, see Infrastructure.

  1. Go to All > MID Server > Capabilities, click TaniumCSD2, and then click Edit.
  2. From the Collection list, select the MID servers that you use to communicate with Tanium, click > to move those servers to the TaniumCSD2 MID Servers List, and then click Save.

Configure a Tanium server instance

Configure a Tanium Server instance to enable your ServiceNow instance to connect with your Tanium environment.

Collect information for your Tanium Server instance

Perform the following tasks before you configure system properties for Tanium SDK.

Determine the URLs for API Endpoints

Find the fully qualified domain name (FQDN) or IP address of your Tanium Cloud service instance or your on-premises Tanium Server to determine the URL for the Tanium API endpoint. For example, https://tanium.mycompany.com.

For Tanium Cloud, append -api to the end of the subdomain of your Tanium Cloud URL. For example, if the FQDN is mycompany.cloud.tanium.com, the endpoint URL is https://mycompany-api.cloud.tanium.com.

Determine the API token value

Access the file where you store the API token for the Software Management integration. For more information, see Creating API tokens for ServiceNow.

Determine the computer group ID for deployments

If you want to use a computer group other than All Computers to limit the endpoints that software deployments can target, determine the ID of the computer group in Tanium Console. Go to Administration > Permissions > Computer Groups, locate the desired computer group, and then record the ID. If you select a computer group other than All Computers, you can target only the endpoints in that group for software deployments from Software Management in ServiceNow.

Create a server instance in ServiceNow

Create the server instance using the information you collected in Collect information for your Tanium Server instance.

  1. In ServiceNow, go to All > CSD 2.0 for Tanium > Server Instances and click New.
  2. Configure the server instance settings:
    Note: All of the settings listed in the Server instance settings table are required. Additionally, a Connection Status check box appears in the form. This check box appears only to indicate the status of the connection to Tanium. Do not manually select or clear the Connection Status check box.
    Table 1. Server instance settings

    Setting

    Description

    Name

    Enter a name for the Tanium Server instance that is recognizable in ServiceNow

    Tanium URL

    Enter the URL or IP address of your Tanium Cloud service instance or your on-premises Tanium Server. For more information, see Determine the URLs for API Endpoints.

    Tanium API Key

    Enter the API token that the integration uses for API requests. For more information, see Creating API tokens for ServiceNow.

    Note: By default, the ServiceNow scheduled job Tanium CSD2 - Rotate API Keys rotates the API token every seven days.

    Max Deploy Time (seconds)

    Enter the duration allowed for the software deployment from Tanium Deploy in seconds.

    Note:
    • If endpoints are not regularly online, specify a longer duration, such as 86,400 (24 hours) in order to catch those endpoints when they do connect to Tanium.

    • If you expect targeted endpoints to be consistently online, specify a shorter duration, such as 14,400 (4 hours).

    Tanium Limiting Group

    Enter the ID of the Tanium Computer Group ID that contains the endpoints that deployments can target:

    Status Check Time

    Configure the time interval at which Tanium Software Management should check the status of the deployment.

    Important: Configure a shorter interval than the time configured for Max Deploy Time.
    Note: Do not configure an interval shorter than 60 seconds.

    Override Maintenance Windows

    Controls whether deployments from this Tanium Server can override the Tanium-defined maintenance windows on target endpoints.

    • Always: Every deployment from this server overrides maintenance windows.

    • Allowed (default): Defers to the Tanium Application setting, then to the per-request choice on the catalog item. Preserves existing customer behavior.

    • Never: No deployment from this server may override maintenance windows, regardless of application, deployment template, or per-request settings. Cascades with the matching field on the Tanium Application record and an optional per-request catalog variable.

  3. Click Submit.
Figure 4. Sample server instance
Sample server instance

Import and verify application data from Tanium Deploy

After you create the Tanium Server instance, you can import the data for software applications that you have configured in Tanium Deploy.

  1. Go to All > CSD 2.0 for Tanium > Server Instances.
  2. Click the name of the Tanium Server instance you created.

    The detail page appears for the Tanium Server instance.

  3. Click Related Links > Discover Now. Wait a few minutes for the import to complete.
  4. To verify that ServiceNow has imported the data and view the available software applications in Deploy, go to All > CSD 2.0 for Tanium > Applications.

(Optional) Configure maintenance window override

Each Tanium deployment template includes an Override Maintenance Windows option that is configured for each application and for each operation. You can set override maintenance window behavior at the Deployment Template, Server Instance, Application, or Catalog Item level. Never or Always policies set on the Server Instance or Application take precedence over all more specific configurations.

To include the Override Maintenance Windows option on a catalog item, add the Tanium CSD variable set to the catalog item.

Create software catalog items

You must create a software catalog item for each version of each software application that you want to enable users to request and install on endpoints using Tanium Deploy.

Important: You must perform these steps each time you prepare to make a new software application or a new version of an existing software application available to users in the service catalog.

Perform the following steps for each catalog item that you want to create for a software application imported from Tanium Deploy:

  1. Create a software model for the application:
    1. Go to All > CSD 2.0 for Tanium > Applications, and click the ID number of the software application for which you are creating a catalog item.

      The Tanium Application page for the software application appears.

      Figure 5. Tanium Application Page
      tanium-application-page
    2. Click Related Links > Create Software Model, and then click Update on the Tanium Software Model page.
  2. Create a software configuration for the application:
    1. Go to All > CSD 2.0 for Tanium > Applications, and click the ID number of the software application for which you are creating a catalog item.

      The Tanium Application page for the software application appears.

    2. Click Related Links > Create Software Configuration, and then click Update on the Tanium Software Configuration page.
  3. Create a catalog item for the application:
    1. Go to All > CSD 2.0 for Tanium > Applications, and click the ID number of the software application for which you are creating a catalog item.

      The Tanium Application page for the software application appears.

    2. Click Related Links > Create Catalog Item
    3. On the Catalog Item page, modify settings as appropriate for your environment, and then click Update.
      Tip: For more information about configuring catalog items, see ServiceNow AI Platform Capabilities: Create or edit a catalog item.