ServiceNow Vulnerability Response
ServiceNow is a workflow management platform. It offers a number of security operations applications. You can configure Prisma Cloud to route alerts to ServiceNow’s Vulnerability Response application.
To integrate Prisma Cloud with ServiceNow, you’ll need to create a ServiceNow endpoint to consume findings from the Prisma Cloud scanner. The endpoint is created using ServiceNow’s Scripted REST API mechanism.
Each vulnerability found by the Prisma Cloud scanner is mapped to a ServiceNow vulnerable item. Scanner data is mapped to vulnerable items as follows:
Vulnerable items contain all CVEs reported by the Prisma Cloud scanner only if the corresponding CVEs also exist in ServiceNow’s vuln DB. If a CVE doesn’t exist in ServiceNow, the Vulnerability (Reference) field won’t list it.
Source
The scanner that found this vulnerable item.
Prisma Cloud Compute
Vulnerability (Reference)
ID of the vulnerability associated with this vulnerable item.
Reference to CVE ID (if exists in ServiceNow’s vulnerabilities DB)
State
This field defaults to Open, but you can change it to Under Investigation if the vulnerability is ready for immediate remediation.
Open (automatically set by ServiceNow)
Assignment group
Group selected to work on this vulnerability group.
Assignment group set in the alert profile
Assigned to
Individual from the selected assignment group that works on this vulnerability.
Assignee set in the alert profile
Created
The date this vulnerable item was created in your instance.
Creation date of the vulnerable item (automatically set by ServiceNow)
Additional comments
Any relevant information.
Vulnerabilities:
Image name
Severity
Package
Package version
Fix status
Project
Collections
Configuring ServiceNow
Create a ServiceNow endpoint to collect findings from the Prisma Cloud scanner.
Prerequisites: Prisma Cloud Console is running.
In ServiceNow, create a Scripted REST API. Name it Prisma Vulnerabilities Report.
For more information, see the official documentation here.
Create a new resource in your scripted REST service.

In Name, enter report_findings.
In HTTP method, select POST.
Download the script that implements the endpoint from Prisma Cloud Console.
Log into Prisma Cloud Console.
Go to Manage > Alerts > Add Profile.
Click Add Profile.
In Provider, select ServiceNow.
In Application, select Vulnerability Response.
In Scripted REST API, click Copy.
In ServiceNow, paste the script into Script.
Click Submit to create the resource.
Construct the URL for your resource (endpoint), then copy it, and set it aside. You’ll need when you configure Prisma Cloud to send findings to ServiceNow.
The format for the base URL is:
https://<SERVICENOW>/<BASE_API_PATH>For example:
https://ena03291.service-now.com/api/paan/prisma_vulnerabilities_reportWhere:
SERVICENOW — URL for your ServiceNow instance.
BASE_API_PATH — Path to the scripted API service you just created.

Configuring alert frequency
You can configure the rate at which alerts are emitted. This is a global setting that controls the spamminess of the alert service. Alerts received during the specified period are aggregated into a single alert. For each alert profile, an alert is sent as soon as the first matching event is received. All subsequent alerts are sent once per period.
Open Console, and go to Manage > Alerts.
In General settings, select the default frequency for all alerts.
You can specify the following frequencies.
10 Minutes
1 Hour
1 Day.
Sending findings to ServiceNow
Alert profiles specify which events trigger the alert machinery, and to which channel alerts are sent. You can send alerts to any combination of channels by creating multiple alert profiles.
Alert profiles consist of two parts:
(1) Alert settings — Who should get the alerts, and on what channel? Configure Prisma Cloud to integrate with ServiceNow and specify the people or places where alerts should be sent. You can specify assignees and assignment groups.
(2) Alert triggers — Which events should trigger an alert to be sent? Specify which of the rules that make up your overall policy should trigger alerts. For the Vulnerability Response application, you can send vulnerability and compliance alerts only.

Create new alert profile
Create a new alert profile.
In Manage > Alerts, click Add profile.
Enter a name for your alert profile.
In Provider, select ServiceNow.
Configure the channel
Configure Prisma Cloud to send alerts to ServiceNow, then validate the setup by sending a test alert.
Prerequisites: You’ve created a service account in ServiceNow with a base role of web_service_admin.
In Application, select Vulnerability Response.
In Scripted API URL, enter the url of the vulnerabilities reporting api defined in ServiceNow (see ServiceNow config above). e.g. https://ven03718.service-now.com/api/paan/prisma_vulnerabilities_report
In Credential, click Add New.
In Type, select Basic authentication.
This is currently the only auth method supported.
Enter a username and password.
(Optional) In Assignee, enter the name of a user in ServiceNow that will be assigned the Vulnerable Items.
The assignee name isn’t case-sensitive.
(Optional) In Assignment Group, enter the name of a group in ServiceNow that will be assigned the Vulnerable Items.
(Optional) In CA certificate, enter a CA certificate in PEM format. Relevant only for on-premises deployments of ServiceNow.
Click Send Test Alert. If everything looks good, and you get an alert in ServiceNow, save the profile.
Configure the triggers
In Select triggers, select the events that should trigger an alert to be sent.
To specify specific rules that should trigger an alert, deselect All rules, and then select any individual rules.

Click Next.
Map Vulnerable Items to Configuration Items (optional)
Adjust your Scripted REST API to map each vulnerable item to its configuration item (CI) in ServiceNow’s CMDB.
Create a Discovery Source in ServiceNow for Prisma Cloud Compute:
Navigate to System Definition > Fix Script.
Click New.
Name your Fix Script appropriately.
Ensure Run once is selected .
Execute the following code with the appropriate value for your Discovery Source name: “SG-PrismaCloudCompute”.
Your fix script should look like this:

Ensure your discovery source has fewer than 40 characters.
After you have saved your fix script, navigate to it again and click Run Fix Script.
Create an Identification Rule in ServiceNow:
Navigate to Configuration > CI Class Manager.
In the CI Classes hierarchy, choose Docker Image.
Navigate to Class Info > Identification Rule.
Add an identification rule to identify the image by the Image id attribute.

Use the enhanced script in place of the standard script you copy from Console when setting up the Scripted REST API.
Suggested script
The following script maps vulnerable items to configuration items. Use it in place of the script you copy from Console when setting up the Scripted REST API in Configuring ServiceNow. To use the script, you must first set up a discovery source and identification rule.
The script in this section extends the standard script to:
Implement CI mapping — Finds the relevant CI (from type docker image), or creates one if it doesn’t exist, and references it in the Vulnerable Item.
Create a vulnerability placeholder — Creates an empty vulnerability in ServiceNow’s vulnerabilities DB when the CVE ID sent by Prisma Cloud Compute can’t be found in ServiceNow.
The following listing shows the script in its entirety. Copy and use this listing when setting up the vulnerable item to configuration item mapping.
The following excerpt shows the part of the listing that implements the CI mapping:
The following excerpt shows the part of the listing that creates the vulnerability placeholder:
Last updated
Was this helpful?

