Is there a way to grant 'Quick Discovery' to a user without having to grant full Discovery Admin access?

trishlipe
Giga Expert

We would like to grant a few users the ability to use 'Quick Discovery' within Discovery; however, we do not want to grant full Discovery Admin access. Has anyone else needed this type of access? Is this an option?

find_real_file.png

find_real_file.png

8 REPLIES 8

Ryan Zulli
ServiceNow Employee
ServiceNow Employee

In Kingston we expose the Discovery API ::

 

https://docs.servicenow.com/bundle/kingston-it-operations-management/page/product/discovery/reference/discovery-api.html

where you could grant a user to run (or have a script run)  "discoverIpAddress()" 

Hi,

 

We are trying to make user to run the discovery just from the Quick Discovery from the Discovery Schedules. I am providing only read access so that they dont edit anything.

Thanks 

Santhu

Anshu10
Tera Contributor

Any helpful solutions to grant this access?

Hello,

You can add a new condition to the OOTB UI action(Quick Discovery). If users have read access, it should be enough for Quick Discovery. Good way would be create a group and add users who should have ability to process this UI action. gs.getUserID().isMemberOf("Group ID") - would be the best condition for it.

Alex150_1-1686743986367.png

 

There is the second option: you can customize "Discover now" ui action adding group condition or role. This UI action is available on Configuration Item Form Related Links

Alex150_2-1686744608328.png