--- title: Configure rules and run an SBOM cleanup job description: Create and run a one-time cleanup rule to permanently purge older SBOM records that match the conditions you specify. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/security-management/sbom-core/vr-sbom-run-cleanup.html release: australia product: SBOM Core classification: sbom-core topic_type: task last_updated: "2026-08-31" reading_time_minutes: 3 breadcrumb: [Removing older SBOM records, Uploading and viewing your SBOM files in the SBOM Workspace, Software Bill of Materials, Unified Security Exposure Management, Security Operations] --- # Configure rules and run an SBOM cleanup job Create and run a one-time cleanup rule to permanently purge older SBOM records that match the conditions you specify. ## Before you begin The SBOM Response application is required to access the SBOM cleanup module. **Warning:** Pause all SBOM uploads and any data imports before you run a cleanup job to avoid potential conflicts. Role required: sn\_sbom\_core.admin ## About this task ## Procedure 1. Navigate to **SBOM Workspace** > **Configuration** > **SBOM cleanup**. 2. Select **Create cleanup run** if this is the first cleanup rule for your instance, or **New Cleanup run** if one or more cleanup runs already exist. Only one cleanup can run at a time. If you submit a new cleanup while another is in progress, the new cleanup is queued and runs after the current one completes. 3. In the SBOM cleanup dialog, fill out the fields to you want to use to define the cleanup scope.
| Field | Description |
|---|---|
| **Delete SBOMs older than \*** | Select the minimum age of the records to delete: **90 days**, **180 days**, **1 year**, or **2 year**. Record age is calculated using the SBOM creation date. |
| **Include all associated Product models and Business applications in the cleanup** | Selected by default. When selected, all product models and business applications that match your age condition are included in the cleanup. Deselect the **Product models to exclude** and **Business applications to exclude** fields to preserve specific product models or business applications. |
| **Product models to exclude** | Available when **Include all associated Product models and Business applications in the cleanup** is deselected. Add one or more product models, for example `glibc`, to preserve from the cleanup. |
| **Business applications to exclude** | Available when **Include all associated Product models and Business applications in the cleanup** is deselected. Add one or more business applications, for example `production-api`, `payments-core`, or `HR Portal`, to preserve from the cleanup. |
| Column | Description |
|---|---|
| Created on | Date and time the cleanup run was submitted. |
| Created by | User who submitted the cleanup run. |
| Delete SBOMs older than | Age threshold specified for the cleanup run. |
| Cleanup scope | Activated by default. When selected, all product models and business applications that match your age setting are removed. Deselect the check box and list the product models and business applications that fall within your age setting that you want skipped during the cleanup. |
| Status | Current state of the cleanup run, for example `In progress` **Note:** If you select **New cleanup run** in the Review cleanup details modal while a run is currently in process, your new run is displayed with the `Queued` state. |
| SBOM deleted | Number of SBOM records deleted so far out of the total number of records matched by the cleanup conditions, for example `20/2500`. |