To install the Vulnerability Response Integration with Claroty CTD, an admin opens All Available Applications under System Applications and installs the sn_clarotyctdvr application after its dependencies are in place. Once the integration runs, Claroty CTD fields map to ServiceNow: Identified_on fills First Found, Resource_id sets the configuration item, and Cve_id fills the vulnerability entry ID.
Store applications to install before the integration
The integration depends on two ServiceNow Store applications. Install both before you start the integration install, and confirm that the application and each of its Store dependencies have valid ServiceNow entitlements on your instance.
- CMDB CI Class Models store app
- Service Graph Connector Integration for Claroty CTD
Check the application listing in the ServiceNow Store for dependency, licensing, subscription and release compatibility details. Compare those details with the release your instance runs before you begin.
Installing the Claroty CTD integration application
The application appears as Vulnerability Response Integration with Claroty CTD, and its ID is sn_clarotyctdvr. The install requires a user with the admin role. Use the steps below.
- Go to All, then System Applications, then All Available Applications, and select All.
- Find the application by name or ID, sn_clarotyctdvr, using the filter criteria and the search bar.
- If the application is not in the list, request it from the ServiceNow Store.
- Select a version from the list next to the Install button. The list shows the versions available to you.
- Select Install.
- In the Review Installation Details dialog box, review the dependencies that will be installed with the application.
- If you are prompted, follow the links to the ServiceNow Store and obtain any additional entitlements the dependencies need.
- Select Install to complete the install.
For help planning this work, see ServiceNow implementation.
Before the first run, record the values the integration uses, including the user name and password, the server URL, the REST message, the REST method and the detection API resource path. The errors in the troubleshooting section depend on those values, so a written record makes each error easier to trace back to its cause.
How Claroty CTD fields map to ServiceNow fields
The mapping has two parts. The first part writes detection records that tie a vulnerable item to a finding. The second part writes vulnerability entries, and it does so only when the CVE is not already present in ServiceNow.
Detection record fields
A detection record receives these values from the Claroty CTD data.
- Source is set to Claroty CTD.
- Identified_on fills First Found.
- Last_updated fills Last Found.
- Status fills Status. A status value of 0 means Open, and a status value of 2 means Closed/Fixed.
- Resource_id fills Configuration item.
The configuration item is not copied directly. A CI lookup rule searches the sys_object_source table for the Resource ID. A Resource ID such as 33.1 therefore has to match an entry in that table before the lookup can resolve to a configuration item. When a detection arrives with no configuration item, compare its Resource ID with the entries in sys_object_source first.
Vulnerability entry fields
The integration creates a vulnerability entry only when no existing CVE record is found in the National Vulnerability Database Entry table, sn_vul_nvd_entry. When it has to create the CVE, the following fields map across.
- Cve_id fills ID.
- Title fills Summary. The integration adds [Claroty] to the Summary so that NVD CVEs backfilled by Claroty stay visible.
- Cvss fills V3_base_score.
- Published fills Date_published.
- Modified fills Last_modified.
If a CVE you expect is missing from the vulnerability entries, check the NVD entry table for it first. A CVE that the table already holds does not produce a new entry, so the record you are looking for may already exist under the NVD entry.
Worked example for one detection
Suppose a detection arrives with a Resource_id of 33.1 and a status of 2. The status is stored as Closed/Fixed, and the Identified_on value is stored as First Found. The integration then looks up 33.1 in sys_object_source. If the lookup finds a match, the detection receives a configuration item. If it does not, the detection has no configuration item from the lookup, and the Resource ID is the first place to look.
Troubleshooting Claroty CTD integration errors
Errors come from two stages. Data retrieval calls the Claroty CTD API and reads its response. Data processing works with the Data Source attachment that holds that response. Each error belongs to one of those stages, so identify the stage before you change any value.
Data retrieval errors
The messages below come from the configuration and response checks that run during data retrieval. The Vulnerability Detection Integration and the Vulnerability Auto-Closure Integration both retrieve data, and the first six messages can appear in either one.
- Can’t run a Claroty CTD Integration without a user name and password combo. The integration configuration has no user name or password. Enter both on the configuration.
- Can’t run integration without a REST message and REST method specified. The REST message or REST method field on the Claroty CTD Integration job record is empty.
- Can’t run integration without Claroty CTD server URL specified. The integration configuration has no server URL.
- Can’t run integration without the detection API resource path specified. The detection_api_resource_path parameter on the integration configuration is empty.
- Invalid response code {response code} received from Claroty CTD. The API returned a response that is not valid. A 401 response means Unauthorized, which likely points to a user name or password that is not valid.
- Unable to read the count_total property from JSON data. The count_total value used for pagination is missing from the response. This likely means the payload was not valid, so confirm the Claroty CTD instance is reachable through the MID Server.
- Error parsing ‘objects’ array from response body. This message appears in the Vulnerability Auto-Closure Integration. It likely means the payload was not valid. The Outbound HTTP Logs show whether a valid response came back.
Data processing errors
The first three messages below come from the Vulnerability Detection Integration. The last one comes from the Vulnerability Auto-Closure Integration.
- Error writing attachment. The response data could not be attached to the Data Source. A common cause is that the MID Server user is missing the sn_vul.vr_import_admin role. Check that role first, then contact your administrator if the error continues.
- Attachment content is null: attachment sys_id = {sys_id}. The Data Source attachment is empty. The cause can be the Claroty API or ServiceNow, so contact your administrator for further assistance.
- Couldn’t find attachment with sys_id {sys_id}. The Data Source attachment was not found. Handle it the same way as the null content message.
- Failed to parse the Data Dictionary JSON. The attachment payload is not valid JSON. An earlier error likely occurs before this one, so check the run from the top.
A sequence for checking a failed run
Work through these checks in order. The sequence follows the data from configuration to attachment, so an early fault can cause the messages that appear later.
- Confirm the application is installed and that its Store dependencies are present.
- Check the user name, password, server URL, REST message, REST method and detection API resource path on the integration configuration.
- Confirm the Claroty CTD instance can be reached through the MID Server.
- Open the Outbound HTTP Logs and look for a valid response from Claroty CTD.
- Open the Data Source attachment for the run and check response.json for the count_total property.
- Confirm the MID Server user holds the sn_vul.vr_import_admin role.
Steps 4 and 5 separate a bad response from a bad write. If the response is valid and the attachment is still missing, the fault sits in processing rather than retrieval, so step 6 is the next check.
Related Vulnerability Response pages
The Claroty CTD integration works alongside other Vulnerability Response integrations. Start with Vulnerability Response integration patterns before you add a second source that writes to the same records.
For how NVD and CWE data gets into the instance, read importing NVD and CWE data and managing third-party libraries. That table is the one the Claroty mapping checks before it creates a vulnerability entry.
For background on the Claroty side of the connection, see the Claroty CTD integration for operational technology. Once detections start arriving, compare a sample of them with the vulnerable items they created. The guide on verifying vulnerable item detection data after an integration run covers that comparison.
Questions about the Claroty CTD install and release differences
What does each prerequisite store application contribute?
The CMDB CI Class Models store app supplies the Operational Technology extension classes the integration uses. The Service Graph Connector Integration for Claroty CTD uses the Operational Technology Manager application to import sites, the devices detected at each site, connections (also called base systems) and installed programs into the Configuration Management Database. Check the connector listing in the ServiceNow Store for its own requirements before you start the import.
What else does the install bring onto the instance?
The application installs the vulnerability response plugin and the Vulnerability Response Integration with NVD alongside itself. Each of those is installed only when it is not already present on the instance.
What is the default detection API resource path?
The default value of detection_api_resource_path is /ranger/assets_with_insights. Leave the default in place unless your Claroty CTD instance serves detection data from a different path. An empty value causes the run to fail with the message about the missing resource path.
Do the field mapping and error messages change between releases?
The field mapping and the error messages described on this page are the same in the Zurich, Australia and Brazil releases. The install steps on this page follow the Brazil release, so check them against the release your instance runs before you start the install.