Bug 1614839
| Summary: | CC: Enable all config audit events [rhel-7.5.z] | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jaroslav Reznik <jreznik> |
| Component: | pki-core | Assignee: | Christina Fu <cfu> |
| Status: | CLOSED ERRATA | QA Contact: | Asha Akkiangady <aakkiang> |
| Severity: | high | Docs Contact: | Marc Muehlfeld <mmuehlfe> |
| Priority: | high | ||
| Version: | 7.6 | CC: | cfu, mharmsen, msauton, ssidhaye |
| Target Milestone: | rc | Keywords: | TestCaseProvided, ZStream |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | pki-core-10.5.1-15.el7_5 | Doc Type: | Bug Fix |
| Doc Text: |
Previously, Certificate System did not log certain configuration actions in the audit log by default. As a consequence, auditors could not verify who changed the configuration. This update adds the CERT_PROFILE_APPROVAL, CONFIG_CRL_PROFILE, CONFIG_OCSP_PROFILE, CONFIG_ACL, and CONFIG_DRM,AUTHORITY_CONFIG events to the list of events enabled by default. As a result, Certificate System logs these events automatically without the need to manually add them to the configuration.
|
Story Points: | --- |
| Clone Of: | 1601569 | Environment: | |
| Last Closed: | 2018-09-25 19:07:11 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1601569 | ||
| Bug Blocks: | |||
|
Description
Jaroslav Reznik
2018-08-10 14:16:03 UTC
commit 5e9876da3fa7c1587b96e983f36ee2830398c099 (ticket-3041-audit-config-events)
Author: Christina Fu <cfu>
Date: Wed Aug 8 18:41:52 2018 -0700
Ticket #3041 Enable all config audit events
This patch enables the audit events concerning role actions (mostly config)
by default.
Two additional minor issues are also addressed:
1. keyType typos in the two profiles: caDirUserCert and caECDirUserCert
(bugzilla #1610718)
2. removing unrecommended signing algorithms
fixes: https://pagure.io/dogtagpki/issue/3041
Change-Id: I795e8437e66b59f343044eb8a974b2dd0b95ad6d
Test procedure: === For the issue described for this bug: from the review link from comment #2 above, you can see that the following audit events are turned on by default by this fix: CA: CERT_PROFILE_APPROVAL,CONFIG_CRL_PROFILE,CONFIG_OCSP_PROFILE,CONFIG_ACL,CONFIG_DRM,AUTHORITY_CONFIG KRA: CONFIG_ACL OCSP: CONFIG_ACL TKS: CONFIG_ACL TPS: CONFIG_ACL At the minimum, test if the audit event CERT_PROFILE_APPROVAL shows up as expected, as this is the one that was reported to be missing by Gossamer. To do that: As agent, disable an enrollment profile, see if the following shows up in the audit log: [AuditEvent=CERT_PROFILE_APPROVAL][SubjectID=caadmin][Outcome=Success][ProfileID=caCMCECserverCert][Op=disapprove] certificate approval As agent, now enable the same profile, and see if the following shows up in the audit log: [AuditEvent=CERT_PROFILE_APPROVAL][SubjectID=caadmin][Outcome=Success][ProfileID=caCMCECserverCert][Op=approve] certificate approval You can play with other events if there's time, but not necessary, as they should be covered by other test cases. === For the "additional" very minor changes that are not related to this bug: 1. keyType typos should now be fixed. Just test as https://bugzilla.redhat.com/show_bug.cgi?id=1610718 - caDirUserCert on CA End-Entity Page not showing RSA algorithm option in drop down. 2. removing unrecommended signing algorithms: Start pkiconsole - Certificate Manager - CRL Issuing Point - Master CRL - Format - click on the Revocation List Signing Algorithm drop-down list, and you should see that there's no more of those MD2 or MD5 algorithms. root@csqa4-guest02 ~ # pki --version PKI Command-Line Interface 10.5.1-15.el7_5 disable profile 0.http-bio-8443-exec-2 - [29/Aug/2018:05:43:15 EDT] [14] [6] [AuditEvent=ACCESS_SESSION_ESTABLISH][ClientIP=IP][ServerIP=IP][SubjectID=UID=CA_AgentV,E=CA_AgentV,CN=CA Agent User,O=Example Org][Outcome=Success] access session establish success 0.http-bio-8443-exec-2 - [29/Aug/2018:05:43:15 EDT] [14] [6] [AuditEvent=AUTH][SubjectID=CA_AgentV][Outcome=Success][AuthMgr=certUserDBAuthMgr] authentication success 0.http-bio-8443-exec-2 - [29/Aug/2018:05:43:15 EDT] [14] [6] [AuditEvent=AUTHZ][SubjectID=CA_AgentV][Outcome=Success][aclResource=certServer.ca.account][Op=login][Info=AccountResource.login] authorization success 0.http-bio-8443-exec-2 - [29/Aug/2018:05:43:15 EDT] [14] [6] [AuditEvent=ACCESS_SESSION_TERMINATED][ClientIP=IP][ServerIP=IP][SubjectID=UID=CA_AgentV,E=CA_AgentV,CN=CA Agent User,O=Example Org][Outcome=Success][Info=CLOSE_NOTIFY] access session terminated 0.http-bio-8443-exec-4 - [29/Aug/2018:05:43:15 EDT] [14] [6] [AuditEvent=ACCESS_SESSION_ESTABLISH][ClientIP=IP][ServerIP=IP][SubjectID=UID=CA_AgentV,E=CA_AgentV,CN=CA Agent User,O=Example Org][Outcome=Success] access session establish success 0.http-bio-8443-exec-4 - [29/Aug/2018:05:43:15 EDT] [14] [6] [AuditEvent=AUTHZ][SubjectID=CA_AgentV][Outcome=Success][aclResource=certServer.ca.profile][Op=approve][Info=ProfileResource.modifyProfileState] authorization success 0.http-bio-8443-exec-4 - [29/Aug/2018:05:43:15 EDT] [14] [6] [AuditEvent=CERT_PROFILE_APPROVAL][SubjectID=CA_AgentV][Outcome=Success][ProfileID=caUserCert][Op=disapprove] certificate profile approval 0.http-bio-8443-exec-4 - [29/Aug/2018:05:43:15 EDT] [14] [6] [AuditEvent=ACCESS_SESSION_TERMINATED][ClientIP=IP][ServerIP=IP][SubjectID=UID=CA_AgentV,E=CA_AgentV,CN=CA Agent User,O=Example Org][Outcome=Success][Info=CLOSE_NOTIFY] access session terminated 0.http-bio-8443-exec-6 - [29/Aug/2018:05:43:15 EDT] [14] [6] [AuditEvent=ACCESS_SESSION_ESTABLISH][ClientIP=IP][ServerIP=IP][SubjectID=UID=CA_AgentV,E=CA_AgentV,CN=CA Agent User,O=Example Org][Outcome=Success] access session establish success 0.http-bio-8443-exec-6 - [29/Aug/2018:05:43:15 EDT] [14] [6] [AuditEvent=AUTHZ][SubjectID=CA_AgentV][Outcome=Success][aclResource=certServer.ca.account][Op=logout][Info=AccountResource.logout] authorization success 0.http-bio-8443-exec-6 - [29/Aug/2018:05:43:15 EDT] [14] [6] [AuditEvent=ACCESS_SESSION_TERMINATED][ClientIP=IP][ServerIP=IP][SubjectID=UID=CA_AgentV,E=CA_AgentV,CN=CA Agent User,O=Example Org][Outcome=Success][Info=CLOSE_NOTIFY] access session terminated enable profile 0.http-bio-8443-exec-8 - [29/Aug/2018:05:44:19 EDT] [14] [6] [AuditEvent=ACCESS_SESSION_ESTABLISH][ClientIP=10.12.28.206][ServerIP=10.12.28.206][SubjectID=UID=CA_AgentV,E=CA_AgentV,CN=CA Agent User,O=Example Org][Outcome=Success] access session establish success 0.http-bio-8443-exec-8 - [29/Aug/2018:05:44:19 EDT] [14] [6] [AuditEvent=AUTH][SubjectID=CA_AgentV][Outcome=Success][AuthMgr=certUserDBAuthMgr] authentication success 0.http-bio-8443-exec-8 - [29/Aug/2018:05:44:19 EDT] [14] [6] [AuditEvent=AUTHZ][SubjectID=CA_AgentV][Outcome=Success][aclResource=certServer.ca.account][Op=login][Info=AccountResource.login] authorization success 0.http-bio-8443-exec-8 - [29/Aug/2018:05:44:19 EDT] [14] [6] [AuditEvent=ACCESS_SESSION_TERMINATED][ClientIP=10.12.28.206][ServerIP=10.12.28.206][SubjectID=UID=CA_AgentV,E=CA_AgentV,CN=CA Agent User,O=Example Org][Outcome=Success][Info=CLOSE_NOTIFY] access session terminated 0.http-bio-8443-exec-10 - [29/Aug/2018:05:44:19 EDT] [14] [6] [AuditEvent=ACCESS_SESSION_ESTABLISH][ClientIP=10.12.28.206][ServerIP=10.12.28.206][SubjectID=UID=CA_AgentV,E=CA_AgentV,CN=CA Agent User,O=Example Org][Outcome=Success] access session establish success 0.http-bio-8443-exec-10 - [29/Aug/2018:05:44:19 EDT] [14] [6] [AuditEvent=AUTHZ][SubjectID=CA_AgentV][Outcome=Success][aclResource=certServer.ca.profile][Op=approve][Info=ProfileResource.modifyProfileState] authorization success 0.http-bio-8443-exec-10 - [29/Aug/2018:05:44:19 EDT] [14] [6] [AuditEvent=CERT_PROFILE_APPROVAL][SubjectID=CA_AgentV][Outcome=Success][ProfileID=caUserCert][Op=approve] certificate profile approval 0.http-bio-8443-exec-10 - [29/Aug/2018:05:44:19 EDT] [14] [6] [AuditEvent=ACCESS_SESSION_TERMINATED][ClientIP=10.12.28.206][ServerIP=10.12.28.206][SubjectID=UID=CA_AgentV,E=CA_AgentV,CN=CA Agent User,O=Example Org][Outcome=Success][Info=CLOSE_NOTIFY] access session terminated 0.http-bio-8443-exec-12 - [29/Aug/2018:05:44:19 EDT] [14] [6] [AuditEvent=ACCESS_SESSION_ESTABLISH][ClientIP=10.12.28.206][ServerIP=10.12.28.206][SubjectID=UID=CA_AgentV,E=CA_AgentV,CN=CA Agent User,O=Example Org][Outcome=Success] access session establish success 0.http-bio-8443-exec-12 - [29/Aug/2018:05:44:19 EDT] [14] [6] [AuditEvent=AUTHZ][SubjectID=CA_AgentV][Outcome=Success][aclResource=certServer.ca.account][Op=logout][Info=AccountResource.logout] authorization success 0.http-bio-8443-exec-12 - [29/Aug/2018:05:44:19 EDT] [14] [6] [AuditEvent=ACCESS_SESSION_TERMINATED][ClientIP=10.12.28.206][ServerIP=10.12.28.206][SubjectID=UID=CA_AgentV,E=CA_AgentV,CN=CA Agent User,O=Example Org][Outcome=Success][Info=CLOSE_NOTIFY] access session terminated pki console does not show MD2 or MD5 algorithms in Revocation List Signing Algorithm drop-down list doc text looks good. thanks! Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:2759 |