Instance Scan - How to exclude a table from Instance Scan?

Community Alums
Not applicable

When running Instance Scan Column-type check for HTML, my check is timing out, particularly it is taking a long time to scan the sys_upgrade_history_log table, which I do not care to scan.  I would like to know how to exclude this table from my check.

 

Thanks! 

1 ACCEPTED SOLUTION

Community Alums
Not applicable

I ended up opening a support ticket for this.  The proposed solution works.  I have asked the support agent where this information can be found and will update my answer accordingly. 

 

Issue:
Instance Scan - how do I exclude single table
Solution Proposed:
This property should be used to add excluded tables: glide.scan.exclusion_list.custom
If the property doesn't exist, create and add tables separated by commas. 

View solution in original post

4 REPLIES 4

Yousaf
Giga Sage

Hi Dustin,

Please refer to these links 

Want to create a column type check on Instance Scan which excludes one table

Create a table type check

 

Mark Correct or Helpful if it helps.


***Mark Correct or Helpful if it helps.***

Mark Manders
Mega Patron

Can you share your script? You should be able to just exclude that table from there (name not like ....).

If my answer helped you in any way, please then mark it as helpful.

Mark


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Community Alums
Not applicable

I ended up opening a support ticket for this.  The proposed solution works.  I have asked the support agent where this information can be found and will update my answer accordingly. 

 

Issue:
Instance Scan - how do I exclude single table
Solution Proposed:
This property should be used to add excluded tables: glide.scan.exclusion_list.custom
If the property doesn't exist, create and add tables separated by commas. 

SaschaWildgrube
ServiceNow Employee
ServiceNow Employee

The CodeSanity app contains a set of Instance Scan checks aimed at improving source code and application quality. Developers should run them before shipping a new application version.

In a large developer community there might be various opinions about which check should be applied to which application.

CodeSanity comes with a mechanism to blacklist and whitelist checks for specific application scopes.

Vote to make it part of the platform OOTB!

https://community.servicenow.com/community?id=view_idea&sysparm_idea_id=23716958db25d514904fa9fb1396...

Or install it right away:

https://www.wildgrube.com/servicenow-codesanity