You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/programs/servicenow-integration.md
+52-45Lines changed: 52 additions & 45 deletions
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,9 @@ HackerOne offers a bi-directional ServiceNow integration that enables you to syn
11
11
### Set up
12
12
To set up the bi-directional integration between HackerOne and your ServiceNow instance, you’ll need to follow these 4 steps:
13
13
1.[Configure incoming requests in your ServiceNow instance](#configure-incoming-requests)
14
+
2.[Configure the integration on HackerOne](#configure-on-hackerone)
14
15
2.[Configure outgoing requests in your ServiceNow instance](#configure-outgoing-requests)
15
-
3.[Configure a “close report” request from ServiceNow to HackerOne](#configure-close-report-event)
16
-
4.[Configure the integration on HackerOne](#configure-on-hackerone)
16
+
4.[Configure a “close report” request from ServiceNow to HackerOne](#configure-close-report-event)
17
17
18
18
### Configure Incoming Requests
19
19
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.
@@ -97,6 +97,49 @@ Make sure you enter the correct table name, as in this case, it's *incident*.
97
97

98
98

99
99
100
+
### Configure on HackerOne
101
+
102
+
To set up the integration on HackerOne:
103
+
1. Navigate to **Program Settings > Program > Integrations**.
104
+
2. Click **Connect with ServiceNow**.
105
+
106
+

107
+
108
+
3. Click **Edit** to start the setup process.
109
+
110
+

111
+
112
+
4. Authenticate your ServiceNow instance by entered information to these fields:
113
+
114
+
Field | Details
115
+
----- | -------
116
+
ServiceNow Instance URL | Enter the full URL to your ServiceNow instance, for example it could be: https://my-instance.service-now.com/
117
+
Username & Password | Enter the credentials for a user that has access to the ServiceNow instance.
118
+
119
+
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.
120
+
121
+

122
+
123
+
6. Click **Next**.
124
+
125
+
7. Enter your ServiceNow New Comment endpoint that was configured earlier in the **ServiceNow “Add Comment” endpoint** field. This should be a combination of the URL to your instance and the Resource Path found in the Scripted REST API object in ServiceNow.
126
+
127
+

128
+
129
+

130
+
131
+
8. Click **Next**.
132
+
9. Copy the public listener URL in the configuration wizard.
133
+
10. Go back to ServiceNow and open the Outbound REST Message,
134
+
11. Paste the copied public listener URL in the **Endpoint** field.
135
+
136
+

137
+
138
+
12. Click **Enable** to finish enable the integration.
139
+
140
+

141
+
142
+
100
143
### Configure Outgoing Requests
101
144
After configuring incoming requests, you’ll need to configure outgoing requests in ServiceNow which will enable you to post comments from ServiceNow to HackerOne. You’ll need to use Outbound REST Messages and Business Rules in the configuration process.
13. Enter these values for these fields on the **When to run** tab:
@@ -188,8 +231,12 @@ Make sure that the arguments for RESTMessageV2 matches the name you gave to the
188
231
The close report event from ServiceNow to HackerOne is set up in a similar fashion to configuring the outgoing requests. You only need to change the content in the Outbound REST Message and the trigger action in the Business Rule.
189
232
190
233
To set up the close report event:
191
-
1. Search for the HackerOne REST Message that was set up in the previous section.
192
-
2. Click **New** to add a new message.
234
+
1.1. Navigate to: **System Web Services > Outbound > REST Message**.
235
+
236
+

237
+
238
+
2. Search for the HackerOne REST Message that was set up in the previous section.
Make sure the arguments for RESTMessageV2 match the name you gave the Outbound REST Message and HTTP Method.
240
-
241
-
### Configure on HackerOne
242
-
After configuring all of the steps above, you’re now ready to configure the integration on HackerOne.
243
-
244
-
To set up the integration on HackerOne:
245
-
1. Navigate to **Program Settings > Program > Integrations**.
246
-
2. Click **Connect with ServiceNow**.
247
-
248
-

249
-
250
-
3. Click **Edit** to start the setup process.
251
-
252
-

253
-
254
-
4. Authenticate your ServiceNow instance by entered information to these fields:
255
-
256
-
Field | Details
257
-
----- | -------
258
-
ServiceNow Instance URL | Enter the full URL to your ServiceNow instance, for example it could be: https://my-instance.service-now.com/
259
-
Username & Password | Enter the credentials for a user that has access to the ServiceNow instance.
260
-
261
-
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 ServiceNow incident short description.
262
-
263
-

264
-
265
-
6. Enter your ServiceNow New Comment endpoint that was configured earlier in the **ServiceNow “Add Comment” endpoint**. This should be a combination of the URL to your instance and the Resource Path found in the Scripted REST API object in ServiceNow.
266
-
267
-

268
-
269
-

270
-
271
-
7. Copy the public listener URL in the configuration wizard.
272
-
8. Go back to ServiceNow and open the Outbound REST Message,
273
-
9. Paste the copied public listener URL in the **Endpoint** field.
274
-
275
-

276
-
277
-
10. Click **Enable** to finish enable the integration.
0 commit comments