Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.oleria.com/llms.txt

Use this file to discover all available pages before exploring further.

Connect ServiceNow to Oleria to create incident tickets directly from risks and posture findings. This page covers the manual setup path - configuring ServiceNow step by step before connecting it in the Oleria workspace. If you prefer an automated setup, use the standard ServiceNow integration page. Follow the prerequisites and the steps below.
ServiceNow tickets will be created as an incident ticket and the ticket will be assigned to the configured assignment group.

Prerequisites

  • User account to perform the setup steps in ServiceNow. The account needs to be able to do the following actions. See relevant ServiceNow documentation to learn more about necessary access needed to perform these actions.
    • Add a x509 Certificate
    • Add an Application Registry
    • Add a User
    • View a Group
  • Oleria public key
  • Administrator access to Oleria to access the Ticketing System page. Learn about role permissions.

Download the Oleria Public Certificate

1

Log in to Oleria

Log in to Oleria and select the Avatar icon in the upper right-hand corner.
2

Open Ticketing integration

Select the Ticketing integration option.
3

Download the public key

From the Ticketing system page, select the Download public key button to download the file containing the public key (oleria-public-key.pem).

Configure ServiceNow

While following the steps in ServiceNow, collect the following data to use during the Oleria configuration:
  • Client ID
  • Kid (Key ID or Key IDentifier)
  • Claim Value (Oleria service account email address)
  • sys_id (assignment group sys_id)
1

Upload Oleria's Public Certificate

  1. Log into your ServiceNow instance with administrator credentials.
  2. From the All menu, navigate to x509 Certificate under Multi-Provider SSO → Administration.
  3. Create a new x509 certificate - select New from the upper right-hand corner of the x.509 Certificates page.
  4. From the New record page, enter the following information:
FieldValueExample
NameName for the Oleria’s public keyOleria ServiceNow Incident Creation X.509 Certificate - tenantName
FormatPEMPEM
Expiration NotificationUncheckUncheck
TypeTrust Store CertTrust Store Cert
ActiveCheckCheck
Short DescriptionDescription that mentions the Oleria tenantservicenow_ticketing.tenantName.oleria.io
  1. For PEM Certificate, copy and paste Oleria’s public certificate.
  2. Select Submit.
2

Create an OAuth JWT Application

  1. From the All menu, navigate to Application Registry under System OAuth.
  2. From Application Registries, select New from the upper right-hand corner.
  3. From What kind of OAuth application?, select Create an OAuth JWT API endpoint for external clients.
  4. From OAuth JWT - New Record, reveal the Public Client hidden field in the form layout:
    1. Select the three horizontal lines icon next to New Section New Record in the upper-left corner.
    2. Select ConfigureForm Layout.
    3. From Configuring OAuth JWT form, under the Available column, find and select the Public Client field, then select the arrow pointing right to move it to the Selected column.
If you cannot find “Public Client” under “Available”, check “Selected” instead. If “Public Client” is already in “Selected”, proceed to the next step.
  1. Select Save in the upper right-hand corner.
  2. From OAuth JWT - New Record, enter the following information:
FieldValueExample
NameName that indicates Oleria will create incidents, including the Oleria tenant nameOleria ServiceNow Incident Creation JWT OAuth - tenantName
ActiveCheckCheck
Public ClientCheckCheck
  1. Leave the remaining fields with their default values (including leaving Client Secret blank).
  2. COPY the Client ID value to use later during Oleria integration.
  3. Add useraccount to the Auth Scope for the JWT application:
    1. From the Auth Scope section, double-click Insert a new row…
    2. In the textbox, search for useraccount, select a result from the dropdown, and select the green check icon.
    3. Select Submit.
3

Map Oleria's public key to the OAuth JWT Application

  1. From Application Registries, find and view the OAuth JWT application you created (e.g., Oleria ServiceNow Incident Creation JWT OAuth - tenantName).
    • To navigate there: from the All menu, go to Application Registry under System OAuth.
  2. From the OAuth JWT Application page, scroll to the bottom to the Jwt Verifier Maps tab.
  3. Add a Jwt Verifier Map - select New from the Jwt Verifier Map tab.
  4. From Jwt Verifier Map - New Record, enter the following information:
FieldValueExample
NameName that indicates Oleria’s public key including the Oleria tenant nameOleria JWT Verifier Map - tenantName
Sys certificateName you created for Oleria’s public certificateOleria ServiceNow Incident Creation X.509 Certificate - tenantName
  1. COPY the Kid (Key ID or Key IDentifier) value to use later during Oleria integration.
  2. Select Submit.
4

Limit access to the Oleria service account

  1. From the OAuth JWT Application page, scroll to the bottom to the OAuth JWT Claim Validations tab.
  2. Select New.
  3. From OAuth JWT Claim Validation - New Record, enter the following information:
FieldValueExample
Claim Value Typestringstring
Claim Namesubsub
Claim Valueemail address of the Oleria service accountoleriaticketing@oleria.com
  1. COPY the Claim Value (Oleria service account email address) to use later during Oleria integration.
  2. Select Submit.
5

Find or create a role with write access to the Incidents table

  1. From the All menu, navigate to Roles under System Security → Users and Groups.
  2. Search for a role named sn_incident_write. If found, continue to the next step. If not found, create a new role.
6

Create a service account

  1. From the All menu, navigate to Users under User Administration.
  2. Select New from the upper right-hand corner.
  3. From User - New Record, enter the following information:
FieldValueExample
User IDname for the Oleria service account including tenant nameOleria Integrator - tenantName
EmailOleria service account’s emailoleriaticketing@oleria.com
First NameOleria service account’s first nameOleria
Last NameOleria service account’s last nameTicketing
Password needs resetUncheckUncheck
Locked outUncheckUncheck
ActiveCheckCheck
Web service access onlyUncheckUncheck
  1. Select Submit.
7

Associate the role to the service account

  1. From the All menu, navigate to Users under User Administration.
  2. Find the Oleria service account (e.g., “Oleria Integrator - tenantName”) and select its name.
  3. From the User page, scroll to the bottom and select the Roles tab.
  4. Select Edit….
  5. From Edit Members, search for sn_incident_write in the Collection column, select the role, and select the Add icon to add it to the selection list.
  6. Select Save.
8

Find the Assignment Group sys_id

  1. From the All menu, navigate to Groups under System Security → Users and Groups.
  2. Find the group you want to assign incidents to (e.g., RiskRemediators) and view it. Create a new group if needed.
  3. From the Group page, select the three horizontal lines icon in the upper left-hand corner, then select Copy sys_id.
  4. COPY the sys_id (assignment group sys_id) to use later during Oleria integration.

Connect ServiceNow to Oleria

Ticketing system is not configured from the Integrations page.
1

Navigate to the Ticketing system page

There are 2 ways to reach the ticketing system page:
  • From the Risk Monitoring page, select any risk and you will be prompted to integrate a ticketing system.
  • From the Avatar in the upper right-hand corner, select the Avatar and then select Ticketing system.
2

Review the prerequisites

From the Ticketing system page, confirm you have completed the prerequisite steps in ServiceNow above.
3

Connect ServiceNow

Under the desired ticketing system (ServiceNow), select Connect.
4

Provide authentication details

From the Ticketing System Authentication page, provide the following and select Connect:
FieldValueExample
Instance nameInstance name portion of the ServiceNow URLinstanceName
Client IDClient ID for the Oleria OAuth JWT application in ServiceNowabc12345d6789d0123f456g78hi9jk012
Key IDKey ID that maps the Oleria OAuth JWT application to the Oleria public keya1234567b901c2345d6e7890fgh12ij3
Service Account emailEmail for the Oleria service account used to create ticketsoleriaticketing@oleria.com
5

Configure the ticket assignment group

From the Ticketing System Configuration page, provide the following and select Done:
FieldValueExample
Assignment Group IDsys_id for the group that will be assigned to the created ticketsa1bcdef2345g67890hi12j345klm67n8
6

Confirm the connection

A confirmation message will appear. The Ticketing system page will show the configured ticketing system.

Created ticket

A ticket created for a risk from Risk Monitoring will contain the following default field values:
FieldDefault ValueNote
CallerOleria TicketingThis is the name of the service account that is used by Oleria to generate tickets in ServiceNow.
Assignment group[provided during configuration]This is the assignment group provided during the ServiceNow ticketing system integration.
Short description”Risk was identified by Oleria: ” + [value]This contains a standard prefix for all tickets created from a risk and it will contain the risk name that appeared in Oleria for the risk the ticket was created for.
DescriptionRisk: [value] Potential Impact: [value] Recommendation: [value] Details: Risk Severity: [value] Risk Type: [value] Application: [value] Application Instance: [value] View risks in Oleria: [URL]This contains the details about the risk from where the ticket was created. It also contains the link to the risk.

Troubleshoot

Caller value does not appear in the Ticket The Oleria Service Account’s email address exists with another user account that is causing confusion on which email user to list as the caller. Resolution: Change the Oleria Service Account’s email address to another email address and then update the email address associated with the Application Registration for the OAuth JWT Claim Validation email address listed in the JWT Application that was created for Oleria.

Contact us

For questions, contact us at support@oleria.com.