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": false
}
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": [
"quis esse Excepteur",
"quis deserunt",
"commodo",
"labore amet nulla"
],
"new": "in quis labore",
"old": "aliquip pariatur"
},
{
"result": true,
"parents": [
"ex",
"ea aliqua"
],
"new": "aute labore culpa deserunt",
"old": "deserunt"
},
{
"result": false,
"parents": [
"anim eiusmod culpa",
"qui id in"
],
"new": "qui quis adipisicing",
"old": "dolor dolore nulla"
},
{
"result": false,
"parents": [
"ad eu cupidatat in"
],
"new": "ea",
"old": "adipisicing Duis aliquip incididunt"
}
]
}
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"
}
}
}
}
}
}