Get Hosts Hardware TPM Event Log
Retrieves the event log associated with the TPM device. if you do not have all of the privileges described as follows: - The resource HostSystem referenced by the parameter host requires Host.Tpm.Read.
Request
URLURL
Path Parameters
Path Parameters
Identifier of the host. The parameter must be an identifier for the resource type: HostSystem.
the TPM identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.hosts.hardware.Tpm.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
The event information.
{
"banks": [
{
"algorithm": "SHA256",
"pcrs": {
"key": "string"
}
}
],
"data": "string",
"truncated": false,
"type": "EFI_TCG2_EVENT_LOG_FORMAT_TCG_2"
}
The resulting PCR banks from event log replay.
Event log data in the format described by EventLog.Info.type. This field is currently required. It may be optional in a future version.
Indicates if the event log is truncated. An event log is truncated when there was insufficient memory to store one or more event entries.
The EventLog.Type enumerated type lists the event log types.
EFI_TCG2_EVENT_LOG_FORMAT_TCG_2 : TCG EFI Protocol Specification, Family “2.0”, Level 00 Revision 00.13, March 30, 2016, Section 5.2 Crypto Agile Log Entry Format.
Possible values are: EFI_TCG2_EVENT_LOG_FORMAT_TCG_2
Errors
com.vmware.vapi.std.errors.not_found : if event log is not found, or tpm is not found or host is not found.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: get