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




agents-audit/src/main/java/org/apache/ranger/audit/provider/MiscUtil.java
Line 76 (original), 77 (patched)
<https://reviews.apache.org/r/72608/#comment309820>

    Given that the static final RANDOM_HOLDER is created here, how is the 
initialization deferred to the time of first use as indicated in the comment at 
line 871?



agents-audit/src/main/java/org/apache/ranger/audit/provider/MiscUtil.java
Lines 299 (patched)
<https://reviews.apache.org/r/72608/#comment309821>

    Although secureRandom object can be slow at times, the black-duck scan may 
flag this as a security issue.



agents-common/src/main/java/org/apache/ranger/plugin/audit/RangerDefaultAuditHandler.java
Lines 293 (patched)
<https://reviews.apache.org/r/72608/#comment309819>

    This may cause a log of warning messages. Please review.


- Abhay Kulkarni


On June 21, 2020, 9:14 p.m., Ramesh Mani wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72608/
> -----------------------------------------------------------
> 
> (Updated June 21, 2020, 9:14 p.m.)
> 
> 
> Review request for ranger, Abhay Kulkarni and Madhan Neethiraj.
> 
> 
> Bugs: RANGER-2869
>     https://issues.apache.org/jira/browse/RANGER-2869
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> RANGER-2869: Ranger audit module to provide an option to generate a UUID for 
> each audit log
> 
> 
> Diffs
> -----
> 
>   agents-audit/src/main/java/org/apache/ranger/audit/provider/MiscUtil.java 
> b7315a9 
>   
> agents-common/src/main/java/org/apache/ranger/plugin/audit/RangerDefaultAuditHandler.java
>  137fd1f 
>   
> agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerAccessResult.java
>  b82ff29 
> 
> 
> Diff: https://reviews.apache.org/r/72608/diff/1/
> 
> 
> Testing
> -------
> 
> Verified in Local vm - Audit logs has the Strict UUID when 
> "xasecure.audit.auditid.strict.uuid=true", else exisiting logic of appending 
> the UUID with sequence is happening.
> 
> 
> Thanks,
> 
> Ramesh Mani
> 
>

Reply via email to