KSC Open API
Kaspersky Security Center API description
|
Interface for working with application updates and vulnerabilities. More...
Public Member Functions | |
GetEulasIdsForPatchPrerequisites (long llPatchGlobalId, int nLCID,[out] array pEulasIds) | |
Requests the set of EULA ids for the distributives/patches which are required to install the given patch. | |
GetSupportedLcidsForPatchPrerequisites (long llPatchGlobalId, int nOriginalLcid,[out] array pLcids) | |
Gets all LCIDs supported by distributives/patches which are required to install the given patch. | |
DownloadPatchAsync (long llPatchGlbId, int nLcid, wstring wstrRequestId) | |
Download 3-party patch to save locally. | |
CancelDownloadPatch (wstring wstrRequestId) | |
Cancel the patch downloading started by DownloadPatchAsync(). | |
GetDownloadPatchResult (wstring wstrRequestId,[out] wstring wstrFileName,[out] int nSize) | |
Get the information on the patch download result. | |
binary | GetDownloadPatchDataChunk (wstring wstrRequestId, int nStartPos, int nSizeMax) |
Get the downloaded patch body chunk. | |
DeleteFilesForUpdates (array pUpdatesIds, wstring wstrRequestId) | |
Cleanup all the files in all the server storages containing the bodies of the given patches. The operation progress is reported by 'KLEV_EventAsyncState' events. | |
DeleteFilesForAllMicrosoftUpdates (wstring wstrRequestId) | |
Cleanup files for all Microsoft updates in all the server storages. The operation progress is reported by 'KLEV_EventAsyncState' events. | |
DeleteFilesForAll3rdPartyUpdates (wstring wstrRequestId) | |
Cleanup files for all 3rd-party updates in all the server storages. The operation progress is reported by 'KLEV_EventAsyncState' events. | |
DeleteFilesForAllUpdates (wstring wstrRequestId) | |
Cleanup files for all (Microsoft and 3rd-party) updates in all the server storages. The operation progress is reported by 'KLEV_EventAsyncState' events. | |
CancelDeleteFilesForUpdates (wstring wstrRequestId) | |
Cancel the files cleanup process initiated by DeleteFilesForUpdates() call. | |
int | GetAttributesSetVersionNum () |
Returns edition of supported attributes, KLVAPM::EAttributesSetVersion. | |
InitiateDownload () | |
GetUpdateSupportedLanguagesFilter (int nUpdateSource,[out] array pSupportedLanguages) | |
Get filter of supported languages for software update. | |
GetPendingRulesTasks ([out] array pTasksIds) | |
Get identities of VAPM tasks which rules are still being processed. | |
ChangeApproval (array pUpdates, int nApprovementState) | |
Changes updates approval. | |
GetEulasIdsForUpdates (array pUpdates, int nLcid,[out] array pEulaIds) | |
Requests the set of EULA ids for the given set of updates. | |
GetEulaParams (int nEulaId,[out] params pEulaParams) | |
Requests EULA params. | |
GetEulasInfo (array pUpdates, int nLcid,[out] array pEulasInfo) | |
Requests the set of EULA descriptors for the given set of updates. | |
AcceptEulas (array pEulaIDs) | |
Accepts given EULAs. current list of accepted EULAs can be accessed from Accepted EULAs SRView. | |
DeclineEulas (array pEulaIDs) | |
Decline given EULAs. | |
ChangeVulnerabilityIgnorance (wstring wstrVulnerabilityUid, wstring wstrHostId, boolean bIgnore) | |
Changes "ignore" state of a vulnerability. | |
SetPackagesToFixVulnerability (wstring wstrVulnerabilityUid, array pPackages, params pParams) | |
Set custom packages as patches for a vulnerability. Not supported in KSC Hosted mode. | |
array | GetEulasIdsForVulnerabilitiesPatches (array pVulnerabilities, int nLCID) |
Requests set of EULA ids for the given set of vulnerabilities. |
Interface for working with application updates and vulnerabilities.