KSC Open API
Kaspersky Security Center API description
HostTagsRulesApi::UpdateRule ( wstring  szwTagValue,
params  pRuleInfo 
)

Adds/Updates host automatic tagging rule.

Parameters:
szwTagValue(wstring). tag of the rule. rule id
pRuleInfo(params) object containing rule attributes, see List of host automatic tagging rule attributes. Following attributes are required:
  • "KLHST_HTR_DN"