KSC Open API  13.0
Kaspersky Security Center API description
params HostGroup::SS_Read ( wstring  strHostName,
wstring  strType,
wstring  strProduct,
wstring  strVersion,
wstring  strSection 
)

Reads data from the host settings storage.

Parameters:
strHostName(wstring) host name. Unique string generated by the server.
strType(wstring) type of storage. One of the following:
strProduct(wstring) product name. Non-empty string. Can contain no more than 31 character. Do not use the following characters: /\:*?"<>.
strVersion(wstring) version. Non-empty string. Can contain no more than 31 character. Do not use the following characters: /\:*?"<>.
strSection(std::wstrsing) section name. Non-empty string. Can contain no more than 31 character. Do not use the following characters: /\:*?"<>.
Returns:
(params) host settings.
Exceptions:
KLPRSS::NOT_EXISTspecified section that does not exist. See Some error definitions.
See also:

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")