#884 TPS Rewrite: Audit and other Logging
Closed: Fixed None Opened 10 years ago by jmagne.

Implement audit logging support for the new TPS code. Also add other types of logs as required.


old TPS audit messages (defined in audit.h) to new (defined in LogMessages.properties) can be found here:

http://pki.fedoraproject.org/wiki/TPS_Rewrite#Audit_Messages

to turn on:
log.instance.SignedAudit.logSigning=true

One example:

String auditMessage2 = CMS.getLogMessage(
             "LOGGING_SIGNED_AUDIT_TOKEN_CERT_STATUS_CHANGE_REQUEST_6",
             "cfuTest",
             ILogger.SUCCESS,
             "a00192030405060708c9",
             "0x55", "revoke", "ca1");
CMS.getAuditor().log(auditMessage2);

Convenience functions can be written later to simplify the calls for each audit event type.

pushed to master:

commit f0b112fa8d859056aaa729cda0761a1786987088

Metadata Update from @jmagne:
- Issue assigned to cfu
- Issue set to the milestone: 10.2 - 04/14 (April)

7 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/1451

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Login to comment on this ticket.

Metadata