---
sourceDocument: Brazil Security Management
sourceDocumentLink: https://www.servicenow.com/docs/r/security-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Security Management

ft:clusterId :

    - security

bundleId :

    - security

workflow :

    - Technology


---

# Service Mapping in Vulnerability Response

# Service Mapping in Vulnerability Response {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Service Mapping in Vulnerability Response

Service Mapping in Vulnerability Response provides organizations with an automated way to discover and visualize the relationships between IT infrastructure components, services, and applications.
It helps establish connections between vulnerable items and their related business services, enabling a comprehensive understanding of dependencies critical to vulnerability management.
Show full answer Show less  

## Key Features

* **Scheduled Job "Set related CI services":** Automatically links affected business services to configuration items (CIs) related to vulnerabilities after integration imports and at scheduled intervals.
* **Risk Score Calculation Improvements:** Risk scores are now calculated using data stored in the *Related Services \[snvulm2mciservices\]* table created by the scheduled job, replacing direct CMDB API calls. This improves efficiency and performance.
* **Optimized Service Size and Depth:** System properties controlling the maximum number of services and depth during service mapping have been reduced (from 1000 to 500 for size, and from 10 to 5 for depth) to enhance performance of the scheduled job.
* **Exclusion of Specific CMDB Classes:** Configuration is available to exclude certain CMDB classes (such as unclassified or unmatched CIs) from service calculations, preventing irrelevant data from impacting results.
* **Use of Discovered Items for Service Calculation:** Service calculations now use discovered items rather than vulnerable items (VITs), improving accuracy in mapping services to CIs.
* **On-Demand Full Refresh Job:** An on-demand scheduled job named "Full refresh-related CI services for VI" allows a complete refresh of service mappings based on discovered items from the last 90 days, ensuring up-to-date service associations.

## Key Outcomes

* Improved performance and accuracy in linking vulnerabilities to related services and CIs.
* More efficient risk score calculations via use of pre-processed related service data.
* Enhanced control over service mapping depth and scope to better align with organizational needs and system capabilities.
* Ability to refresh service mappings on demand or schedule periodic refreshes to maintain current vulnerability-service relationships.
* Reduced processing overhead during upgrades by processing discovered items scanned in the last 90 days instead of all vulnerable items.  
Service mapping helps organizations gain a comprehensive understanding of your IT infrastructure and the relationships between various components. It enables automatic discovery and mapping of services, applications, and
infrastructure components, providing a visual representation of the dependencies and relationships.  
In Vulnerability Response, the scheduled job Set related CI services establishes connections between the affected business services and the configuration items (CIs) associated with the vulnerable items (VITs). The linking process takes place once the integration import is finished and at a designated time. To enhance the performance of this scheduled job, several changes have been implemented beginning with v21.1.2 of Vulnerability Response. They are:

* Risk score calculation: The process of calculating risk scores involves the utilization of the Set related CI services scheduled job. Once the CI is processed, this job stores the necessary data in the Related Services \[sn_vul_m2m_ci_services\] table. Previously, in Configuration Compliance, risk calculation involved directly accessing the Configuration Management Database (CMDB) Application Programming Interface (API) CIUtils to retrieve services for each test result during import. However, the current process relies on the output of the scheduled job from the Related Services \[sn_vul_m2m_ci_services\] table to calculate the risk score in Configuration Compliance. Additionally, the base system calculator has been modified to utilize the Related Services \[sn_vul_m2m_ci_services\] table.
* Size of services: The service value in the system property sn_sec_cmn.services_affected_by_CI_max_size, which is related to the Set related CI services scheduled job is decreased from 1000 to 500.
* Depth of services: The depth in the system property sn_sec_cmn.services_affected_by_CI_max_depth, which is related to the Set related CI services scheduled job is reduced from 10 to 5. The service value is also decreased from 1000 to 500.
* Exclusion of CMDB classes: A system property sn_sec_cmn.ignoreCIClassForService has been introduced to enable configuration of CMDB classes for which service calculation should be skipped. In the base system, this property is set for cmdb_ci_unclassed_hardware, cmdb_ci_incomplete_ip, sn_sec_cmn_unmatched_ci as these classes are created by Vulnerability Response and may not have any service mapping. Previously, service calculation was based on the VIT. However, the logic has been modified to use the discovered item instead. The discovered item is used to calculate the service, which is then associated with the CI in the same table.
* Scheduled job for full refresh of services: An on-demand scheduled job Full refresh-related CI services for VI, has been introduced to perform a complete refresh of services. When you upgrade to v21.0 of Vulnerability Response, the Set related CI services job runs for a longer duration at first as the base table uses discovered items instead of vulnerable items. As a result, the job must process all the discovered items that have been scanned within the last 90 days. Additionally, if you require more frequent service refreshes, it can be accommodated by scheduling weekly periodic refreshes or performing a full refresh. If you have performed activities, which resulted in changes to the services associated with your CIs, and you want Vulnerability Response to reflect these changes, you can run the on-demand scheduled job Full refresh related CI services for VI. This job takes all the discovered items recorded in the last 90 days and refreshes the associated services accordingly.
{#service-mapping-vr__ul_p1b_clc_w1c}
**Related topics**   

* [Service Mapping](https://www.servicenow.com/docs/access?context=c_ServiceMappingOverview&version=brazil&pubname=brazil-it-operations-management&ft:locale=en-US)
* [CIUtils - Global](https://www.servicenow.com/docs/access?context=c_CIUtilsAPI&version=brazil&pubname=brazil-api-reference&ft:locale=en-US)

