Profile Compliance Manager Query Compliance Status
Query the compliance status based on Profile and Entity filter.
Required privileges: System.View
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case ProfileComplianceManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"profile": [
{
"_typeName": "string",
"type": "string",
"value": "string"
}
],
"entity": [
{
"_typeName": "string",
"type": "string",
"value": "string"
}
]
}
If specified, compliance result for the specified profiles will be returned. This acts like a filtering criteria for the ComplianceResults based on specified profiles.
If specified, compliance results for these entities will be returned. This acts like a filtering criteria for the ComplianceResults based on entities.
ComplianceResult. ComplianceResult information may not be available for all the entities. If the ComplianceResult is not available already, a new ComplianceCheck will not be triggered.
[
{
"_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"
}
}
]
}
]
}
]