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": [
"dolor",
"et",
"voluptate laborum velit consectetur dolore",
"Ut ad",
"amet nostrud ad"
],
"new": "dolor ex culpa",
"old": "do commodo"
},
{
"result": true,
"parents": [
"ex non dolor",
"esse incididunt cupidatat",
"Excepteur proident quis pariatur",
"mollit deserunt",
"Duis dolor labore eu mollit"
],
"new": "minim ut in",
"old": "nulla in dolor"
},
{
"result": false,
"parents": [
"nostrud exercitation Lorem Duis tempor",
"nostrud laboris officia",
"amet mollit ipsum",
"ex ea eu"
],
"new": "laborum minim sit",
"old": "dolor deserunt commodo"
}
]
}
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"
}
}
}
}
}
}