KSC Open API
Kaspersky Security Center API description
|
Creates a new report.
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) oInfo = oReportManager.GetDefaultReportInfo(1).RetVal() # Threats report oInfo["RPT_DN"] = "My new Virus-activity report" lNewReportId = oReportManager.AddReport(oInfo).RetVal() |