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.

Restrict Qualys Creating CI's in Unclassed Hardware

RamSagar
Tera Guru

How to Restrict Qualys Creating CI's in Unclassed Hardware, we have a requirement to partially stop creating the CI in Unclassed. is there a way to disable? 

 

Thanks in advance

Ram

3 REPLIES 3

Richard Nelson
Giga Guru

Hi Ram, I used a combination of the Schedule API Filter and the Class Mappings to trim and filter the data so it only brings in the records I require and for those records I ensure the target class is set.

 

For example my API filter only allows Windows Computers of the category Note Book and Desktop...

 

operatingSystem:"Windows" and (hardware.category: Computers / Desktop or hardware.category:Computers / Notebook)

 

Additionally in the Hardware CI mappings I have disabled all CI classes expect computers and those have been set with a target class of  cmdb_ci_computer. 

 

This way I avoid any unwanted device types and direct the ones I do want into the correct CI class.

 

Hope this helps?

Hi Nelson, Thank so much for you response.

Is there a way we can completely stop created the CI's in CMDB. not just partially.

Satishkumar B
Giga Sage
Giga Sage

Hi @RamSagar 

we can do this by disabling the below System property:
"sn_sec_cmn.ci_creation_through_IRE"

SatishkumarB_0-1721711216287.png

 

……………………………………………………………………………………………………

Please Mark it helpful 👍and Accept Solution✔️!! If this helps you to understand.