AgileSec ServiceNow VR: Deployment

A startup guide to deployment and basic configuration of the AgileSec ServiceNow VR Integration (ISG AgileSec Analytics Integration for ServiceNow Vulnerability Response Module) within your ServiceNow instance. 

Prerequisites

The following are required to deploy the AgileSec ServiceNow VR Integration.

  • AgileSec Platform 2.2.0 or above installed 

  • AgileSec Alerting Module enabled

  • ServiceNow Utah or Vancouver deployed

  • ServiceNow Vulnerability Response Module installed

  • Admin ServiceNow role for deployment of application and application files

Security Requirements

The following network configuration is required for the solution:

  • Network communications. Collecting Findings in AgileSec Analytics. 

    1. Port: 443

    2. Protocol: HTTPS

    3. Direction: From SNOW Server to AgileSec Analytics Server (via SNOW MID server)

    4. Authentication: OAuth (recommended) or Basic

Install Application

As the ServiceNow platform admin, install the application InfoSec Global Integration for Vulnerability Response from the ServiceNow store. 

After installation is successfully completed, the InfoSec Vulnerability Integration menu will be available in the navigator bar.

https://s3-eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/103040753599/original/jwd7JvUwQwXgIvlIJtkL0Yu3U99QSeqthQ.png?1691136242

Note: If you do not see the integration menu after installation, change the application scope:

  • Go to InfoSec Global Application scope.

  • Change the application scope to InfoSec Global (ISG) AgileSec Analytics Integration for Vulnerability Response Module.

image-20260602-172731.png

Configure Authentication

There are two authentication options:

  • OAuth (OAuth2)

  • Basic (username and password).

HIGHLY RECOMMENDED: Use OAuth authentication for integrations.

Recommended: Configure OAuth Authentication

  1. Navigate to System OAuth > Application Registry

  2. Find the InfoSec OAuth Provider record.

image-20250827-064413.png
  1. Edit the record and update the Client ID, Client Secret, Token URL, Redirect URL, and OAuth Entity Scope based on your setup.

image-20250827-064718.png
  1. After updating, navigate to IntegrationHub > Credentials, open record InfoSec OAuth Cred, and click on Related Link Get OAuth Token.

  2. If the OAuth setup is correct, you will be able to generate an OAuth token. A pop-up window will open with a successful message indicating OAuth token flow was completed successfully.

image-20250827-064911.png

Note: The AgileSec ServiceNow integration will automatically regenerate the token for every requests made to the AgileSec Backend. Generating the Token from ServiceNow UI is only for testing purposes.

Configure Basic Authentication

This step is required only if integration authentication parameter auth_type is set to basic.

  1. Search for sys_auth_profile_basic.LIST.

  2. Find the basic auth configuration InfoSec Integration in table sys_auth_profile_basic.

image-20250827-065529.png
  1. Edit the record and Update the Username and Password based on your setup

att_1_for_1754333262.png

Configure Authentication Defaults

  1. Navigate to InfoSec Vulnerability Integration> Administration>Integrations.

  2. Open the integration record InfoSec Vulnerability Integration.

att_11_for_1754333262.png
  1. Open the Source Instance record.

att_4_for_1754333262.png
image-20260602-173807.png
  1. Edit the integration instance parameters auth_type and oauth_entity_profile_id or basic_auth_id to configure the default authentication mechanism.

image-20260602-181043.png

Parameter

Value

Description

auth_type

oauth or basic

Select authentication type.

Recommended: Set to “oauth” to use oauth.

Set to "basic" to use basic auth (username and password).

oauth_entity_profile_id

Your OAuth Entity Profile Id


Default OAuth authentication record (optional if using basic auth).

The sys_id of the integration’s OAuth Entity Profile record from table oauth_entity_profile.

basic_auth_id

Your Basic Auth Config Id

Default basic authentication record (optional if using OAuth).

The sys_id of the integration’s Basic Auth record from table sys_auth_profile_basic.

Configure REST Endpoints for HTTP Methods

Configure AgileSec ServiceNow VR Integration to synchronize with the AgileSec Analytics Backend by setting the correct endpoint URL for each HTTP Method.

  1. Navigate to InfoSec Vulnerability Integration> Administration> Integration Configuration.

  2. Click InfoSec Vulnerability to edit.

  3. Modify the HTTP Methods with specific information from your AgileSec Instance.

image-20260602-154905.png

Cross Cluster Search Note

When using cross cluster search, multiple indexes should be included in the search such as /agilesec.<org_domain>.v3.alert-*,cluster-*:agilesec.<org_domain>.v3.alert-*/_search/agilesec.<org_domain>.v3.alert-*/_search, where

  • Important: Replace the dot in your organization’s <org_domain> with an underscore. For example. kf-agilesec.comkf-agilesec_com

  • agilesec.<org_domain>.v3.alert-* targets the cryptographic alerts from the local cluster

  • cluster* depends on naming scheme for clusters. We recommend naming all clusters as agilesec-<cluster region>.

  • cluster*:agilesec.<org_domain>.v3.alert-* targets the cryptographic alerts from remote clusters

Name

HTTP Method

Example Endpoint

Clear Scroll ID

DELETE

https://agilesec-external-url/searchdb/_search/scroll

Get Vulnerabilities

POST

https://agilesec-external-url/searchdb/agilesec.<org_domain>.v3.alert-*/_search

Get Vulnerability Items

POST

https://agilesec-external-url/agilesec.<org_domain>.v3.alert-*/searchdb/_search?scroll=10m

Get VIs from Scroll id

POST

https://agilesec-external-url/searchdb/_search/scroll

Note: The exact endpoint may change depending on the deployment setup, including use of Load Balancers, Reverse Proxies, etc.

Optional: Set MID Server for HTTP Methods

If required, set the MID server used for the HTTP Methods.

  1. Navigate to InfoSec Vulnerability Integration> Administration> Integration Configuration.

  2. Click ISG Vulnerability to edit.

  3. For each HTTP Method, under HTTP Request set the MID server.

https://s3-eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/103040751061/original/rNuClcE6iUinhf6NwC3rQBK60YX-xF46hw.png?1691135853

Validation

Validate AgileSec ServiceNow integration is working as expected.

Test Connectivity

Test connectivity with the Test functionality on each HTTP Method to confirm the connection is successful. A 200 HTTP status indicates success; other HTTP statuses indicate errors.  

https://s3-eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/103040733120/original/GBgambs2Ben0onOBpML3lvDzfeKJM-PdUw.png?1691131553

REST Message Tests

The following test cases validate REST Messages are working as expected:

ID

Test

Expected Result

T1

Manually run the HTTP Method Get Vulnerabilities using "Test" Link

The HTTP status shall return 200 with a Response containing several JSON elements.

T2

Manually run the HTTP Method Get Vulnerability Items using "Test" Link

The HTTP status shall return 200 with a Response containing several JSON elements.

Troubleshooting

  • Verify the URL used for all HTTP Methods is accurate and corresponds to your instance.

  • Verify the user and credentials. 

Integration Tests

Prior to running Integration tests, successfully run the REST Message Tests.

The following test cases validate Integrations are working as expected:

ID

Test

Expected Result

T3

Manually run the Vulnerability Integration with the "Execute Now" Button.

The Vulnerability Integration run shall report a success substate.

T4

Manually run the Vulnerable Items Integration with the "Execute Now" Button. 

The Vulnerability Integration run shall report a success substate. 

Usage Tests

Prior to running Usage tests, successfully run the REST Message and Integrations Tests.

The following test cases will validate Usage is working as expected:

ID

Test

Expected Result

T5

From Third-Party Vulnerability Entries, filter for Source=ISG and list the vulnerabilities. 

The list shall contain the cryptographic vulnerabilities associated with AgileSec Analytics.

T6

From Vulnerable Items, filter for Source=ISG and list the vulnerable Items. 

The list shall contain the vulnerable items that are subject to cryptographic vulnerabilities reported by AgileSec Analytics.

T7

From a selected Vulnerable Item, go to detections and open a given detection.

The detection shall include the additional metadata reported by AgileSec Analytics about the location of the cryptographic vulnerability. 

Next Steps

Perform additional desired configuration (AgileSec ServiceNow VR: Configuration) or start using the integration (AgileSec ServiceNow VR: Operations) to access the cryptographic vulnerability, cryptographic vulnerable items and detections within your ServiceNow Vulnerability Response Module.