Integration Tasks
Introduction
The following tasks are covered in this section:
A. Install Integration
The integration described in this document is made possible through a connection between ServiceNow and Admin By Request via a custom-built ServiceNow application. The first task involves installing the app in ServiceNow.
-
Go to the ServiceNow Store, and select Integrations from the top menu:
-
Follow the instructions on screen to install the app in your ServiceNow instance.
B. Authorize Connection
Data-sharing from the Admin By Request portal to ServiceNow requires a connection between the ServiceNow application and the Admin By Request public API. Task B of the integration process involves authorizing this connection.
-
NOTE
Your data is stored in a data center that is located in one of the geographic locations listed below. These are in Europe, the USA and the UK.
To determine your data location, go to page Tenant Settings > Retention in the portal and note the geographic location shown in field Data Location. It will be one of the following:
-
EU West (Netherlands) (Europe - Netherlands)
-
Virginia, United States (USA)
-
London, United Kingdom (UK)
-
Frankfurt, Germany (Europe - Germany)
-
-
Click Save.
C. Configure Flow
The Admin By Request / ServiceNow integration incorporates a pre-built Flow (also referred to as Schedules in ServiceNow) designed to automatically get Admin By Request data into your ServiceNow instance. This task covers the steps involved in enabling the Flow to run so that the application can begin pulling the appropriate data.
-
Click the Activate button in the top right-hand menu.
-
To test successful connection (B. Authorize Connection) and correct flow (C. Configure Flow), navigate to the Admin By Request Auditlog page in the ServiceNow app; listed here should be the existing Auditlog data from your portal:
NOTEThis assumes that you have existing Auditlog data in your portal to be pulled through to ServiceNow.
D. Assign User Access
Once the Flow is activated and the application is successfully pulling / updating data, access needs to be granted to the appropriate users within the ServiceNow instance, so that they can interact with Admin By Request features. This task covers the process of creating a group of users and assigning them access using pre-configured ServiceNow Roles.
In this example, we assign an Example Approvers group the role of User, which allows them to Approve or Deny requests within ServiceNow.
-
Use the Collection search box to locate the two pre-configured roles for this application:
-
x_syaps_abr.abr_admin: Users assigned this role have administrative access within the application, which includes the ability to access all application features (Requests, Auditlog) and the Properties page.
-
x_syaps_abr.abr_user: These users are able to access and interact with the Admin By Request Auditlog and Requests features (i.e., view / manage Auditlog data and Approve or Deny Requests).
-
-
Use the Collection search box to locate the users for the Group, and the right-facing arrow button to add them to the Example Approvers Group.
NOTERoles can also be assigned to individual users. Navigate to Users from the Filter Navigator search box (under Users and Groups) and follow a similar process to what is described in this Task (i.e., Task D) to assign the appropriate Role to the user.
E. Use Features
Once the correct Roles are assigned, users are able to access Admin By Request data through the integrated features: Auditlog and Requests. Task E covers how to use these features within the ServiceNow application.
This Task is demonstrated from the viewpoint of regular user in the ServiceNow instance (i.e., a member of the Example Approvers Group assigned the role of User in Task D) as opposed to an Administrator (the role required for tasks A through D).
Auditlog
-
Using the Filter Navigator search box, locate the Admin By Request app and select Auditlog from the sub-menu:
-
The Auditlog page displays all of the recent Auditlog data from Run As Admin and Admin Session requests. Information includes:
-
State: This could be ‘Pending Approval’, ‘Denied’, ‘Open’, or ‘Finished’.
-
Type: Either ‘Run As Admin’ or ‘Admin Session’.
-
Application: The application that the user requested to Run As Admin.
There are no applications listed in this column for Admin Sessions because multiple applications may have been accessed during the time the Admin Session was active. -
Scan Result: This column displays ‘Clean’ unless the VirusTotal scan has flagged malware.
-
-
Select an item in the list using the State column to view the available data for that Auditlog entry. Available data may include some or all of the following:
If logged in to your instance as a ServiceNow administrator (not just an application admin), Auditlog data can be edited and updated manually by making the desired changes to an Auditlog entry and clicking the Update button. However, editing Auditlog data is NOT RECOMMENDED. -
Selecting an item in the Activity column (from the Audit Log Activities section, bottom of page) displays further information, such as the file path:
Requests
-
The user who made the request will receive an email from Admin By Request that their request has been approved. When the request is complete, the details will be available in the Auditlog in ServiceNow.
-
A confirmation window appears following this action. Click Yes to deny the request, with the option of stating a reason for denial:
The user who made the request will receive an email that their request has been denied, with the reason included (if reason was given).