Summary
Auto remediate with additional options.
Description
Patch device configuration automatically from compliance report.
Route
No Northbound API Available
Roles
admin
apiwrite
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
complianceReportId |
string |
yes |
- |
removeDisallowedConfig |
boolean |
yes |
- |
options |
object |
no |
Additional options to specify which items to remediate. |
Copied to Clipboard
{
"complianceReportId": "5c35355dbebaa82eaf8113f0",
"removeDisallowedConfig": true,
"options": {
"severity": [
"warning"
],
"type": [
"required"
],
"skipDeviceBackup": false
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"complianceReportId": {
"title": "complianceReportId",
"$ref": "common#/definitions/mongoObjectId"
},
"removeDisallowedConfig": {
"title": "removeDisallowedConfig",
"type": "boolean"
},
"options": {
"title": "options",
"type": "object",
"properties": {
"severity": {
"type": "array",
"items": {
"type": "string",
"title": "severity",
"examples": [
"warning"
]
},
"uniqueItems": true
},
"type": {
"type": "array",
"items": {
"type": "string",
"title": "type",
"examples": [
"required"
]
},
"uniqueItems": true
},
"skipDeviceBackup": {
"type": "boolean"
}
}
}
},
"required": [
"complianceReportId",
"removeDisallowedConfig"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
remediationResult |
object |
- |
Copied to Clipboard
{
"response": [
{
"result": false,
"parents": [
"commodo ipsum enim ut",
"adipisicing Lorem incididunt",
"cupidatat in",
"irure aliqua in sed"
],
"new": "id voluptate",
"old": "do voluptate officia in mollit"
},
{
"result": false,
"parents": [
"esse Ut",
"eu amet",
"amet exercitation eu nisi ut",
"ea consequat"
],
"new": "dolore est in",
"old": "amet culpa"
},
{
"result": false,
"parents": [
"mollit consequat",
"fugiat anim in sed",
"culpa aute sed aliqua",
"deserunt in et ipsum ad",
"reprehenderit Excepteur nostrud qui eiusmod"
],
"new": "voluptate laboris",
"old": "Excepteur laboris"
},
{
"result": true,
"parents": [
"consectetur proident ex Excepteur culpa"
],
"new": "veniam",
"old": "Duis irure"
},
{
"result": false,
"parents": [
"occaecat cupidatat labore veniam",
"dolor",
"ipsum amet quis",
"commodo ad est aliquip",
"quis cillum"
],
"new": "dolore dolore ipsum",
"old": "veniam"
}
]
}
Copied to Clipboard
{
"title": "remediationResult",
"type": "object",
"properties": {
"response": {
"type": "array",
"items": {
"type": "object",
"properties": {
"result": {
"type": "boolean"
},
"parents": {
"type": "array",
"items": {
"type": "string"
}
},
"new": {
"type": "string"
},
"old": {
"type": "string"
}
}
}
}
}
}