Exclude IP List from being scanned during Discovery Schedule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2020 12:55 AM
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.
- Labels:
-
Discovery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2020 12:57 AM
Hi,
Are this IPs distributed across multiple Ranges or it is in one range?
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2020 12:58 AM
Multiple Ranges
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2020 07:23 PM
Welcome to the club, we meet on Thursdays, snacks are provided 🙂 ...lol

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2020 08:43 PM
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 skipped, so 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.
Please Mark it as Correct/helpful if it Helps you