Reference: Configure Service Graph Connector for Tanium using guided setup
In your ServiceNow instance, use the guided setup to configure the Service Graph Connector for Tanium plugin.
- Sign in to ServiceNow.
In the filter navigator, enter Tanium. Click Service Graph Connectors > Tanium > Setup.
Figure 1. Setting Up your SGC Integration - In the page header, change the application scope to Service Graph Connector for Tanium.
Figure 2. Setting Up your SGC Integration 1 - Click Get Started to open the guided setup.
- Configure connection settings and credentials:
- In the Configure the Connection and Credentials section, click Get Started.
- Click Configure next to Set authentication type.
- Set Value to token.
- Click Update, and then click Mark as Complete next to Set authentication type.
- Configure authentication settings.
- Click Configure next to Configure the Token auth Credentials.
- In the header of the page that opens, click Integrations.
Figure 3. Servicenow Click Integrations - From the Connections page, search for tanium and click Add Connection in the Token-based authentication tile.
- Specify the following fields for the connection and then click Create Connection:
-
Connection Name: Tanium credentials
-
Host Name: Specify the base URL or IP address of your Tanium instance. For Tanium Server instances, this value is the URL of the Tanium Server. For Tanium Cloud instances, this value is the API access point for your instance, in the format <customerURL>-api.cloud.tanium.com.
-
Use MID Server: If you have a MID Server, select Use MID Server, set MID selection to Specific MID Server, and then select the server you configured in MID Server.
-
Token: Specify the Tanium API token for the Asset API User. The token value includes the token- prefix. For example, token-d2da2c7067b12be6543212875c42115ab01234567e6d56789e987654aa. For the Tanium role requirements, see Tanium role requirements.
-
- Return to the guided setup and then click Mark as Complete next to Configure the Token auth Credentials.
- Test the connection.
- Click Configure next to Test the Connection.
The Test the Connection dialog loads with the test results. If the Status appears as Success and the Status Code is 200, the test was successful. If the test fails, review the URL and credentials that you entered for the Configure the Token auth Credentials step.
- Close the Test the Connection dialog, and then click Mark as Complete next to Test the Connection.
- Click Configure next to Test the Connection.
- Set the Service Graph Connector to pull data from the ServiceNow SCG view through Tanium Console.
Note: If you use Tanium Integrations Gallery to configure Tanium for the integration, Tanium Integrations Gallery creates the ServiceNow SCG view. If you configure Tanium manually, this is the view you create in Create a view in Tanium Asset.
- Click Configure next to Configure the View.
- Select the ServiceNow SGC view, click Set View, and then close the window to return to the guided setup.
- Click Mark as Complete next to Configure the View.
- Click Mark as Complete next to ADM setup instruction.
ADM is not currently supported.
- Import Tanium data and configure an import schedule.
- Click Configure next to Configure the Scheduled Import.
- Click SG-Tanium Hardware and Software.
- Click Execute Now.
Important: Do not assign a value to the Run as option.
- After you verify the successful import of Tanium asset data in the next section, return to the scheduler to set up a recurring schedule based on the total load time that ServiceNow takes to process the data from Tanium. For guidance, contact ServiceNow.
- Click Mark as Complete next to Configure the Scheduled Import.
Note: The guided setup contains optional tasks to add additional Tanium instances and to exclude serial numbers on IBM AIX and Oracle Solaris operating system platforms. If you do not need to configure these optional tasks, you are finished with the guided setup and can continue to Verify the success of the import set.
- Click back to return to the main page of the Service Graph Connector for Tanium guided setup.
Figure 4. Servicenow Click Back Guided Setup - (Optional) If you have multiple Tanium instances, use the guided setup to add additional Tanium instances to the integration.
Important: For each Tanium instance, ensure the instance meets the requirements and is configured for the integration. For more information, see Service Graph Connector for Tanium requirements and Enable and configure the Service Graph Connector integration.
- Click Get Started in the Add Multiple Instances section.
- Update access to the Data Source (sys_data_source) table:
-
Click Configure next to Update Data Source Access.
The Table Data Source page opens.
-
To edit the Data Source record, change the application scope to Global.
-
Go to the Application Access tab. Ensure the Can create, Can update, and Can delete check boxes are selected.
-
Click Update to save your changes and return to the guided setup.
-
Click Mark as Complete next to Update Data Source Access.
-
- Update access to the Scheduled Data Import table:
-
Click Configure next to Update Scheduled Data Import Access.
-
To edit the Scheduled Data Import record, change the application scope to Global.
-
Go to the Application Access tab. Ensure the Can create, Can update, and Can delete check boxes are selected.
-
Click Update to save your changes and return to the guided setup.
-
Click Mark as Complete next to Update Scheduled Data Import Access.
-
- Clear the cache for the Data Source and Scheduled Data Imports tables:
-
Click Configure next to Clear Cache for Data Source and Scheduled Data Imports tables.
A new browser window opens with a field to enter a script.
-
In the Run script (JavaScript executed on server) field, enter the following script:
CODEGlideTableManager.invalidateTable("sys_data_source"); GlideCacheManager.flushTable("sys_data_source"); GlideTableManager.invalidateTable("scheduled_import_set"); GlideCacheManager.flushTable("scheduled_import_set"); GlideTableManager.invalidateTable("sys_db_object"); GlideCacheManager.flushTable("sys_db_object"); -
Click Run Script with the scope set to global.
The script might take several minutes to complete.
-
After the script completes, close the browser window and return to the window with the guided setup.
-
Click Mark as Complete next to Clear Cache for Data Source and Scheduled Data Imports tables.
-
- Skip the step to Add Another Basic Auth Connection.
Note: The Add Another Basic Auth Connection step uses a username and password to authenticate to the Tanium instance. For best results, use token-based authentication as described in these instructions.
-
Click Mark as Complete next to Add Another Basic Auth Connection.
-
- Add token-based connections for additional Tanium instances.
-
Click Configure next to Add Another Token Auth Connection.
A new browser window opens to the Connections page.
-
Click Add Connection, enter the connection settings for the Tanium instance on the Create Connection dialog, and then click Create Connection.
Tip: For the Token field, enter the API token that Tanium Integrations Gallery created in Enable and configure the Service Graph Connector integration. If you manually configured the Tanium instance, you created the API token in Create API token. -
Repeat the previous step to add additional Tanium instances.
-
When finished, close the browser window and return to the window with the guided setup.
-
Click Mark as Complete next to Add Another Token Auth Connection.
-
- Set configuration properties:
-
Click Configure next to Set configuration properties.
A new browser window opens to the Set configuration properties page.
-
Click the name of the Tanium instance for which you created a connection. Review and modify the following properties:
Table 1. Configuration properties for a connection Property
Value
max_retry_count
The number of attempts to retry a failed Tanium Asset REST action.
pagination_record_count
The page size for each API call made during a Tanium Application Data REST action.
rest_action_limit
The page size for each API call made during a Tanium Asset REST action.
view_id
The identifier used to fetch hardware and software data from a specific view in Tanium Asset. To modify the view identifier, access the SG Tanium Connection [sn_tanium_integ_connection] table.
-
Repeat the previous step to review the configuration properties for any additional Tanium instances that you added.
-
When finished, close the browser window and return to the window with the guided setup.
-
Click Mark as Complete next to Set configuration properties.
-
- Test the new connections:
-
Click Configure next to Test connections.
A new browser window opens to the Test connections page.
-
Click the name of the Tanium instance for which you created a connection. In the Related Links, click Test Connection.
-
If the connection configuration is correct, a Success message appears on the page.
-
If the test fails, review the configuration for the connection through the Add Another Token Auth Connection step in the guided setup.
-
When finished, click back to return to the list of connections to test.
-
-
Repeat the previous step to test the connections for any additional Tanium instances that you added.
-
When finished, click X to close the Test connections dialog.
-
Click Mark as Complete next to Test connections.
-
- Select a Tanium Asset view for the connection:
-
Click Configure next to Set view.
-
Click Lookup using list
next to the Connection and Credentials Alias field. Find and select the alias created earlier in the Add Another Token Auth Connection step.
-
Click Lookup using list
next to the View field. Find and select the corresponding Tanium view to associate with the connection.
-
Click Set View.
-
Close the browser window and return to the window with the guided setup.
-
Click Mark as Complete next to Set view.
-
- Skip the ADM setup for multi instance step. Application Dependency Mapping (ADM) is currently not supported.
-
Click Mark as Complete next to ADM setup for multi instance.
-
- Configure a schedule to import data from Tanium:
-
Click Configure next to Configure the Scheduled Imports.
-
Click the name of the scheduled data import that you want to activate.
-
Verify the field values for the scheduled job and then select Active.
Note: The user specified in the Run as field must have the connection_admin role. -
Click Update.
-
Repeat the previous steps to schedule imports for any other Tanium instances.
-
When finished, return to the guided setup.
-
Click Mark as Complete next to Configure the Scheduled Imports.
-
- Click back to return to the main page of the guided setup.
Figure 5. Servicenow Click Back Guided Setup 2
- (Optional) Use the Advanced step to exclude serial numbers for IBM AIX and Oracle Solaris operating system platforms.
- Click Get Started in the Advanced section.
- Click Configure next to Advanced Settings.
- Enter false for the option to Exclude the serial number population on the CI for aix and solaris OS platforms.
- Click Save and then click Close.
- Click Mark as Complete next to Advanced Settings.
This completes the steps to configure the Service Graph Connector for Tanium app using guided setup. To verify that data imported successfully, see Verify the success of the import set.