Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This article explains how to set up the Cloudaware application in ServiceNow. Cloudaware extends the Configuration Item table in ServiceNow with additional cloud inventory data.

...

Click the name of the provider. Select the tab 'Standard Claims'. Set the following values for:
iss - the service account Service Account email address provided by Cloudaware
sub - service account the Service Account email address provided by Cloudaware
aud - https://oauth2.googleapis.com/token

...

Go to All → System OAuth → Application Registry.

Click New → select 'Connect to a third party OAuth Provider' from the list.

<…>

WHERE

Name: set up a meaningful name, e.g. Google JWT
Client ID: set up as notneeded
Client secret: set up as notneeded
Token: click the lock icon to insert https://oauth2.googleapis.com/token → click the lock icon again to save.
Default grant type: select 'JWT Bearer' from the list
Click Submit.


By doing all this, you create an oAuth Entity Profile (ignore errors)
Drill into the profile (by clicking its name)
In JWT Provider select Google JWT Provider from the list
Click UpdateClick the name of OAuth Entity Profile (in this example, Google JWT default_profile).

In JWT Provider, click the magnifier icon (Lookup using list) and select 'Google JWT Provider' from the list.
Click Update.

4. Go back to JWT Provider -> select Google JWT Provider from the list. Select the tab Custom Claims. Click plus sign to add a new claim: scope - string - https://www.googleapis.com/auth/bigquery

All -> type Connections & Credentials (under IntegrationsHub). Select Credentials. New
Select OAuth 2.0 Credentials from the list. For the oAuth Entity Profile, select Google JWT Profile created earlier. Save.
Click Get OAuth Token to test the connection.Go to Connections & Credentials Aliases. New. Set the name as Google JWT and save. In the table below, click New to create a HTTP(s) Connection. For the Credential, select JWT Credentials record created earlier.
Check the box URL builder - in Host input the link http://bigquery.googleapis.com; in Base path input the link  - /bigquery/v2/
Save.

...

Install the Cloudaware application

2.1. Go to All → Retrieved Update Sets:

...

2.2. Click the link Import Update Set from XML.

...

2.3. Choose the .xml file downloaded before. Click Upload.

...

2. 4. Select the created application.

...

2.5. Click Preview Update Set.

...

2. 6. Click Commit Update Set to install the application.

...