You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Abhishek Patil <pr...@gmail.com> on 2023/12/12 11:46:27 UTC

Review Request 74784: RANGER-4601: /xaudit/access_audit/count API does not return the proper value

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74784/
-----------------------------------------------------------

Review request for ranger, Mehul Parikh and Pradeep Agrawal.


Bugs: RANGER-4601
    https://issues.apache.org/jira/browse/RANGER-4601


Repository: ranger


Description
-------

/xaudit/access_audit/count did not work properly, and always returned the following response
{"value": "100"}
This fix addresses the issue, and ensures that the proper count is returned in the response


Diffs
-----

  security-admin/src/main/java/org/apache/ranger/rest/XAuditREST.java 36631c82c 


Diff: https://reviews.apache.org/r/74784/diff/1/


Testing
-------

Applied the patch on a cluster and made a GET request to /xaudit/access_audit/count,
and ensured that the proper count is returned in the response.


Thanks,

Abhishek Patil


Re: Review Request 74784: RANGER-4601: /xaudit/access_audit/count API does not return the proper value

Posted by Pradeep Agrawal <pr...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74784/#review226069
-----------------------------------------------------------


Ship it!




Ship It!

- Pradeep Agrawal


On Dec. 12, 2023, 11:46 a.m., Abhishek Patil wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/74784/
> -----------------------------------------------------------
> 
> (Updated Dec. 12, 2023, 11:46 a.m.)
> 
> 
> Review request for ranger, Mehul Parikh and Pradeep Agrawal.
> 
> 
> Bugs: RANGER-4601
>     https://issues.apache.org/jira/browse/RANGER-4601
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> /xaudit/access_audit/count did not work properly, and always returned the following response
> {"value": "100"}
> This fix addresses the issue, and ensures that the proper count is returned in the response
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/rest/XAuditREST.java 36631c82c 
> 
> 
> Diff: https://reviews.apache.org/r/74784/diff/1/
> 
> 
> Testing
> -------
> 
> Applied the patch on a cluster and made a GET request to /xaudit/access_audit/count,
> and ensured that the proper count is returned in the response.
> 
> 
> Thanks,
> 
> Abhishek Patil
> 
>