KSC Open API  13.1
Kaspersky Security Center API description
List of extended host moving rule attributes.


"KLHST_MR_ID"paramIntRule ID.
"KLHST_MR_Group"paramIntID of destination administration group. Rule will move filtered hosts into this group.
"KLHST_MR_DN"paramStringRule display name.
"KLHST_MR_Enabled"paramBoolThe attribute accepts true if the rule is turned on.
"KLHST_MR_AutoDelete"paramBoolRule must be automatically deleted after the first launch iteration.
"KLHST_MR_Options"paramInt

Rule options. Uses one of the following values:

  • 0 - Rule affects each filtered host once.
  • 1 - Rule affects each filtered host's Network Agent once.
  • 2 - Rule affects each filtered host permanently. Filtered hosts will be "glued" to the destination group.

"KLHST_MR_Type"paramInt

Rule type. Uses one of the following values:

"KLHST_MR_Query"paramString

Host filtering expression (see Search filter syntax). Only filter by the fields listed below.

  • KLHST_WKS_FROM_UNASSIGNED
  • KLHST_WKS_STATUS
  • KLHST_WKS_WINHOSTNAME
  • KLHST_WKS_WINDOMAIN
  • KLHST_WKS_DNSNAME
  • KLHST_WKS_DNSDOMAIN
  • KLDPNS_ID
  • KLHST_WKS_IP_LONG
  • KLHST_WKS_CTYPE
  • KLHST_WKS_PTYPE
  • KLHST_WKS_OS_VER_MAJOR
  • KLHST_WKS_OS_VER_MINOR
  • KLHST_AD_ORGUNIT
  • KLHST_AD_ORGUNIT_GP
  • KLHST_NAG_INSTID

"KLHST_MR_Custom"paramParamsAny data associated with the rule. The contents depend on the rule type. See KLHST_MR_Type.
"KLHST_MR_SPECIAL"paramParams

Data for special host moving rules. May contain one of the following sub-containers: