---
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


---

# Associating finding with a configuration item using lookup rules

# Associating finding with a configuration item using lookup rules {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 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 Associating finding with a configuration item using lookup rules

Unified Security Exposure Management in ServiceNow uses lookup rules to associate imported third-party exposure findings with Configuration Items (CIs) in the Configuration Management Database (CMDB).
These rules enable mapping of findings from scanners like Qualys, Tenable, and Rapid7 to accurate CIs, facilitating effective remediation even when findings lack direct CI references.
Show full answer Show less  

## How Lookup Rules Work

* **Initial Lookup:** Matches findings to CIs using third-party asset IDs within the Discovered Items list.
* **Matching Process:** Applies additional asset details if no direct asset ID match is found, stopping at the first single CI match.
* **Placeholder CI Creation:** Creates an Unmatched CI placeholder if no match exists.
* Rules execute in ascending order of priority and return parent CIs instead of low-level networking elements (e.g., network adapters, NICs, IP addresses) to ensure meaningful matching.

## Key Characteristics

* Lookup rules are domain-separated and specific to each source, allowing multiple deployments per source.
* Rules are shared across all deployments of a scanner source integration; changes affect all deployments.
* System properties allow excluding specific CI classes from matching to refine results.

## Integration-Specific Lookup Rules

* **Qualys:** Matches by HOST ID, FQDN, NetBIOS, DNS, IP.
* **Rapid7:** Matches by MacAddress, FQDN, HostName, IP.
* **Tenable.io:** Prioritizes network interface values (FQDN, IPV4, MacAddress) over regular values for matching.
* **Tenable.sc:** Matches by MacAddress, FQDN, NETBIOS.

## Managing Lookup Rules

* Test custom or modified rules before deployment to prevent performance degradation.
* Deactivate rules instead of deleting to avoid data loss and maintain system stability.
* After updates, use the Reapply function to rerun rules on unmatched or previously matched items, updating CI information accordingly.

## Handling Unmatched and Unclassed Configuration Items

* Unmatched CIs appear in Discovered Items with the Class set as "Unmatched CI" when no CMDB match is found.
* Unclassed hardware refers to assets that cannot be categorized by lookup rules during import, requiring management attention.

## Practical Outcomes for ServiceNow Customers

By leveraging these lookup rules, customers can automate the accurate association of third-party exposure findings to their CMDB configuration items. This enhances asset ownership clarity and streamlines vulnerability remediation workflows. Proper management of lookup rules and unmatched items prevents data duplication and orphan records, preserving CMDB data integrity and optimizing system performance.  
Unified Security Exposure Management uses lookup rules to associate imported third-party exposure findings with configuration items (CIs) in the Configuration Management Database (CMDB). These rules match asset data to existing CIs,
enabling accurate remediation.

Findings imported from external scanners such as Qualys, Tenable, and Rapid7 often lack direct CI references. Lookup rules bridge this gap by applying matching logic to map findings to CIs in the CMDB.

## Characteristics of lookup rules {#sem-associate-finding-configuration-item-using-lookup-rules__section_et1_lvj_yfc}

* Domain separation and source specificity: Lookup rules can be domain-separated and are specific to each source, enabling multiple deployments according to source.
* Shared across deployments: Rules are shared across all deployments of a scanner source integration. Any changes or deletions affect all deployments.
{#sem-associate-finding-configuration-item-using-lookup-rules__ul_otc_h5j_yfc}

## How lookup rules work {#sem-associate-finding-configuration-item-using-lookup-rules__section_mzw_35j_yfc}

The lookup rules follow a three-step process.

1. Initial lookup: When assets or findings are imported, the system first checks the Discovered Items list using third-party IDs. If an asset ID matches, it populates the Configuration Item field in the finding record.
2. Matching process: If no asset ID match exists, the rules use other asset details to identify the correct CI. You can view mappings in the Discovered Items list.
3. Placeholder CI creation: If no match is found, a placeholder CI is created and marked as an Unmatched CI.
   * Matching starts with a vendor ID lookup across source, source_instance, and vendor ID.
   * The rules execute in ascending order and stop when a single CI match is found.
   * If the matched CI is a low-level networking element (for example, `dscy_switchport`, `cmdb_ci_network_adapter`, `cmdb_ci_nic`, or `cmdb_ci_ip_address`), the parent CI is returned.
   {#sem-associate-finding-configuration-item-using-lookup-rules__ul_bpg_1sn_jhc}
4. Rule execution: Rules run from lowest to highest priority until a single match is found. If multiple matches occur, only the first is used.
{#sem-associate-finding-configuration-item-using-lookup-rules__ol_ucf_cvj_yfc}

## Special considerations {#sem-associate-finding-configuration-item-using-lookup-rules__section_dfx_xvj_yfc}

* Excluding CI classes: A system property enables excluding certain CI classes from matching. See [Ignore CI classes](https://www.servicenow.com/docs/Y~5tUQVarsEmAHaSrR~CEw#sem-ignore-CI-classes "To ignore some configuration item (CI) classes, for example Load Balancer [cmdb_ci_lb], when running lookup rules, set the ignoreCIClass [sn_sec_cmn.ignoreCIClass] system property.") for upgrade information and instructions on setting the property.
* Parent CI return: To avoid matching low-level networking elements, the parent CI is returned if the matched CI is a network adapter, Network Interface Cards (NICs), or IP address.
{#sem-associate-finding-configuration-item-using-lookup-rules__ul_qtc_h5j_yfc}

## Lookup rules for specific integrations {#sem-associate-finding-configuration-item-using-lookup-rules__section_dp2_ctk_yfc}

Each integration plugin includes its own set of rules:

* Qualys: Qualys HOST ID, FQDN, NetBIOS, DNS, IP
* Rapid7: MacAddress, FQDN, HostName, IP
* Tenable.io: FQDN, NETBIOS, HOSTNAME, MacAddress, DNS
* Tenable.sc: MacAddress, FQDN, NETBIOS  
  Note:  
  Tenable.io lookup rules prioritize and populate the non-empty network interface values (FQDN, IPV4, and MacAddress) over the regular FQDN, IPV4, and MacAddress values for a discovered item. When these network interface values are empty, the regular FQDN, IPV4, and MacAddress values are populated for a discovered item.

{#sem-associate-finding-configuration-item-using-lookup-rules__ul_stc_h5j_yfc}  
Managing Lookup rules

* Test custom rules: Test custom or modified lookup rules to avoid performance issues.
* Deactivate instead of delete: Deactivate rules rather than deleting them to avoid data loss.
{#sem-associate-finding-configuration-item-using-lookup-rules__ul_ix1_dwj_yfc}  
If rules aren't carefully constructed, importing exposure findings data can be taxing on an instance and performance issues with resources can occur. The logic used to iterate through and perform matching within the CMDB can result in lengthy processing times. To avoid any potential degradation of resources or performance complications, test any custom-written lookup rules or modifications to pre-defined Lookup Rules. See [Steps to help prevent duplicate or orphaned records after running lookup rules](https://www.servicenow.com/docs/YO04jhqptgKwXmlEr1X~2w "Take steps to help prevent duplicate or orphan records resulting from matching (configuration items (CIs) within the CMDB.") for more information on helping prevent duplicate orphan records, deleting data, and cleaning up data.  
Note:  
For information on CI matching, see [KB0998706](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0998706).

## Reapplying updated lookup rules {#sem-associate-finding-configuration-item-using-lookup-rules__section_utc_h5j_yfc}

After updating rules, use Reapply to rerun them on unmatched or previously matched discovered items. This updates CI information in findings and detections. You can also run lookup rules on specific selected
discovered items. For more information, see [Reapply lookup rules on selected discovered items](https://www.servicenow.com/docs/Y~5tUQVarsEmAHaSrR~CEw#sem-reapply-lookup-rules-di "Reapply the lookup rules on selected discovered items from the discovered item list view select actions. If the configuration item (CI) changes after you reapply the rules, the discovered items are updated with the new CI and impacted detections. Vulnerable items are also updated.").

## Unmatched CIs and unclassed hardware {#sem-associate-finding-configuration-item-using-lookup-rules__section_vtc_h5j_yfc}

* Unmatched CIs: CIs without a match in the CMDB are listed under Discovered Items with Class set to Unmatched CI.  
  Note:  
  Each discovered item includes a Class field. If a CI is unmatched, this field is set to Unmatched CI.
* Unclassed hardware: Assets that can't be categorized by lookup rules are referred to as unclassed hardware.

{#sem-associate-finding-configuration-item-using-lookup-rules__ul_wtc_h5j_yfc}

By effectively managing lookup rules, Unified Security Exposure Management can help with identifying accurate ownership and streamlining remediation.
* **[Managing unmatched configuration items (CIs)](https://www.servicenow.com/docs/ScDDaOSm6GeGicd6x3FtOA)**   
  When assets are imported, they are automatically matched against existing CIs in your Configuration Management Database (CMDB). Assets that do not find a match are listed as 'Unmatched CIs' under Discovered Items.
* **[Managing unclassed hardware](https://www.servicenow.com/docs/hLogL~WULMJvwrE5D5iNzw)**   
  An asset is classified as unclassed hardware when it cannot be matched to an existing configuration item (CI) in the Configuration Management Database (CMDB) using defined lookup rules during import.
* **[Steps to help prevent duplicate or orphaned records after running lookup rules](https://www.servicenow.com/docs/YO04jhqptgKwXmlEr1X~2w)**   
  Take steps to help prevent duplicate or orphan records resulting from matching (configuration items (CIs) within the CMDB.

**Related concepts**   

* [Configuring lookup rules](https://www.servicenow.com/docs/Y~5tUQVarsEmAHaSrR~CEw#sem-configure-lookup-rules "By configuring lookup rules, you can map security exposure data to the correct configuration items (CIs) in the CMDB. This mapping is a critical function because associating exposure findings with the right assets is essential for proper risk assessment, assignment, and remediation workflows.")

