Skip to main content

getManuallyApprovedPatches

This method returns a list of manually approved patches from the endpoints of a specific company.

In order for this method to find all patches, you need to manually run a Patch Scan task on all endpoints of the target company.

Parameters

Parameter

Type

Optional

Description

companyId

String

No

The ID of the company you want to retrieve the patches for.

Default value: the company the API key used to make the request belongs to.

Return value

This method returns an Object containing information the manually approved patches that were found on the company's endpoints. The returned object contains:

Attribute

Type

Description

name

String

The name of the patch.

patchId

String

The ID of the patch.

isIgnored

Boolean

Indicates if the patch is ignored for this company.

Example

Request

{
 "id": "a7f1d11d-3c94-47f0-a599-b48d2fc44241",
 "jsonrpc": "2.0",
 "method": "getManuallyApprovedPatches",
 "params": {
 "companyId": "6641b5febabe7ded290728b2"
 }
}

Response

{
	"result": [
		{
			"patchId": "{00016C6E-0000-0000-0000-000000000000}",
			"name": "windows6.0-2008-SP2-kb3174644-x64.msu",
			"isIgnored": true
		},
		{
			"patchId": "{0001354A-0000-0000-0000-000000000000}",
			"name": "Windows8.1-2012-R2-KB3123479-x64.msu",
			"isIgnored": false
		},
		{
			"patchId": "{0001BB19-0000-0000-0000-000000000000}",
			"name": "VMware-workstation-full-12.5.8-7098237.exe",
			"isIgnored": false
		},
		...
	]
}