Exclude IP List from being scanned during Discovery Schedule

suvetha3
Kilo Expert

Is there a way to exclude 20+ IP's  from being scanned during Discovery other than adding in the  "discovery_range_item_exclude" table. We have many discovery schedules and its a tedious process to enter all the 20 IP's in the exclusion list every time. Additionally, we don't want to change Script Include functions of Discovery or customizing Shazzam probes.

Any configurations that can be made in the MID Server will be helpful. 

14 REPLIES 14

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi,

Are this IPs distributed across multiple Ranges or it is in one range?

Thanks,
Ashutosh

Multiple Ranges

doug_schulze
ServiceNow Employee
ServiceNow Employee

Welcome to the club, we meet on Thursdays, snacks are provided 🙂 ...lol

Ankush Jangle1
Kilo Guru

Hello,

 

1- You will first need to define where do you want to store your exclusion list. You can choose to use the OOB table or you may want to create your own

 

2- You will need to modify the logic that executes the Discovery. Both, quick discovery and discovery schedules rely on the core script include Discovery to execute its discovery routines. You need to be careful and very much aware of what's you're doing when you're taking ownership of this script include since upgrades from ServiceNow over this script will be skippedso you better make sure the review and required merges for each upgrade are done as needed. You may also want to choose to only affect the logic that involves the Quick Discovery, if so, you could choose to modify the UI page quick_discovery and/or script include DiscoveryAjax. Still, the same warning in regards taking ownership of the script applies.

 

https://community.servicenow.com/community?id=community_question&sys_id=1ecb1123dbe2c8945ed4a851ca96...

 

Please Mark it as Correct/helpful if it Helps you