Deleting Tenable Applications and Data
You may need to delete your Tenable applications and data when upgrading ServiceNow from versions 3.0 and earlier to versions 4.0 and later.
To delete current Tenable applications and data:
Disable all Tenable connectors and their associated or scheduled jobs.
Run the following commands in Scripts > Background to delete records:
Delete all Assets Pending Approval (Tenable-specific legacy asset class).
//Assets Pending Approval cleanup x_tsirm_tio_cmdb_tio_disc_ci var apa = new GlideMultipleDelete('x_tsirm_tio_cmdb_tio_disc_ci'); apa.execute();
Delete all Tenable Asset Attribute records.
//Asset Attributes cleanup x_tsirm_tio_cmdb_asset_attributes var assetInfo = new GlideMultipleDelete('x_tsirm_tio_cmdb_asset_attributes'); assetInfo.execute();
Delete all Tenable-specific IRE records.
//Clean up source uniqueness. This will force IRE matching var assetSysSource = new GlideMultipleDelete(“sys_object_source”); assetSysSource.addQuery(“name”, “STARTSWITH”, “Tenable”); assetSysSource.execute();
Delete all Tenable vulnerability items.
var vi = new GlideMultipleDelete('sn_vul_vulnerable_item'); vi.addQuery(“source”, “STARTSWITH”, “Tenable”); vi.execute();
Uninstall the Tenable applications.
This process provides a cleaner starting point and removes any corrupted data, if present. From here, you can either reinstall the Tenable applications, or install the ServiceNow-built Vulnerability Response (VR) app.
Reinstall Tenable-built Applications
Choose this option if you are not using ServiceNow’s VR application. For more information, see the Install page.