Skip to content

Configure ServiceNow Integration

Connect AttackLens to your ServiceNow instance to create incidents directly from security findings. This integration streamlines remediation workflows by automatically populating ServiceNow incidents with finding details, severity, affected assets, and remediation guidance.

INFO

Requires Admin role or higher.

Prerequisites

Before configuring the ServiceNow integration, ensure you have:

  • ServiceNow instance URL: The base URL of your ServiceNow instance (e.g., https://yourcompany.service-now.com).
  • Service account credentials: A username and password for a ServiceNow user with permission to create incidents. See Creating a Service Account below.
  • Network access: Your AttackLens backend must be able to reach the ServiceNow instance over HTTPS.

Step 1: Navigate to Issue Integrations

Go to Integrations > Issue Integrations in the left sidebar and click Create Integration.

Step 2: Select ServiceNow

Select ServiceNow from the integration type list.

Step 3: Configure Connection

Fill in the connection details:

Instance URL (Required)

The base URL of your ServiceNow instance:

https://yourcompany.service-now.com

Username (Required)

The username of the ServiceNow service account. This account must have the itil role or equivalent permissions to create incidents.

Password (Required)

The password for the ServiceNow service account.

TIP

Use a dedicated service account rather than a personal account. Assign only the minimum required roles (typically itil for incident creation). This follows the principle of least privilege and ensures the integration survives personnel changes.

Step 4: Configure Incident Settings

Define how AttackLens findings are translated into ServiceNow incidents.

Severity to Impact/Urgency Mapping

ServiceNow incidents use a combination of Impact and Urgency to derive Priority. Configure how AttackLens severity maps to these fields:

AttackLens SeverityServiceNow ImpactServiceNow UrgencyResulting Priority
Critical1 - High1 - High1 - Critical
High1 - High2 - Medium2 - High
Medium2 - Medium2 - Medium3 - Moderate
Low3 - Low2 - Medium4 - Low
Informational3 - Low3 - Low5 - Planning

You can customize this mapping to match your organization's incident priority matrix.

Assignment Group (Optional)

Select the ServiceNow assignment group that incidents should be assigned to. AttackLens fetches available groups from your ServiceNow instance after you provide the connection details. Click Fetch Groups to load the list.

Common choices:

  • Security Operations
  • Vulnerability Management
  • IT Security

Category (Optional)

Select an incident category. Typical values:

  • Security
  • Software
  • Hardware

Subcategory (Optional)

Select an incident subcategory to further classify the incident.

Step 5: Configure Field Mapping

Map AttackLens finding fields to ServiceNow incident fields:

AttackLens FieldServiceNow FieldNotes
Finding titleShort descriptionAlways mapped. Truncated to 160 characters per ServiceNow limits.
Finding description + remediationDescriptionFull finding details, formatted as plain text with sections.
SeverityImpact / UrgencyBased on the mapping table above.
Affected asset nameConfiguration item (CI)If CMDB integration is configured, the asset is linked to the corresponding CI.
Policy/Ruleset nameCategory or subcategoryOptionally mapped to classify the incident.

Step 6: Test the Connection

Click Test Connection to verify that AttackLens can reach your ServiceNow instance and authenticate successfully. The test will:

  1. Authenticate with the provided credentials.
  2. Verify the user has permission to create incidents.
  3. Verify the assignment group exists (if configured).
  4. Confirm the ServiceNow Table API is accessible.

WARNING

If the test fails, check the following:

  • The instance URL is correct (include https://, no trailing slash).
  • The credentials are valid and the account is not locked.
  • The account has the itil role or equivalent.
  • Your AttackLens backend can reach the ServiceNow instance (check firewall rules for outbound HTTPS).

Step 7: Save

Click Save to create the integration. Credentials are encrypted at rest in the AttackLens database.

Creating a Service Account

To create a dedicated service account in ServiceNow:

  1. In ServiceNow, navigate to User Administration > Users.
  2. Click New.
  3. Set the User ID (e.g., attacklens-integration).
  4. Set a strong Password.
  5. Assign the itil role (minimum required for incident creation).
  6. Optionally assign cmdb_read if you want CI lookups.
  7. Click Submit.

INFO

In ServiceNow environments with MFA enabled, you may need to configure the service account to bypass MFA or use OAuth tokens instead of basic authentication. Consult your ServiceNow administrator for the appropriate approach.

Using the Integration

After configuration, you can create ServiceNow incidents from findings:

  1. Navigate to Findings.
  2. Select one or more findings.
  3. Click Create Issue.
  4. Select the ServiceNow integration.
  5. Review the mapped fields and click Create.

The created incident number and URL are logged in the integration's issue history. See Manage Integrations for details.

AttackLens - Continuous Exposure Management