Product documentation Docs
    • English
    • Deutsch
    • 日本語
    • 한국어
    • Français
  • More Sites
    • Now Community
    • Developer Site
    • Knowledge Base
    • Product Information
    • ServiceNow.com
    • Training
    • Customer Success Center
    • ServiceNow Support Videos
  • Log in

Product documentation

  • Home
How search works:
  • Punctuation and capital letters are ignored
  • Special characters like underscores (_) are removed
  • Known synonyms are applied
  • The most relevant topics (based on weighting and matching to search terms) are listed first in search results
Topics are ranked in search results by how closely they match your search terms
  • A match on the entire phrase you typed
  • A match on part of the phrase you typed
  • A match on ALL of the terms in the phrase you typed
  • A match on ANY of the terms in the phrase you typed

Note: Matches in titles are always highly ranked.

  • Release version
    Table of Contents
    • Security Operations
Table of Contents
Choose your release version
    Home New York Security Incident Management Security Operations Vulnerability Response Vulnerability Response setup Optional Vulnerability Response setup tasks Create, enable, or, modify Vulnerability Response auto delete rules

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

    • Save as PDF Selected topic Topic & subtopics All topics in contents
    • Unsubscribe Log in to subscribe to topics and get notified when content changes.
    • Share this page

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

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

    Before you begin

    Roles required:
    • admin: modify the auto delete rules
    • sn_vul.admin: view the auto-delete module

    Starting with v10.3, persona and granular roles are available to help you manage what users and groups can see and do in the Vulnerability Response application. For initial assignment of the persona roles in Setup Assistant, see Assign the Vulnerability Response persona roles using Setup Assistant. For more information about managing granular roles, see Manage persona and granular roles for Vulnerability Response.

    About this task

    Over time, a large amount of closed records are likely to accumulate in the VI and VG 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 VG 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 Now 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 vulnerability groups. By default, these auto delete rules are disabled so that you are required to enable 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 Vulnerability Response > Administration > Auto-Delete Rules.
      The list view is displayed.
      Vulnerability items and vulnerability groups displayed in the table.
    2. To edit: Select the delete rule for vulnerable items (sn_vul_vulnerable_item) or the rule for vulnerability groups (sn_vul_vulnerability).
    3. To create: Click New.
    4. Fill in or edit the fields on the form, as appropriate.
      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 VG rules, the age is 365 days. This age is displayed in seconds.
      Conditions Filter conditions defining the records in the VI and VG tables to which the rules apply.
    5. Select the Active option to activate a rule.
      Active check box highlighted on Auto flush form
      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 ten 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.

    Tags:

    Feedback
    On this page

    Previous topic

    Next topic

    • Contact Us
    • Careers
    • Terms of Use
    • Privacy Statement
    • Sitemap
    • © ServiceNow. All rights reserved.

    Release version
    Choose your release version

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

      • Save as PDF Selected topic Topic & subtopics All topics in contents
      • Unsubscribe Log in to subscribe to topics and get notified when content changes.
      • Share this page

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

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

      Before you begin

      Roles required:
      • admin: modify the auto delete rules
      • sn_vul.admin: view the auto-delete module

      Starting with v10.3, persona and granular roles are available to help you manage what users and groups can see and do in the Vulnerability Response application. For initial assignment of the persona roles in Setup Assistant, see Assign the Vulnerability Response persona roles using Setup Assistant. For more information about managing granular roles, see Manage persona and granular roles for Vulnerability Response.

      About this task

      Over time, a large amount of closed records are likely to accumulate in the VI and VG 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 VG 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 Now 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 vulnerability groups. By default, these auto delete rules are disabled so that you are required to enable 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 Vulnerability Response > Administration > Auto-Delete Rules.
        The list view is displayed.
        Vulnerability items and vulnerability groups displayed in the table.
      2. To edit: Select the delete rule for vulnerable items (sn_vul_vulnerable_item) or the rule for vulnerability groups (sn_vul_vulnerability).
      3. To create: Click New.
      4. Fill in or edit the fields on the form, as appropriate.
        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 VG rules, the age is 365 days. This age is displayed in seconds.
        Conditions Filter conditions defining the records in the VI and VG tables to which the rules apply.
      5. Select the Active option to activate a rule.
        Active check box highlighted on Auto flush form
        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 ten 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.

      Tags:

      Feedback

          Share this page

          Got it! Feel free to add a comment
          To share your product suggestions, visit the Idea Portal.
          Please let us know how to improve this content

          Check any that apply

          To share your product suggestions, visit the Idea Portal.
          Confirm

          We were unable to find "Coaching" in Jakarta. Would you like to search instead?

          No Yes
          • Contact Us
          • Careers
          • Terms of Use
          • Privacy Statement
          • Sitemap
          • © ServiceNow. All rights reserved.

          Subscribe Subscribed Unsubscribe Last updated: Tags: January February March April May June July August September October November December No Results Found Versions Search preferences successfully updated My release version successfully updated My release version successfully deleted An error has occurred. Please try again later. You have been unsubscribed from all topics. You are now subscribed to and will receive notifications if any changes are made to this page. You have been unsubscribed from this content Thank you for your feedback. Form temporarily unavailable. Please try again or contact  docfeedback@servicenow.com  to submit your comments. The topic you requested does not exist in the release. You were redirected to a related topic instead. The available release versions for this topic are listed There is no specific version for this documentation. Explore products Click to go to the page. Release notes and upgrades Click to open the dropdown menu. Delete Remove No selected version Reset This field is required You are already subscribed to this topic Attach screenshot The file you uploaded exceeds the allowed file size of 20MB. Please try again with a smaller file. Please complete the reCAPTCHA step to attach a screenshot
          Log in to personalize your search results and subscribe to topics
          No, thanks Login