Configuring Salesforce for your Tanium Account
This topic guides you through configuring Salesforce for your Tanium Account: start the configuration in Tanium to obtain service provider settings, configure the Salesforce connected app, and then complete the configuration in Tanium. If you also want to configure Salesforce for your Tanium Cloud service instance, you must do so separately.
Start the configuration in your Tanium Account
- On the Tanium Account Home page, click Add IDP.
- Enter a name for the Identity Provider Name.
Obtain the service provider settings
Download Salesforce identity provider metadata
Download the identity provider metadata from Salesforce. For more information, see Salesforce Docs: Prerequisites for Integrating Service Providers with SAML. You will provide this file to Tanium when you complete the configuration.
Create a SAML application in Salesforce
Create a connected app in Salesforce that uses SAML 2.0 for user authentication. For more information, see Salesforce Docs: Integrate Service Providers as Connected Apps with SAML 2.0.
As you complete the steps, use the following information:
-
Web App Settings:
-
Enter the following values from your Tanium Account:
Salesforce Setting
Value from your Tanium Account
Start URL
Tanium Console Url Entity Id
Audience URI/SP Entity ID ACS URL
SSO Url -
Subject Type: Select Username.
-
Name ID Format: Select urn:oasis:names:tc:SAML:2.0:nameid-format:persistent.
-
IdP Certificate: Select the certificate that corresponds to the previously downloaded metadata file.
-
-
Custom Attributes: Add the following custom attribute. For more information, see Salesforce Docs: Add Custom Attributes to a Connected App.
-
Attribute key: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
-
Attribute value: $User.Username
-
Configure group claims in Salesforce for your Tanium Account role assignment
To assign the Admin or Artifacts User role to users in your Tanium Account, add an additional custom attribute to the Salesforce connected app that includes role information in the SAML assertion. your Tanium Account reads the claim attribute and value from the SAML response to determine role assignment.
In the Custom Attributes section of the connected app, add a custom attribute for role assignment. For more information, see Salesforce Docs: Add Custom Attributes to a Connected App.
As you complete the steps, configure the following settings:
-
Attribute key: A descriptive name of your choice. You will enter this as the Claim Attribute Name in your Tanium Account. For example: TaniumRole
-
Attribute value: A Salesforce formula that returns a role-specific value. For example, to use the user's Salesforce profile name as the role value:
$User.Profile.Name
When you complete the Tanium configuration, enter the following in the Role Assignment section in your Tanium Account:
-
Claim Attribute Name: The attribute key you configured (for example, TaniumRole)
-
Claim Value: The profile name or value that the formula returns for users with the desired role
Complete the configuration in Tanium
After you configure your identity provider, return to your Tanium Account to complete the identity provider configuration.
Configure the attribute for email addresses
If necessary, edit this value so that it matches the claim name specified in your identity provider settings.
Configure groups that define user roles for your Tanium Account
Users can have the following roles in your Tanium Account:
-
Users in a group that assigns the Admin role in your Tanium Account have full permissions to configure all settings in the account and can download Tanium artifacts.
-
Users in a group that assigns the Artifacts User role have read-only access to settings in the account and can download Tanium artifacts.
-
Users who are not in one of the above two groups are assigned the User role. These users have read-only access to settings in the account but cannot download Tanium artifacts.
For a full list of permissions, see Tanium Account user roles.
To assign the Admin or Artifacts User role, you configure a group claim in your identity provider and then specify the matching group claim attribute name and value in the identity provider configuration in your Tanium Account.
Provide identity provider metadata
In the Identity Provider Metadata step, provide the metadata URL or file from your identity provider.
-
Select Enter URL (Preferred) and enter the metadata URL from your identity provider and click Test URL.
-
Select Upload a Metadata File and click Upload file to upload the XML file that you downloaded from your identity provider.
Configure allowed sign-in domains for your Tanium Account
In the Sign In Email Domain section, perform the following steps for each domain for which you want to allow Tanium Account sign-in access:
Apply settings
Make sure you have configured the necessary settings in your identity provider.
Assign the connected app to users
Use the Application Profile Assignment page to assign the enterprise application to any users that you want to have access to your Tanium Account. For more information, see Salesforce Docs: Manage Other Access Settings for a Connected App.