This guide explains how to configure the automatic archiving settings for your account.
Prerequisites
To access this feature, your Snyk API & Web plan must include the Asset Discovery entitlement.
Configuration steps
In your Snyk API & Web account, navigate to Settings > Scan Settings, and locate the ARCHIVE DISCOVERED ASSETS module.
Use the Off/On toggle to enable or disable the automatic archiving feature. By default, this feature is enabled.
In the input field, enter the number of days (from 1 to 365) an asset should be undetected before it is automatically archived. The default is 30 days.
Click SAVE to apply your changes.
Verify the outcome
Once configured, Snyk API & Web automatically moves any asset to an "Archived" state if it is not detected in any discovery scan for the number of days you specified.
You can view your archived assets at any time:
Navigate to the Discovery page.
Select the State drop-down filter.
Select Archived to see a list of all assets in that state.
Manage archived assets
Automatic reactivation: You don't need to manually reactivate assets. If a previously archived asset is detected again in a new discovery scan, Snyk API & Web automatically returns it to the "Active" state.

