- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2021 08:20 PM
Hello friends,
While running UI action named - "Reapply CI Lookup Rules" on Unmatched Discovered Items, its not showing number of records processed. It shows as all counts as 0 such as Processed, 0Updated, etc.
Does anyone have idea ?
Thanks,
Rahul
Solved! Go to Solution.
- Labels:
-
Vulnerability Response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2021 06:05 AM
Hello Rahul,
We are in the same boat. It's not working for me in DEV and yes, I'm applying this on unmatched items.
Something got changed in the code in the app upgrade or so. It's working as expected in my UAT.
Here is the code that stopping us to reapply:
reRunCILookupRules: function(srcCiSysIds) {
var discoverItemGr = new GlideRecord(Constants.TABLE.SRC_CI);
var sysIds = srcCiSysIds.split(",");
for (var i = 0; i < sysIds.length; i++) {
if (discoverItemGr.get(sysIds[i]) && discoverItemGr.source.integration.is_reapply_ci_lookup_supported)
this._processDiscoveredItem(discoverItemGr);
}
},
condition is_reapply_ci_lookup_supported is newly added. I don't have this line in my UAT code. Not sure how I got this line in DEV. I'm trying to find it in versions / history of changes.
Regards,
Krishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2021 08:51 PM
Hi,
If you are talking about selecting the Discovered items from List view and clicking the list action "Reapply", then once check for any errors in logs.
Also, do check if the job is completed or not.
Thanks,
Shivam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2021 11:57 PM
Hi rahulyamgar
I faced this for Qualys integration. I guess re-apply lookup rules on unmatched records will always be zero(unless we change unmatched ci details manually)
- I think re-apply lookup rule is taking the unmatched CI during lookup and not updating discovered item with latest found CI.
Instead try to reconcile unmatched discovered items
Correct me if I am wrong.
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2021 06:05 AM
Hello Rahul,
We are in the same boat. It's not working for me in DEV and yes, I'm applying this on unmatched items.
Something got changed in the code in the app upgrade or so. It's working as expected in my UAT.
Here is the code that stopping us to reapply:
reRunCILookupRules: function(srcCiSysIds) {
var discoverItemGr = new GlideRecord(Constants.TABLE.SRC_CI);
var sysIds = srcCiSysIds.split(",");
for (var i = 0; i < sysIds.length; i++) {
if (discoverItemGr.get(sysIds[i]) && discoverItemGr.source.integration.is_reapply_ci_lookup_supported)
this._processDiscoveredItem(discoverItemGr);
}
},
condition is_reapply_ci_lookup_supported is newly added. I don't have this line in my UAT code. Not sure how I got this line in DEV. I'm trying to find it in versions / history of changes.
Regards,
Krishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2021 06:16 AM
OK..the versions for Security Support Common are different from DEV and UAT.
DEV is 12.2.4 and UAT is 12.0.1. They changed the code in the latest update. I upgraded my Tenable Integration plugin and it resolved the issue.
Now, I see reapply CI rules working.
Regards,
Krishna