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']"
  }
}
           
          
            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",
          "examples": [
            "['warning']"
          ]
        },
        "type": {
          "type": "array",
          "examples": [
            "['required']"
          ]
        }
      }
    }
  },
  "required": [
    "complianceReportId",
    "removeDisallowedConfig"
  ],
  "additionalProperties": false
}
           
          Return
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Description | 
            
            
              
                | remediationResult | object | - | 
            
          
          
            Copied to Clipboard
            
            {
  "response": [
    {
      "result": false,
      "parents": [
        "exercitation ullamco dolore"
      ],
      "new": "deserunt enim ipsum voluptate magna",
      "old": "do"
    },
    {
      "result": true,
      "parents": [
        "aliqua nulla",
        "eu consequat incididunt reprehenderit laboris"
      ],
      "new": "incididunt qui magna aliquip labore",
      "old": "qui dolor amet"
    },
    {
      "result": false,
      "parents": [
        "Duis aute"
      ],
      "new": "Excepteur sunt",
      "old": "dolor aliqua tempor proident"
    },
    {
      "result": false,
      "parents": [
        "nisi",
        "dolor est nostrud ut"
      ],
      "new": "ullamco ex elit",
      "old": "tempor ex Excepteur magna officia"
    },
    {
      "result": false,
      "parents": [
        "sit magna quis"
      ],
      "new": "esse non tempor reprehenderit adipisicing",
      "old": "dolor anim"
    }
  ]
}
           
          
            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"
          }
        }
      }
    }
  }
}