KSC Open API
Kaspersky Security Center API description
|
Change one or more attributes of diapason. Performs update of one or more attributes of diapason. If at least one of diapasons intersects with any of existing diapasons or is invalid then false is returned and such interval is added to "KLDPNS_ILS" array in ppInvalidIntervals.
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) oScanDiapasons = KlAkOAPI.ScanDiapasons.KlAkScanDiapasons(server) idDiapason = ... oScanDiapasons.UpdateDiapason(idDiapason, {"KLDPNS_ScanEnabled": True}) |