Summary
Auto Fix
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 |
- |
Copied to Clipboard
{
"complianceReportId": "5c35355dbebaa82eaf8113f0",
"removeDisallowedConfig": true
}
Copied to Clipboard
{
"type": "object",
"properties": {
"complianceReportId": {
"title": "complianceReportId",
"$ref": "common#/definitions/mongoObjectId"
},
"removeDisallowedConfig": {
"title": "removeDisallowedConfig",
"type": "boolean"
}
},
"required": [
"complianceReportId",
"removeDisallowedConfig"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
remediationResult |
object |
- |
Copied to Clipboard
{
"response": [
{
"result": true,
"parents": [
"laborum",
"in",
"voluptate",
"in do nisi",
"dolore nisi ut do sint"
],
"new": "in",
"old": "laboris sit"
},
{
"result": true,
"parents": [
"et ullamco labore ut",
"eu irure nisi ea est",
"elit in non exercitation",
"cillum consequat ad non adipisicing",
"Duis ullamco voluptate in"
],
"new": "ullamco irure quis consectetur",
"old": "ut et tempor cillum reprehenderit"
},
{
"result": true,
"parents": [
"ea",
"do",
"eiusmod non consequat",
"minim in et cupidatat",
"dolore labore consequat proident tempor"
],
"new": "aliqua dolore sunt non",
"old": "cillum ullamco"
},
{
"result": false,
"parents": [
"tempor ut"
],
"new": "mollit ut",
"old": "aliquip"
},
{
"result": false,
"parents": [
"do ut pariatur"
],
"new": "nulla",
"old": "Duis esse amet exercitation"
}
]
}
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"
}
}
}
}
}
}