KSC Open API  13.1
Kaspersky Security Center API description
Format of the KLHST_MR_SPECIAL_AD host moving rule container

The container KLHST_MR_SPECIAL_AD must contain the following variables:


"KLHST_MR_SPECIAL_AD_MOVE_TO_SUBGROUPS"paramBoolUsed for moving hosts into subgroups for Active Directory computers that are located in the subunits of the "KLHST_MR_SPECIAL_AD_OUID" organizational unit (OU).
"KLHST_MR_SPECIAL_AD_CREATE_SUBGROUPS"paramBoolCreate subgroups for subunits if true and a subgroup does not already exist. Otherwise, existing groups are used. This is ignored if KLHST_MR_SPECIAL_AD_MOVE_TO_SUBGROUPS is false.
"KLHST_MR_SPECIAL_AD_DELETE_SUBGROUPS"paramBool

Delete subgroups that do not have a corresponding OU (supported since 10SP1). If this attribute is set, the rule creates 'AD structure representation':

  • Subgroups that correspond to organization units will be automatically created with the attributes grp_part_of_ad_view_by_rule, and grp_part_of_ad_view_by_rule_name.
  • Subgroups that do not have corresponding organization units will be deleted.

Ignored if KLHST_MR_SPECIAL_AD_MOVE_TO_SUBGROUPS is false. Ignored if KLHST_MR_SPECIAL_AD_CREATE_SUBGROUPS is false.

"KLHST_MR_SPECIAL_AD_OUID"paramIntID of the OU. Ignored if KLHST_MR_SPECIAL_AD_MOVE_TO_SUBGROUPS is false.