Nia McCash
Mega Sage
Mega Sage

Are you new to Instance Scan? Are you looking to build out your Instance Scan Checks library? Do you do a lot of Service Catalog development? 

You’ve come to the right article. Here are a few Instance Scan checks, that you can easily build for yourself, to help you when working with Service Catalog development.

Delete Orphaned Variables

Sometimes when developing new Catalog Items, I find left over variables that are not used anywhere - not associated with a catalog item and also not associated with a variable set. These are unnecessary configuration that just create bloat in your system and it is likely best to not move these configurations to production.

Here’s an Instance Scan of Table Check that you can create to help you catch those orphaned variables: 

find_real_file.png

Delete Orphaned Catalog UI Policies

Similar to the above, if you forget to delete a Catalog UI Policy if you delete the Catalog Item that it belongs to, you may end up with orphaned policies - ones that do not apply to any Catalog Items or Variable Sets. These should be unnecessary and not moved to production. 

Here’s an Instance Scan of Table Check that you can create to help you catch those orphaned Catalog UI Policies: 

find_real_file.png

Delete Orphaned Catalog Client Scripts

Just like the above but for Catalog Client Scripts. I think you get the idea. Try to create this one on your own without an example. Comment below if you run into trouble.

 

For other community information on Instance Scan, I recommend checking out @Mark Roethof's excellent posts on Instance Scan.

If this article helped you, I would appreciate it if you marked it as 👍 helpful below.

 

Comments
Mark Roethof
Tera Patron
Tera Patron

Nice examples of what Instance Scan can also be used for! 

Kind regards,
Mark

Version history
Last update:
‎06-28-2022 03:34 PM
Updated by: