The CreatorCon Call for Content is officially open! Get started here.

Discovery - Windows Credential Permissions to function

rodeliodoria
Giga Contributor

    Hey everyone! I had a question on what is the minimal permissions that Discovery needs to gather data on window devices. We are using CyberArk as an external storage and the security team refuse to provide the permissions that ServiceNOW recommends. I wanted to check with the community and see if I might have missed something on minimal requirements for Discovery to find CI's for the CMDB.

  • A domain administrator.
  • A domain user with local administrator access on the target Windows hosts.
  • A user who meets the requirements of Discovery Windows probes and permissions (Discoveryonly).
  • A user who meets the requirements of the Orchestration activity to be run (Orchestration only).
12 REPLIES 12

Dave Smith1
ServiceNow Employee
ServiceNow Employee

A similar discussion was held over here: https://community.servicenow.com/message/1133031 - and I'm somewhat in agreement with your Security team.  



Because of the way Discovery runs, it needs privileged access to obtain details of a Windows host, be it via WMI, PowerShell calls or ordinary commands.   If there's some way of permitting WMI calls to be made by a localised user that can be whitelisted from the MID Server's IP address, then best go down that route.



It's entirely possible Discovery will run using probes that do NOT require a high level of access, and as a result no domain or power-user access is needed. However, there's chance that someone will append additional probes or discovery pattern steps and these will fail as a result of insufficient privileges, so the recommendation is that the account has local admin rights (doesn't need to be domain admin) for unrestricted access to this information.



From a security point of view, it's possible to limit connectivity for this account from just the MID server(s), preventing the account from being abused.



For more info, point your security team at these two links:



Hope that helps!


Can I discovery entire client network with ITOM module? Or Can I discovery only host that have MID Server on?



Thanks


You may be better off opening this as a separate question, but.. as the MID Server needs a network line-of-sight to nodes being discovered, it can discover nodes on its network and others that it can route to.