ComplianceResult

ComplianceResult
ComplianceResult

DataObject representing the result from a ComplianceCheck

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "profile": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "complianceStatus": "string",
    "entity": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "checkTime": "string",
    "failure": [
        {
            "_typeName": "string",
            "failureType": "string",
            "message": {
                "_typeName": "string",
                "key": "string",
                "arg": [
                    {
                        "_typeName": "string",
                        "key": "string",
                        "value": {
                            "_typeName": "string"
                        }
                    }
                ],
                "message": "string"
            },
            "expressionName": "string",
            "failureValues": [
                {
                    "_typeName": "string",
                    "comparisonIdentifier": "string",
                    "profileInstance": "string",
                    "hostValue": {
                        "_typeName": "string"
                    },
                    "profileValue": {
                        "_typeName": "string"
                    }
                }
            ]
        }
    ]
}
profile
Optional

Reference to an instance of the Profile managed object.

string
complianceStatus
Required

Indicates the compliance status of the entity.

See @link Status

entity
Optional

Reference to an instance of the ManagedEntity managed object.

string As date-time As date-time
checkTime
Optional

Time at which compliance check was last run on the entity

failure
Optional

If complianceStatus is non-compliant, failure will contain additional information about the compliance errors.