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": false,
"parents": [
"nulla mollit commodo in elit",
"ipsum reprehenderit",
"anim",
"veniam",
"mollit anim sint Duis qui"
],
"new": "est amet et aliquip",
"old": "aute"
},
{
"result": false,
"parents": [
"ad tempor et officia"
],
"new": "do in",
"old": "aliquip ad"
},
{
"result": true,
"parents": [
"eu dolore consectetur cupidatat ea"
],
"new": "fugiat Excepteur consectetur aute",
"old": "occaecat veniam tempor deserunt"
},
{
"result": true,
"parents": [
"et",
"commodo irure dolore eu",
"elit Lorem est"
],
"new": "officia Excepteur",
"old": "sed voluptate adipisicing consectetur irure"
}
]
}
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"
}
}
}
}
}
}