The yubihsm-connector is ideally suited for providing a counter on requests made to the HSM and automatically pulling logs from the HSM as needed to allow full audit logging of the HSM actions.
I'm working on my own version of this by attempting to modify the connector to be able to count the requests and call another connection that can connect and pull the logs, but I lack the expertise neccessary to do a more directly integrated solution without having to call out to an external program using libyubihsm and then connecting on a newly created API that can bypass the logging counter check for downloading the log.
The yubihsm-connector is ideally suited for providing a counter on requests made to the HSM and automatically pulling logs from the HSM as needed to allow full audit logging of the HSM actions.
I'm working on my own version of this by attempting to modify the connector to be able to count the requests and call another connection that can connect and pull the logs, but I lack the expertise neccessary to do a more directly integrated solution without having to call out to an external program using libyubihsm and then connecting on a newly created API that can bypass the logging counter check for downloading the log.