URL
POST https://{api-url}/api/v2/tenants/{tenantId}/patches/rating/{intgId}/feed
Provide the patch feed UID used when installing the patch feed integration in field {intgld}.
Sample URLs
https://{api-url}/api/v2/tenants/client_93/patches/rating/INTG-b2e4e85c-b5d8-4cce-a0c0-2d4d3ec846d3/feed
Parameters
Field | Data Type | Description |
---|---|---|
rating | String | Patch rating. Supported Values: WHITELISTED, BLACKLISTED |
id | String | ID of patch for which you wish to assign a rating and provide qualifications. To fetch patch IDs of a tenant, use the Search Patches API. Example: PATCH-0be4130a-77bf-460e-b2c7-52906f86da5d |
comments | String | (Optional) Comments for the rating. |
cve | String | (Optional) Common Vulnerabilities and Exposures ID. Example: CVE-1999-0067 |
Sample request
[
{
"id": "042761ba-542e-4a7a-8e38-3ebbea7eeb16"
},
{
"id": "023471da-698b-3a2e-1e93-6dbaca8eea23"
},
{
"id": "855eb82e-3064-40a1-a26e-77efabe300da"
}
]
Sample response
{
"comments": "Test feed api",
"createdUser": {
"loginName": "opsramp_api_user",
"lastName": " ",
"firstName": "API User",
"email": "helpdesk@opsramp.com"
},
"updatedUser": {
"loginName": "opsramp_api_user",
"lastName": " ",
"firstName": "API User",
"email": "helpdesk@opsramp.com"
},
"createdTime": "2020-05-04T06:15:13+0000",
"updatedTime": "2020-05-04T14:52:00+0000",
"rating": "BLACKLISTED",
"patch": {
"id": "PATCH-8da8bb37-9e77-3a26-e0f2-23251b19ff1a",
"name": "Dummy Patch Name4",
"externalId": "10004",
"category": "Critical Updates - Windows 7",
"releaseTime": "2020-01-21T10:23:37+0000",
"type": "WINDOWS",
"rebootRequired": false
},
"id": "PR-1bb8f7f5-b4d1-445f-a089-582724ac0407"
}