--- title: Configuring auto-close rules description: By configuring auto-close rules, you can automate the process of closing stale detections and findings associated with retired configuration items \(CIs\).Create rules to close stale detections and findings associated with retired configuration items \(CIs\) automatically. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/security-management/sem-configure-auto-close-rules.html release: australia topic_type: concept last_updated: "2026-04-06" reading_time_minutes: 3 breadcrumb: [Configure rules to manage findings, Implement, Unified Security Exposure Management, Security Operations] --- # Configuring auto-close rules By configuring auto-close rules, you can automate the process of closing stale detections and findings associated with retired configuration items \(CIs\). The base system provides the following auto-close rules: - **Assets last scanned**: Detections associated with assets that haven’t been scanned within the last 90 days are transitioned to Stale state. - **Detections last found**: Detections that haven’t been found within the last 90 days. If you activate Detections last found record, then this feature requires a successful integration run of Rapid7 Comprehensive Vulnerable Item Integrations and Microsoft TVM Machine Vulnerabilities Integration \(Full import\) within the last seven days. Starting with v30.3.3 of USEM parallel processing for auto close rules is supported. Previously, auto close rules ran as a single sequential job. With parallel processing, the system automatically creates multiple concurrent jobs based on data volume, significantly reducing execution time for large datasets. When you enable an auto close rule, the system evaluates the number of applicable items and determines the number of parallel jobs to create automatically. Parallelism is configured in code and requires no manual setup. Configuration of auto-delete rules includes the following steps. **Parent Topic:**[Configure rules to manage findings](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/security-management/sem-configure-rules-manage-findings.md) **Related topics** [Closing stale detections and findings automatically using auto-close rules](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/security-management/sem-closing-stale-findings-automatically.md) ## Create or edit auto-close rules Create rules to close stale detections and findings associated with retired configuration items \(CIs\) automatically. ### Before you begin Role required: See [Access control lists \(ACLs\) for administration rules](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/security-management/sem-acls-for-admin-rules.md) ### Procedure 1. Navigate to **Workspaces** > **Security Exposure Management Workspace**. 2. Select **Administration** in the navigation pane. 3. Select **Review** on the **Auto-close rules** tile. 4. On the Rules page, select **Auto-close** in the navigation pane. 5. Select **New** and fill in the fields on the form:
| Field | Description |
|---|---|
| Details | |
| Name | Name of the rule. |
| Table | Name of the finding type for which the rule is being applied.**Note:** For vulnerable items \(VITs\), rules are applied to detections first, and then applied to the VITs, rather than being directly applied to the VITs. |
| Description | Description of the rule. |
| Active | Indicates whether the rule is active. |
| If this condition is met | |
| Condition fields | Filter conditions defining the records in the Findings and Remediation Task tables to which the rules apply. |
| New condition set | Adds more condition filter fields to choose from. |
| Then do this | |
| Close findings automatically | |
| Ignored deferred items | If selected, any findings or detections that are mapped to the **In-review** or **Deferred** states are ignored and not closed. If you clear this option, any findings or detections that match your criteria are closed. |