Insight 5 allows to use inheritance in object type structures. Inheritance means that every child Object Type will inherit all the parent's attributes.


How enable inheritance:

  1. Create object type.
  2. Go to Object Type -> Configure -> Inheritance and tick the checkbox "Let the attributes be inherited by the subclasses".

Here you can also choose if you want to set this object type as abstract to prevent creating objects of this Object Type. It's useful in case the object type exists only to define attributes to it's children and can not contain any objects.


You will not be able to set inheritance on an already created object type structure but you can create a structure and move your objects accordingly.

 


The inheritance will work on the grandchildren and their children and so forth. It is now possible to create an object type "Host" with children "Linux Host" and "Windows Host" where the latter two inherit common attributes such as "IP Address" and "Host name" from the "Host" object type.

To make inheritance visible, we changed Insight's basic view so that it is possible to see all objects in an inheritance tree for both the current object type and all of it's children. This enables the possibility to filter and search with IQL on all children in the inheritance tree and compare them to each other.

Of course, Inheritance is something that should be visible in the graph.

  • No labels