- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 03:18 AM
Hi,
I am hoping to have some sort of alert which can alert me when a plugin is available for an update. I know that this can be viewed from the plugins page, but this UI means that you have to visit this page manually.
Is there a list view of the same page which shows which plugins require an update? I am hoping to build a scheduled report to alert me when there are updates available? Or is there some better way of tracking when updates to plugins are available?
Thanks.
Solved! Go to Solution.
- Labels:
-
Platform and Cloud Security
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 11:58 AM
And here an example of a Scan Check which could find newer store application versions.
(function (engine) {
// Define variables
var table_name = 'sys_store_app',
encoded_query = 'active=true';
// Query record
var grRecord = new GlideRecord(table_name);
grRecord.addEncodedQuery(encoded_query);
grRecord._query();
// Create scan finding
while(grRecord._next()) {
if(grRecord.version != grRecord.latest_version) {
engine.finding.setCurrentSource(grRecord);
engine.finding.increment();
}
}
})(engine);
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 08:28 AM
That sounds really good. I will look into this. Can you select which scan results should trigger stories? I am assuming instance scan may create stories for various types of findings and not just plugins which need to be updated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 11:56 AM
Creating a story is not out-of-the-box Instance Scan, although its a 5 minute task to create a Flow to do so. You could indeed have a flow which runs on every Scan Finding generated, though you could also choose to have a Flow on individual Scan Checks or grouped Scan Checks. Personally I wouldn't go for one flow which rund on every Scan Finding.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 11:58 AM
And here an example of a Scan Check which could find newer store application versions.
(function (engine) {
// Define variables
var table_name = 'sys_store_app',
encoded_query = 'active=true';
// Query record
var grRecord = new GlideRecord(table_name);
grRecord.addEncodedQuery(encoded_query);
grRecord._query();
// Create scan finding
while(grRecord._next()) {
if(grRecord.version != grRecord.latest_version) {
engine.finding.setCurrentSource(grRecord);
engine.finding.increment();
}
}
})(engine);
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2023 02:01 AM
Excellent - Thanks Mark.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2023 07:00 AM
Chaz,
In addition, there is an Admin Workspace that consolidates instance updates - see screenshot below:
Located under the Admin tab
From there it will drill you down to the Plugins page.
