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": false,
"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": true,
"parents": [
"non mollit",
"enim et dolor",
"velit nulla"
],
"new": "mollit ut sit dolore ullamco",
"old": "nisi eiusmod voluptate qui enim"
},
{
"result": false,
"parents": [
"in enim in sit voluptate"
],
"new": "exercitation sint",
"old": "magna incididunt"
},
{
"result": false,
"parents": [
"fugiat amet ut consectetur",
"occaecat",
"ex consectetur deserunt cillum",
"labore non Ut"
],
"new": "cupidatat veniam minim Duis",
"old": "ad dolor"
},
{
"result": false,
"parents": [
"veniam anim",
"ullamco Excepteur consectetur officia adipisicing",
"cupidatat ut dolore esse tempor",
"dolore pariatur aliquip ad sit"
],
"new": "eu",
"old": "ad eiusmod"
},
{
"result": false,
"parents": [
"in nostrud consectetur ut ex",
"id mollit Excepteur",
"irure non",
"consectetur nisi reprehenderit",
"nostrud officia"
],
"new": "anim",
"old": "laborum do"
}
]
}
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"
}
}
}
}
}
}