Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

What is the Discovery Status with Description "Discover CIs API"? This seems to be new to NY

DuaneNMore
Kilo Guru

SInce our Upgrade to NY I have started seeing Discovery Status with Description="Discover CIs API" with no Schedule. The Discovery Status is being created by people who don't have discovery roles and at best have cmdb_read and cmdb_query_builder roles (as well as others).

This thing runs a ServiceDiscoveryProbe against the target Endpoints. Now I discovered this because I had a couple of "@servername" Oracle Instances discovered by DiscoverySource=CredentiallessDiscovery which I was surprised by because we have mid.discovery.credentialless.enable=false

I thought it might be the "Discover Now" UI Action but that has a constraint of gs.hasRole('discovery_admin') and these people don't have that or admin.

 

 

 

1 ACCEPTED SOLUTION

robertgeen
Tera Guru

Duane I don't think this is 100% new in New York but maybe it got turned on but check Change Management. There was an option in there where when a change finished it would auto trigger a discovery of that CI. I have a feeling it's going to be something like that that is causing it. Hope this helps.

View solution in original post

7 REPLIES 7

robertgeen
Tera Guru

Duane I don't think this is 100% new in New York but maybe it got turned on but check Change Management. There was an option in there where when a change finished it would auto trigger a discovery of that CI. I have a feeling it's going to be something like that that is causing it. Hope this helps.

DuaneNMore
Kilo Guru

That is exactly it. I called one of the people who "ran" the discovery and asked him what he was doing at the time; he said closing (actually changing from Implement to Review"). I then rooted around in the Business Rules and found it; Curiously, I went and looked at the properties that might control this and they haven't changed in forever so I am guessing that there is some other behavior or attribute that wasn't present before that is making it happen.

Yeah that's my suspicion I know this was released a few versions ago so it's not a new thing in New York. Either way now you know how to control it. Happy I was able to lead you to the right spot.

By the way if you have your answer please mark a post as answered. Thanks m8!