Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0fb0026

Browse files
authored
Merge pull request Hacker0x01#282 from Hacker0x01/rg/add_oauth_for_servicenow_integration
Add Oauth config for ServiceNow integrations
2 parents 57a5133 + 30b5742 commit 0fb0026

File tree

5 files changed

+34
-6
lines changed

5 files changed

+34
-6
lines changed
18.3 KB
Loading
25.1 KB
Loading
22.9 KB
Loading
27.1 KB
Loading

docs/programs/servicenow-integration.md

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,39 @@ HackerOne offers a bi-directional ServiceNow integration that enables you to syn
99
> **Note:** This integration is only available to Enterprise programs.
1010
1111
### Set up
12-
To set up the bi-directional integration between HackerOne and your ServiceNow instance, you’ll need to follow these 4 steps:
13-
1. [Configure incoming requests in your ServiceNow instance](#configure-incoming-requests)
14-
2. [Configure the integration on HackerOne](#configure-on-hackerone)
15-
2. [Configure outgoing requests in your ServiceNow instance](#configure-outgoing-requests)
16-
4. [Configure a “close report” request from ServiceNow to HackerOne](#configure-close-report-event)
12+
To set up the bi-directional integration between HackerOne and your ServiceNow instance, you’ll need to follow these 5 steps:
13+
1. [Configure OAuth for your ServiceNow instance](#configure-oauth)
14+
2. [Configure incoming requests in your ServiceNow instance](#configure-incoming-requests)
15+
3. [Configure the integration on HackerOne](#configure-on-hackerone)
16+
4. [Configure outgoing requests in your ServiceNow instance](#configure-outgoing-requests)
17+
5. [Configure a “close report” request from ServiceNow to HackerOne](#configure-close-report-event)
18+
19+
### Configure Oauth
20+
21+
1. Navigate to **System OAuth > Application Registry** in your ServiceNow settings.
22+
23+
![servicenow-23](./images/servicenow-23.png)
24+
25+
2. Click **new** to create a new Application Registry.
26+
27+
![servicenow-24](./images/servicenow-24.png)
28+
29+
3. Click **Create an OAuth API endpoint for external clients**
30+
31+
![servicenow-25](./images/servicenow-25.png)
32+
33+
4. Enter these values for these fields:
34+
35+
Field | Value
36+
----- | -----
37+
Name | HackerOne
38+
Client ID | This is auto generated. Copy this value, you'll need this later when setting up the Oauth connection.
39+
Client Secret | Enter a secret key. Later in the process when setting up the OAuth connection you'll need this key again.
40+
Redirect URL | https://hackerone.integration-authentication.com/oauth2/token
41+
42+
![servicenow-26](./images/servicenow-26.png)
43+
44+
5. Click **Submit**.
1745

1846
### Configure Incoming Requests
1947
Configuring incoming requests requires you to post to a custom REST API endpoint in ServiceNow. This will enable you to add comments from HackerOne to your ServiceNow instance.
@@ -116,7 +144,7 @@ To set up the integration on HackerOne:
116144
Field | Details
117145
----- | -------
118146
ServiceNow Instance URL | Enter the full URL to your ServiceNow instance, for example it could be: https://my-instance.service-now.com/
119-
Username & Password | Enter the credentials for a user that has access to the ServiceNow instance.
147+
Client ID & Client secret | Enter the `Client ID` and `Client secret` from step 4 in [Configure OAuth](#configure-oauth)
120148

121149
5. Configure data mapping from HackerOne reports to ServiceNow incidents. This uses the API of both systems to retrieve fields that are allowed to be used for these objects. For example, you could map the HackerOne report title to the ServiceNow incident short description.
122150

0 commit comments

Comments
 (0)