[ https://issues.apache.org/jira/browse/RANGER-4864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj resolved RANGER-4864. -------------------------------------- Fix Version/s: 2.5.0 Resolution: Fixed {noformat} commit cd7f5075543d8b604440a2f73e2752baab6c5c9a (HEAD -> ranger-2.5, origin/ranger-2.5) Author: Rakesh Gupta <rakesh.gupta.dev...@gmail.com> Date: Tue Jul 23 17:22:49 2024 +0530 RANGER-4864: fixed incorrect admin audit log for policy import operation Signed-off-by: Madhan Neethiraj <mad...@apache.org> {noformat} > Upon performing Policy Import some of Audit Admin logs are improper > ------------------------------------------------------------------- > > Key: RANGER-4864 > URL: https://issues.apache.org/jira/browse/RANGER-4864 > Project: Ranger > Issue Type: Bug > Components: Ranger > Affects Versions: 2.5.0 > Reporter: Vishal Bhavsar > Assignee: Rakesh Gupta > Priority: Major > Fix For: 2.5.0 > > Attachments: Screenshot from 2024-07-17 18-42-21.png, Screenshot from > 2024-07-17 18-42-46.png, Screenshot from 2024-07-17 18-43-05.png, Screenshot > from 2024-07-17 18-43-18.png > > > Upon performing Policy Import some of the corresponding Audit Admin logs are > improper. > # While importing if we check Override Policy checkbox then it would delete > the existing policy and create new policy for the specific resource. Observed > for this action in Audit Admin tab we are seeing "Unknown" value in Action > column. > ## Also upon clicking the log modal opens which does not show any data. > # Import End Audit log should be the Last log seen in Audit Admin tab, > however here we are seeing one policy creation log after the Import log. > # Upon clicking on Import End log, modal opens which shows its details, here > the Export time format is wrong. > > Steps to repro: > # In Service Manager page , export the policies for all the services by > clicking on top right Export button. > # Now import the policy by clicking on top right Import button, select the > above exported policy json file, check the "Override Policy" box. > # Now click on Import. Once import done check the logs in Audit Admin tab. > > Snapshot attached for reference. -- This message was sent by Atlassian Jira (v8.20.10#820010)