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


---

# Closing stale detections in Vulnerability Response

# Closing stale detections in Vulnerability Response {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 8 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 Closing stale detections in Vulnerability Response

The Auto-Close Stale Detections module in Vulnerability Response helps ServiceNow customers automatically close older vulnerability detections that have not been recently found or updated by third-party scanner integrations.
This reduces the number of active vulnerable items (VIs) and remediation tasks (RTs) in your ServiceNow AI Platform, improving asset reconciliation and overall vulnerability management efficiency.
Show full answer Show less  

## Key Concepts

* **Stale detections:** Detections linked to vulnerable items that have not been detected or updated by integrations over a significant period.
* **Detections last found:** The most recent date and time a detection was identified by a third-party scanner.
* **Assets last scanned:** The most recent date and time an asset was scanned by a third-party scanner.

## Functionality and Use Case

This feature targets detections related to decommissioned or purged assets that remain open unnecessarily. It automatically closes these stale detections based on user-defined criteria such as age and detection timestamps. For example, if a detection associated with an asset ID has not been updated in 90 days, it will be auto-closed, helping to keep your vulnerability data accurate without manual intervention.

Note that only the detections identified as stale are closed; other active detections associated with the same vulnerable item remain open until remediated.

## State Rollup Logic

* Detections have statuses: Open, Closed, and Stale (new for auto-closed detections).
* Vulnerable items aggregate detection states with precedence: Open \> Closed \> Stale.
* If all detections are Stale, the VI transitions to **Closed - Stale**. If some detections remain open, the VI stays open.
* To prevent reopening of VIs when new detections arrive, the setting "Ignore stale detections for closed VIs" is enabled by default.
* Remediation tasks (VUL) roll up VI states with precedence: Open \> Closed - Fixed \> Closed - Stale.

## Third-Party Integration Requirements

The feature supports multiple integrations with specific considerations:

* **Microsoft TVM:** Requires the Microsoft TVM Machine Vulnerabilities Integration to run successfully within 7 days if using "Detections last found" as criteria. If using "Assets last scanned," the integration run is not mandatory.
* **Qualys:** Compatible with any activated Qualys vulnerability integrations without additional requirements.
* **Rapid7:** Needs a successful run of the weekly Rapid7 Comprehensive Vulnerable Item Integrations within 7 days if using "Detections last found." No requirement if using "Assets last scanned."
* **Tenable:** Works with any active Tenable Vulnerability Integration instances without special requirements.

Multiple integration instances can be deployed, and the auto-close feature applies globally across the environment.

## Upgrade Information

If upgrading from the previous Auto-Close Stale Vulnerable Items module to Auto-Close Stale Detections:

* Configured day thresholds for "Assets last scanned" and "Vulnerable items last found" are preserved automatically.
* Open detections previously marked as Closed - Stale will be transitioned to Stale upon scheduled job execution post-upgrade.
* Vulnerability items maintain or adjust their states based on detection states following the updated rollup logic.

## Next Steps for ServiceNow Customers

* Verify your third-party integrations are configured and running successfully according to your chosen search criteria.
* Enable and configure the Auto-Close Stale Detections feature to automatically clean up stale detections and optimize vulnerability management.
* Review and adjust any settings related to detection state handling, such as ignoring stale detections for closed VIs, to fit your operational needs.  
The Auto-Close Stale Detections module helps you automatically clean up older, stale
vulnerable detections not recently found by your third-party integrations. Moving these
detections to Closed reduces the number of active vulnerable items and remediation tasks in your
ServiceNow AI Platform instance and helps you reconcile assets in your CMDB.

## Overview and key terms {#vr-setup-autoclose-detections__section_r5b_jyl_qpb}

In order to more accurately roll-up detection data to your vulnerable items, the Auto-Close Stale Detections module helps you clean up older, stale vulnerable item detections not recently found by your third-party integrations.
For more information about this feature, see the use case below.

In previous versions of Vulnerability Response, the Auto-Close Vulnerable Items module
automatically transitioned vulnerable items not recently found or updated by your
third-party scanner integrations to the Closed - Stale.

Before you enable the Auto-Close Stale Detections feature, review the following terms, how
states roll up to vulnerable items and remediation tasks, and the prerequisites for your
third-party integrations that import detection data.

To enable the feature, see [Automatically close stale detections in Vulnerability Response](https://www.servicenow.com/docs/Ubde4aVAugB_GACbPBjnxg "Enable Auto-Close Stale Detections to automatically close stale vulnerable detections not recently found by your third-party integrations.").

Key terms

Stale detections
:   Refers to detections associated with vulnerable items in your ServiceNow AI Platform® instance that are aged and have not been found, updated, or
    detected by third-party integration scans for a significant amount of time.

Detections last found
:   This search option uses a date and time provided by the third-party scanner. This term
    refers to the most current, or latest date and time that detections were found again by
    the scanner.

Assets Last scanned
:   This search option uses a date and time provided by the third-party scanner. This term
    refers the most current date and time an asset was last scanned by a third-party
    scanner.

## Use case {#vr-setup-autoclose-detections__section_u31_myl_qpb}

At times, assets (configuration items) may be decommissioned in your environment or purged
by third party-scanners, and their associated detections are not updated by vulnerable item
detections. As a result, the detections and their related vulnerable items are not updated
in the Vulnerability Response application, and they become inactive (stale).

To close these aged detections that have unchanged vulnerable item data and next reduce the
number of active VIs and remediation tasks (RTs), enable Auto-Close Stale Detections. This
feature automatically closes vulnerable item detections not recently found or updated by
your third-party scanner integrations based on search criteria and an age in number of days
that you set.

As an example, suppose a particular configuration item (CI) has multiple asset IDs, and one
of these IDs has not been imported on a detection from a third-party scanner in the last 90
days. This feature automatically closes this detection that has no new vulnerability data so
the associated VI can be closed.

Since a VI can have more than one detection associated with it, this feature only
transitions the detections determined to be stale by the parameters you set. For example, if
a VI has four detections associated with it, and two detections are stale, that is, no new
vulnerability data has been imported in the last 90 days, this feature only closes the stale
detections. Before the VI can be closed, you must first remediate the other two open
detections.

## Rollup of detection states to VIs {#vr-setup-autoclose-detections__section_jpv_nyl_qpb}

To differentiate the auto-closed detections from detections closed by third-party scanners, a new value for the Status field, Stale, has been added. The possible values for this field are, Open, Closed, and Stale. Stale
indicates that a detection closed by the auto-close detection feature.

State precedence: Open \> Closed \> Stale.

1. If any detections are Open, the associated VI state remains Open.
2. If no detections are Open, some are Closed, and some are Stale, the associated VI state transitions to Closed - Fixed.
3. If all the detections are Stale, the associated VI state transitions to Closed - Stale.Starting with Vulnerability Response 20.0, if the detection is Stale and its associate VI is in Closed state, the VI's state doesn't transition to Closed - Stale. This is to avoid the VI from reopening when a new detection is identified
   so that you can avoid going through the entire false positive request and approval process. To reverse this behavior, deselect the Ignore stale detections for closed VIs check box in the Auto-Close
   Configuration form. For more information, see [Automatically close stale detections in Vulnerability Response](https://www.servicenow.com/docs/Ubde4aVAugB_GACbPBjnxg "Enable Auto-Close Stale Detections to automatically close stale vulnerable detections not recently found by your third-party integrations.").

{#vr-setup-autoclose-detections__ol_dmw_5bp_dpb}

## Rollup of VI states to remediation tasks (VUL) {#vr-setup-autoclose-detections__section_brz_pyl_qpb}

State precedence: Open \> Closed - Fixed \> Closed - Stale.

1. If any VIs in a VUL (remediation task) are Open, the VUL state is not changed.
2. If at least one VI is Closed - Fixed and the rest are Closed - Stale, the VUL state transitions to Closed - Fixed.
3. If all the VIs in a VUL are Closed - Stale, the VUL state transitions to Closed - Canceled.
4. If any VIs are closed as Closed -- False Positive, the VUL does not auto-close.

{#vr-setup-autoclose-detections__ol_wns_lcp_dpb}

For more information on state rollup and rolldown scenarios, see, [State roll-up and roll-down scenarios](https://www.servicenow.com/docs/kN4PoRUkdjZcRo_JCOso2Q "State roll-up and roll-down scenarios automatically sync the status of remediation tasks (RTs) and vulnerable items (VITs), ensuring real-time updates across both. This dynamic interaction reduces manual tracking, enhances accuracy, and provides users with an up-to-date view of progress, making vulnerability management more efficient and helping users make informed decisions quickly.").

## Auto-Close detections and third-party integration requirements {#vr-setup-autoclose-detections__section_wwk_ryl_qpb}

Microsoft TVM users and Auto-Close Stale Detections
{#vr-setup-autoclose-detections__table_p42_hzl_qpb__entry__2}

| Checklist item | Description |
|-|-|
| The Microsoft TVM Vulnerability Integration | With the Microsoft TVM Vulnerability Integration, if you select Detections last found to base your search on, this feature requires a successful run of the Microsoft TVM Machine Vulnerabilities Integration (Full import) within the last seven days. This integration runs weekly. If Auto-Close Stale Detections are enabled and configured for Detections last found, and the Microsoft TVM Machine Vulnerabilities Integration is disabled, or a data import is not successfully completed within the last seven days, the scheduled job to close detections still runs daily but some stale detections might not be closed as expected. If you select Assets last scanned to base your search on, the Microsoft TVM Machine Vulnerabilities Integration run is not required. To activate this integration: 1. Navigate to Microsoft TVM Vulnerability IntegrationAdministrationIntegration. 2. Locate and enable the Microsoft TVM Machine Vulnerabilities Integration (Full import). {#vr-setup-autoclose-detections__ol_r42_hzl_qpb} |
| (Optional) Deploy multiple instances of the Microsoft TVM integrations in your environment. | You can optionally deploy multiple instances of the integrations across your environment. Auto-Close Stale Detections is not instance-specific, and it is either enabled or disabled across your environment. Stale detections are automatically transitioned to Stale on instances that have successfully completed integration runs. If Auto-Close Stale Detections are enabled and you disable the integrations that run weekly in an instance, the scheduled job to close detections still runs daily, but some detections may not transition to Stale automatically as expected. |
[ ]

{#vr-setup-autoclose-detections__table_p42_hzl_qpb}

Qualys users and Auto-Close Stale Vulnerable Items

* Any activated Qualys third-party integrations that retrieve detection data can run with this module. There are no specific Qualys applications required.
* You can optionally deploy multiple instances of the Qualys integrations across your environment.
* Auto-Close Stale Detections is not instance-specific, and it is either enabled or disabled across your environment. Stale detections are automatically transitioned to Stale on all instances.

{#vr-setup-autoclose-detections__ul_gdx_dnh_mnb}

Rapid7 users and Auto-Close Stale Detections
{#vr-setup-autoclose-detections__table_dl5_ldp_dpb__entry__2}

| Checklist item | Description |
|-|-|
| The Rapid7 Vulnerability Integration | If you select Detections last found to base your search on, this feature requires a successful run of one of the Rapid7 Comprehensive Vulnerable Item Integrations within the last seven days. These comprehensive integrations run weekly: * For Rapid7 Nexpose data warehouse, a successful run from the Rapid7 Comprehensive Vulnerable Item Integration is required. * For Rapid7 InsightVM, a successful run from the Rapid7 Comprehensive Vulnerable Item Integration - API is required. {#vr-setup-autoclose-detections__ul_g2t_1s1_bnb} If Auto-Close Stale Detections is enabled and configured for Detections last found, and the Rapid7 Comprehensive Vulnerable Item Integrations are disabled, or a data import is not successfully completed within the last seven days, the scheduled job to close detections still runs daily but some stale detections might not be closed as expected. If you select Assets last scanned to base your search on, no comprehensive Rapid7 integration run is required. To activate these integrations: 1. Navigate to Rapid7 Vulnerability IntegrationAdministrationIntegration. 2. Locate and enable the Rapid7 Comprehensive Vulnerable Item Integration you need. {#vr-setup-autoclose-detections__ol_mzf_gx5_1nb} Note: In addition to these integrations that run weekly, Rapid7 Nexpose and Rapid7 InsightVM each have VI integrations that run daily, the Rapid7 Vulnerable Item Integration, and the Rapid7 Vulnerable Item Integration - API. If both the daily and weekly Rapid7 integrations are enabled, only one integration runs at a time. If one of these integration jobs is running, the job for the other integration is skipped until the next scheduled job. |
| (Optional) Deploy multiple instances of the Rapid7 integrations in your environment. | You can optionally deploy multiple instances of the comprehensive integrations across your environment. Auto-Close Stale Detections is not instance-specific, and it is either enabled or disabled across your environment. Stale detections are automatically transitioned to Stale on instances that have successfully completed integration runs. If Auto-Close Stale Detections is enabled and you disable the integrations that run weekly in an instance, the scheduled job to close detections still runs daily, but some detections may not transition to Stale automatically as expected. |
[ ]

{#vr-setup-autoclose-detections__table_dl5_ldp_dpb}

Tenable Vulnerability Integration users and Auto-Close Stale Vulnerable Items

* Any activated integrations from the Tenable Vulnerability Integration that retrieve detection data can run with this module. There are no specific Tenable Vulnerability Integrations required.
* You can optionally deploy multiple instances of the Tenable Vulnerability Integration across your environment.
* Auto-Close Stale Detections is not instance-specific, and it is either enabled or disabled across your environment. Stale detections are automatically transitioned to Stale on all instances.

{#vr-setup-autoclose-detections__ul_h2c_gnh_mnb}

After you verify that your integrations are configured properly, see [Automatically close stale detections in Vulnerability Response](https://www.servicenow.com/docs/Ubde4aVAugB_GACbPBjnxg "Enable Auto-Close Stale Detections to automatically close stale vulnerable detections not recently found by your third-party integrations.") to enable the feature.

## Upgrade information from Auto-Close Stale Vulnerable Items to Auto-Close Stale
Detections {#vr-setup-autoclose-detections__section_tjq_mkh_rpb}

For the Auto-Close Stale Detections module, if you previously used Auto-Close Stale Vulnerable Items:

* The value for the number of days you entered for the Assets last scanned option from Auto-Close Stale Vulnerable Items is preserved automatically for Assets last scanned in Auto-Close Stale Detections.
* The value for the number of days you entered for the Vulnerable items last found option from Auto-Close Stale Vulnerable Items is preserved automatically for Detections last found in Auto-Close Stale Detections.
* Existing open detections with Vulnerable items as Closed - Stale will be transitioned to Stale as per the auto-close close configuration settings when the Auto-Close Stale Detections scheduled job runs after upgrade.
{#vr-setup-autoclose-detections__ul_qfw_4kh_rpb}

Rollup information

* If a Vulnerable item was Closed - Stale prior to the upgrade, and all its detections are marked as Stale after upgrade, then the VI state remains Closed - Stale.
* If a Vulnerable item was Closed - Stale prior to the upgrade, and only some of its detections are marked as Stale after upgrade and the rest were closed by the scanner, then the vulnerable item transitions to Closed - Fixed as per the rollup logic.
{#vr-setup-autoclose-detections__ul_ecg_ljh_rpb}

*[\>]: and then


