Fang-Yu Rao has uploaded this change for review. ( http://gerrit.cloudera.org:8080/24808
Change subject: IMPALA-15341: Preserve accessType and action in Ranger's audit events ...................................................................... IMPALA-15341: Preserve accessType and action in Ranger's audit events This patch makes Impala preserve the fields of 'accessType' and 'action' in Ranger AuthzAuditEvent for CREATE/DROP ROLE and GRANT/REVOKE ROLE operations despite the behavior of RangerDefaultAuditHandler#getAuthzEvents() as described in RANGER-5594. Testing: - Revised the expected value of the affected field in AuthzAuditEvent in existing Java tests to verify both fields are preserved. Change-Id: I06eeb3caded2480ad198550bd286337b62f692c2 --- M fe/src/main/java/org/apache/impala/authorization/ranger/RangerBufferAuditHandler.java M fe/src/main/java/org/apache/impala/authorization/ranger/RangerCatalogdAuthorizationManager.java M fe/src/test/java/org/apache/impala/authorization/ranger/RangerCatalogdAuthorizationManagerTest.java 3 files changed, 54 insertions(+), 22 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/08/24808/1 -- To view, visit http://gerrit.cloudera.org:8080/24808 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I06eeb3caded2480ad198550bd286337b62f692c2 Gerrit-Change-Number: 24808 Gerrit-PatchSet: 1 Gerrit-Owner: Fang-Yu Rao <[email protected]>
