KSC Open API
13.1
Kaspersky Security Center API description
|
Get all existing tag values. Retrieves all known tag values that can be set for a list item
See also Python code with use of KlAkOAPI Python package below: server = KlAkOAPI.AdmServer.KlAkAdmServer.Create("https://ksc.example.com:13299", "username", "password", verify = False) oTagsControl = KlAkOAPI.ListTags.KlAkListTags(server, 'HostsTags') oTags = oTagsControl.GetAllTags(None).RetVal() if oTags != None and len(oTags) > 0: for oObj in oTags: print("Tag: ", oObj) |