---
sourceDocument: Australia Security Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/security-management

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Security Management

ft:clusterId :

    - security

bundleId :

    - security

workflow :

    - Technology


---

# Create, enable, or, modify Vulnerability Response auto delete rules

# Create, enable, or, modify Vulnerability Response auto delete rules {#ariaid-title1}

* Release version: Australia
* 
* Updated March 12, 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read

You can create, enable, or, modify the delete vulnerability item (VI) and remediation
task (RT) delete rules. Use auto delete to remove older records from the VI and RT
tables.

## Before you begin

Persona and granular roles are available to help you manage what users and groups can see and do in the Vulnerability Response application. For an initial assignment of the persona roles in Setup Assistant, see [Assign the Vulnerability Response persona roles using Setup Assistant](https://servicenow-prod.fluidtopics.net/msi8kaFkGNjyRib_XBHEzQ "Assign the Vulnerability Response persona roles to groups or users with Setup Assistant."). For more information about managing granular roles, see [Manage persona and granular roles for Vulnerability Response](https://servicenow-prod.fluidtopics.net/WeKNf9YHNMJmJIA6yCsRvA "After you complete your initial assignment of persona roles using Setup Assistant, manage additional granular role assignments to users or groups from the User Administration module in your instance.").

Starting with v30.0 of Vulnerability Response, the Administration console in the Security Exposure Management Workspace enables one-stop configuration for all Unified Security Exposure Management applications, including assignment rules, classification rules, and remediation targets. It provides consistent workflows across Vulnerability Response, Application Vulnerability Response, Container Vulnerability Response, and Configuration Compliance applications. For more information, see [Configure rules to manage findings](https://servicenow-prod.fluidtopics.net/A32OZW3ZrN6IQqVoiLjK5Q "By configuring rules, you can automate, organize, and manage the lifecycle of findings. The rules help ensure scalability, data consistency, and faster response times by reducing manual intervention across large volumes of vulnerability data.").  
Roles required:

* admin: modify the auto delete rules
* sn_vul.vulnerability_admin or sn_vul.admin (deprecated): view the auto-delete module
{#enable-auto-del-vi-vg__ul_jpj_jwx_tkb}

## About this task

Over time, a large amount of closed records are likely to accumulate in the VI and
VUL tables in your instance. Many of these records may have been closed for more
than 365 days but have not been removed. Use auto delete rules to remove many of
these older, closed records. Removing these records not only significantly reduces
the number of records in the VI and VUL tables, deleting them also helps you
maintain high performance.

Although auto delete targets records by default that have been closed for 365 days,
the very first run may attempt to purge too many records in a single transaction.
Depending on the size of your environment, you may prefer to stagger the deletion
process to limit the scope of the query. For example, you might start your first run
for closed records that are older than 450 days. After that run is completed, you
might work your way down by smaller increments (425, 400, 375) until you have
reduced the number of records that are older than 365 days.

There are two rules supplied with your ServiceNow AI Platform® that
automatically delete closed records that meet specified conditions along with any
records that refer to them. One rule deletes vulnerable items, and the other rule
deletes remediation tasks. By default, these auto delete rules are disabled so that
you are required to activate them manually prior to deleting any records. You can
choose the two pre-configured rules that are provided with your instance, or, you
can create your own.

## Procedure

1. Navigate to AllVulnerability ResponseAdministrationAuto-Delete Rules.  
   The list view is displayed.
2. To edit, select the delete rule for vulnerable items (sn_vul_vulnerable_item) or the rule for remediation tasks (sn_vul_vulnerability).
3. To create a new rule, click New.
4. Fill in or edit the fields on the form, as appropriate.  
   {#enable-auto-del-vi-vg__table_bhx_bg2_wkb__entry__2}

   | Field | Description |
   |-|-|
   | Application | Name of the application in which records are being deleted. The default value is Vulnerability Response. |
   | Tablename | Name of the table for which the rule is being applied. |
   | Matchfield | Field for which the system monitors the duration. |
   | Active | Option for activating the rule. Once activated, the record can be deleted. |
   | Cascade delete | Option to delete all matching records, plus any records referring to them. If this option is not selected, only matching records are deleted, but not the records that refer to them. |
   | Age in seconds | Age of the vulnerability record to be deleted. For both VI and RT rules, the age is 365 days. This age is displayed in seconds. |
   | Conditions | Filter conditions defining the records in the VI and RT (VUL) tables to which the rules apply. |
   [ ]

   {#enable-auto-del-vi-vg__table_bhx_bg2_wkb}
5. Select the Active check box to activate a rule.  
   Once the rule is activated, the hourly platform function, Auto flush, deletes those records from the table for which the rule is activated.

   If your environment has millions, or tens of millions,
   of records that match your delete criteria, you may want to consult with ServiceNow customer support prior to enabling the auto delete rules to help you delete records using a phased process.

*[\>]: and then


