Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-4864

Upon performing Policy Import some of Audit Admin logs are improper

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 3.0.0, 2.5.0
    • Ranger
    • None

    Description

      Upon performing Policy Import some of the corresponding Audit Admin logs are improper.

      1. 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.
        1. Also upon clicking the log modal opens which does not show any data.
      2. 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.
      3. Upon clicking on Import End log, modal opens which shows its details, here the Export time format is wrong.

       

      Steps to repro:

      1. In Service Manager page , export the policies for all the services by clicking on top right Export button.
      2. Now import the policy by clicking on top right Import button, select the above exported policy json file, check the "Override Policy" box. 
      3. Now click on Import. Once import done check the logs in Audit Admin tab.

       

      Snapshot attached for reference.

      Attachments

        1. Screenshot from 2024-07-17 18-42-21.png
          205 kB
          Vishal Bhavsar
        2. Screenshot from 2024-07-17 18-42-46.png
          51 kB
          Vishal Bhavsar
        3. Screenshot from 2024-07-17 18-43-05.png
          179 kB
          Vishal Bhavsar
        4. Screenshot from 2024-07-17 18-43-18.png
          106 kB
          Vishal Bhavsar

        Issue Links

          Activity

            People

              rakeshgupta264 Rakesh Gupta
              vishalbhavsar Vishal Bhavsar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: