Intel AMT Features > Access Monitor > Use Cases > Export the Audit Log Signature
CollapseAll image

Export the Audit Log Signature

The following steps describe how to export the Audit log signature.  Starting in Release 8.0, setting the signing key material is not a prerequisite to defining an Audit Log feature but it is a prerequisite to exporting the Audit Log Signature.  Therefore, ensure that the signing key material is set before invoking this or the action will fail.

1.  Retrieve the instance of AMT_AuditLog, where the “Name” key equals “Intel(r) AMT:Audit Log”.

2.  Invoke AMT_AuditALog.ExportAuditLogSignature.

 Note:

   To ensure you retrieve the correct signature, Intel recommends that you wrap the ExportAuditSignature method with the lock and unlock methods (see Lock and Unlock the Audit Log).

   Intel AMT Releases 4.0 and later support SHA1.

   Intel AMT Release 6.0 also supports SHA2-256 and SHA2-384.

 

Click here for a snippet demonstrating this step

You can execute this snippet by inserting it into the execution template found here.

  

$auditLogRef = $wsmanConnectionObject.NewReference("SELECT * FROM AMT_AuditLog WHERE Name='Intel(r) AMT:Audit Log'")

$inputObject = $auditLogRef.CreateMethodInput("ExportAuditLogSignature")

$inputObject.SetProperty("SigningMechanism", "0")

$outputObject = $auditLogRef.InvokeMethod($inputObject)

$returnValue = $outputObject.GetProperty("ReturnValue")

if($returnValue -like "0")

{

    $totalRecordCount = $outputObject.GetProperty("TotalRecordCount")

    $signatureMechanism = $outputObject.GetProperty("SignatureMechanism")

    $signature = $outputObject.GetProperty("Signature")

    $uuid = $outputObject.GetProperty("UUID")

    $fqdn = $outputObject.GetProperty("FQDN")

    $lengthOfCertificates = $outputObject.GetProperty("LengthOfCertificates")

}

 

 

Instance Diagram

Classes Used in This Flow

   AMT_AuditLog

SDK Sample

Located at:<SDK_root>\Windows\Intel_AMT\Samples\WS-Management\AccessMonitor\C++

 

See Also:

   Returning to an Unconfigured State

   View the Audit Policy Details

Copyright © 2006-2013, Intel Corporation. All rights reserved.