KSC Open API
13.1
Kaspersky Security Center API description
|
Reads data from the host settings storage.
See also how to use the KlAkOAPI Python package: server = KlAkOAPI.AdmServer.KlAkAdmServer.Create("https://ksc.example.com:13299", "username", "password", verify = False) oHostGroup = KlAkOAPI.HostGroup.KlAkHostGroup(server) # host details strHostId = ... # get the section names oSSSections = oHostGroup.SS_GetNames(strHostId, "SS_SETTINGS", "1103", "1.0.0.0").RetVal() print("Settings dump - Begin") for oSection in oSSSections: # read each section one by one oParData = oHostGroup.SS_Read(strHostId, "SS_SETTINGS", "1103", "1.0.0.0", oSection).RetVal() print(oSection) print(oParData) print("Settings dump - End") |