Summary
Run Compliance Reports on Backups.
Description
Kick off one or more compliance checks for backups in a specified Golden Config tree.
Route
POST /configuration_manager/compliance_reports/backups
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
treeInfo |
object |
yes |
- |
backupIds |
array |
yes |
IDs of the backups to run compliance on. |
options |
object |
yes |
- |
Copied to Clipboard
{
"treeInfo": {
"treeId": "5c35355dbebaa82eaf8113f0",
"version": "v3",
"nodePath": "base/US East/Atlanta"
},
"backupIds": [
"5f9700486aa2ad95d85fc973"
],
"options": {
"bidirectional": true
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"treeInfo": {
"title": "treeInfo",
"type": "object",
"properties": {
"treeId": {
"$ref": "common#/definitions/mongoObjectId"
},
"version": {
"type": "string",
"examples": [
"v3"
]
},
"nodePath": {
"type": "string",
"examples": [
"base/US East/Atlanta"
]
}
},
"required": [
"treeId",
"version",
"nodePath"
]
},
"backupIds": {
"title": "backupIds",
"type": "array",
"items": {
"type": "string",
"title": "backupId",
"examples": [
"5f9700486aa2ad95d85fc973"
]
}
},
"options": {
"title": "options",
"type": "object",
"properties": {
"bidirectional": {
"type": "boolean"
}
}
}
},
"required": [
"treeInfo",
"backupIds",
"options"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
runComplianceBatchResult |
object |
- |
Copied to Clipboard
{
"status": 202,
"message": "compliance batch ${batchId} started",
"batchId": "5c35355dbebaa82eaf8113f0"
}
Copied to Clipboard
{
"title": "runComplianceBatchResult",
"type": "object",
"properties": {
"status": {
"type": "integer",
"const": 202
},
"message": {
"type": "string",
"examples": [
"compliance batch ${batchId} started"
]
},
"batchId": {
"$ref": "common#/definitions/mongoObjectId"
}
}
}