Upgrade from 5.x Version Apps
Last Updated: December 19, 2024
If you use the Service Graph Connector for Tenable for Assets and Tenable Connector apps follow the steps outlined here for upgrades to avoid any unexpected issues in the future. This process is not intended for any other applications
Required User Role: Administrator
To upgrade the application from the ServiceNow:
-
Log in to the instance and navigate to System Applications > All Available Applications > All.
-
Find the application with the filter criteria and search bar.
-
Next to the application listing, select the version to update.
-
Click Update.
-
Navigate to System Applications > All Available Applications > All.
-
A list of applications installed in the instance is displayed.
-
Locate Tenable Connector and Service Graph Connector for Tenable for Assets, select it, and under the related links, click Uninstall.
-
Navigate to System definition > Scripts - Background.
-
Run the following scripts:
-
Run the following script in global scope.
Copy
var cmdbGr = new GlideRecord("cmdb_ci");
cmdbGr.addQuery("discovery_source", "SG-TenableForAssets");
cmdbGr.query();
while(cmdbGr.next()) {
cmdbGr.discovery_source = "SG-Tenable";
cmdbGr.update();
}
var vrItemsGr = new GlideRecord("sn_vul_vulnerable_item");
vrItemsGr.addQuery("source", "Tenable.ot");
vrItemsGr.query();
while(vrItemsGr.next()) {
vrItemsGr.source = "Tenable OT Security";
vrItemsGr.update();
}
var thirdPartyVrGr = new GlideRecord("sn_vul_third_party_entry");
thirdPartyVrGr.addQuery("source", "Tenable.ot");
thirdPartyVrGr.query();
while(thirdPartyVrGr.next()) {
thirdPartyVrGr.source = "Tenable OT Security";
thirdPartyVrGr.update();
}
Note: This script is to clean the cmdb_ci, vulnerable item and vulnerability entry table records specific to Tenable.
-
Run the folllowing script in x_tsirm_tio_itsm scope.
Copy
var itsmVulTvmGr = new GlideRecord("x_tsirm_tio_itsm_vulnerability");
itsmVulTvmGr.addQuery("source", "Tenable.io");
itsmVulTvmGr.query();
while(itsmVulTvmGr.next()) {
itsmVulTvmGr.source = "Tenable Vulnerability Management";
itsmVulTvmGr.update();
}
var itsmVulTscGr = new GlideRecord("x_tsirm_tio_itsm_vulnerability");
itsmVulTscGr.addQuery("source", "Tenable.sc");
itsmVulTscGr.query();
while(itsmVulTscGr.next()) {
itsmVulTscGr.source = "Tenable Security Center";
itsmVulTscGr.update();
}
var itsmPluginTvmGr = new GlideRecord("x_tsirm_tio_itsm_plugin");
itsmPluginTvmGr.addQuery("source", "Tenable.io");
itsmPluginTvmGr.query();
while(itsmPluginTvmGr.next()) {
itsmPluginTvmGr.source = "Tenable Vulnerability Management";
itsmPluginTvmGr.update();
}
var itsmPluginTscGr = new GlideRecord("x_tsirm_tio_itsm_plugin");
itsmPluginTscGr.addQuery("source", "Tenable.sc");
itsmPluginTscGr.query();
while(itsmPluginTscGr.next()) {
itsmPluginTscGr.source = "Tenable Security Center";
itsmPluginTscGr.update();
}
Note: This script is to clean the Tenable Vulnerability and Tenable Plugin table.
-
Run the folllowing script in x_tsirm_tio_vr scope.
Copy
var vrAdditionalFindingsGr = new GlideRecord("x_tsirm_tio_vr_ve_info");
vrAdditionalFindingsGr.addQuery("source", "Tenable.ot");
vrAdditionalFindingsGr.query();
while(vrAdditionalFindingsGr.next()) {
vrAdditionalFindingsGr.source = "Tenable OT Security";
vrAdditionalFindingsGr.update();
}
Note: This script is to clean the Tenable Plugin Additional Info table.
-