KSC Open API
13.1
Kaspersky Security Center API description
|
Enumerates all existing reports.
For more information, see List of report attributes. See also the Python code below where the KlAkOAPI Python package is used: server = KlAkOAPI.AdmServer.KlAkAdmServer.Create("https://ksc.example.com:13299", "username", "password", verify = False) oReportManager = KlAkOAPI.ReportManager.KlAkReportManager(server) print('List of reports available on the server:') arrReportsList = oReportManager.EnumReports().RetVal() for report in arrReportsList: print ('* ID ' + str(report['RPT_ID']) + ': ' + report['RPT_DN']) |