Users Guide
• Select a cluster profile that is applicable for the selected cluster and save the image.
Scan firmware compliance
Command: POST https://{VC IP/FQDN}/api/esx/settings/clusters/{cluster ID}/software?vmw-task=true&action=scan
{
"spec" : {
"message": "test commit"
}
}
Description: Scans all the hosts in the cluster against the cluster's desired state. The result of this operation can be queried by calling the
cis/tasks/{task-id} where the task-id is the response of this operation.
HTTP response codes: 200. For the list of all the response codes, see Response codes.
Example response:
{task ID}
Get compliance task status
Command: GET https://{VC IP/FQDN}/rest/cis/tasks/{task ID}
Description: Returns information about a task.
HTTP response codes: 200. For the list of all the response codes, see Response codes.
Example response: The following example contains only firmware non-compliance.
"result":
[
{
"value":
[
{
"value":
{
"hardware_modules":
[
{
"value":
{
"current":
{
"version": "25.5.6.0009"
},
"details":
{
"component_class": "PCI_DEVICE",
"description": "PERC H730 Mini"
} "notifications":
{
"info":
[
{
"id": "Different versions.",
"time": "2020-02-04T10:47:54.422Z",
"message":
{
"args": [],
"default_message": "Different versions.",
"id": "Different versions."
}
}
]
},
"status": "NON_COMPLIANT",
Host Management
123