#2650 Adding CERT_AND_REQUEST_LINK audit event.
Closed: wontfix Opened by edewata.

There should be a new CERT_AND_REQUEST_LINK audit event for linking certificate to certificate request (i.e. by adding extdata-req-issued-cert to certificate request record).


Metadata Update from @edewata:
- Custom field component adjusted to General
- Custom field feature adjusted to ''
- Custom field origin adjusted to Community
- Custom field proposedmilestone adjusted to ''
- Custom field proposedpriority adjusted to ''
- Custom field reviewer adjusted to ''
- Custom field type adjusted to defect
- Custom field version adjusted to ''
- Issue set to the milestone: 10.4

Metadata Update from @mharmsen:
- Issue priority set to: critical

The extdata-req-issued-cert attribute is added in the following code:

  • https://github.com/dogtagpki/pki/blob/master/base/server/cms/src/com/netscape/cms/profile/common/CAEnrollProfile.java#L208
    request.setExtData(REQUEST_ISSUED_CERT, theCert);

  • https://github.com/dogtagpki/pki/blob/master/base/server/cms/src/com/netscape/cms/servlet/csadmin/CertUtil.java#L638
    req.setExtData(IEnrollProfile.REQUEST_ISSUED_CERT, cert);

The above code only updates the request object in memory. The new audit event should be generated when the request record is updated in the database, which may happen somewhere else, or may not happen at all due to other errors.

Per discussion with alee and cfu, the cert and request linking is already covered by the existing CERT_REQUEST_PROCESSED event.

Metadata Update from @edewata:
- Issue close_status updated to: wontfix
- Issue status updated to: Closed (was: Open)

Metadata Update from @mharmsen:
- Issue set to the milestone: 10.4.5 (was: 10.4)

Metadata Update from @mharmsen:
- Issue assigned to edewata

Metadata Update from @mharmsen:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1404075, https://bugzilla.redhat.com/show_bug.cgi?id=1445532

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/2770

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.

Metadata