Exclude CI not to be discovered in Cloud discovery specially in azure discovery

Insomaniac
Kilo Expert

in cloud discovery can we exclude some CI which we don't want the discovery to discover specially the Azure discovery

 

9 REPLIES 9

SiD2
ServiceNow Employee
ServiceNow Employee

Hi @Insomaniac,

Yes of course you can. Just disable the pattern that populates the CI type that is not needed.

 

Please mark Helpful / Accept Solution so that it helps others with similar questions.

Please mark Helpful / Accept Solution so that it helps others with similar questions.

Hi @SiD2,

 

I want to skip "cmdb_ci_compute_template" discovered on Azure. Should I simply uncheck "Active" on the "Azure - Hardware Type (LP)" pattern?

 

Thanks in advance!

SiD2
ServiceNow Employee
ServiceNow Employee

Hi @Marek Meres 

 

Yes, and save and publish the pattern and in next run it doesn't execute.

 

But there's a caveat here that all further child patterns that are dependent on this pattern also doesn't get executed.

 

Please mark Helpful / Accept Solution so that it helps others with similar questions.

Thank you @SiD2 , but how can I determine which patterns depend on this pattern? In the Patter Designer I cannot find any hint.

 

If I wanted to switch off also discovering all cmdb_ci_cmp_resource should I switch off 'Azure Resource Inventory' completely? I have found this community post and this docs page suggesting switching off individual resources but as my client does not want ANY cmdb_ci_cmp_resource CIs I guess switching off the whole pattern is the right way (as removing all records from the sa_cloud_inventory_resource_whitelist would cause ALL Azure resources to be collected by the pattern.... (if I read the docs correctly)). Kindly please confirm, thank you in advance!