KSC Open API  13.1
Kaspersky Security Center API description
HostGroup::UpdateIncident ( int  nId,
params  pData 
)

Modifies properties of an existing incident.

Parameters:
nId(int) incident ID.
pData(params) container with the incident attributes. See Remarks below.

Remarks:
The following attributes can be updated:

  • "KLINCDT_BODY"
  • "KLINCDT_SEVERITY"
  • "KLINCDT_ADDED"
  • "KLINCDT_IS_HANDLED"

The following attributes cannot be updated:

  • "KLINCDT_ID"
  • "KLHST_WKS_HOSTNAME"
  • "GNRL_EXTRA_PARAMS"
Note:
KLHST_WKS_HOSTNAME must be set.


See List of the incident attributes.

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)
            # ID of the incident to change attributes
            lId = ...
            # change the incident attributes
            oHostGroup.UpdateIncident(lId, {"KLINCDT_BODY": "New test incident body"})