Re: Review Request 75345: RANGER-4983 : Ranger Audit Filter for the HBase service is not working as expected

2025-01-23 Thread Brijesh Bhalala

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


Ship it!




Ship It!

- Brijesh Bhalala


On Jan. 23, 2025, 11:14 a.m., Dhaval Rajpara wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/75345/
> ---
> 
> (Updated Jan. 23, 2025, 11:14 a.m.)
> 
> 
> Review request for ranger, bhavik patel, Brijesh Bhalala, Dineshkumar Yadav, 
> Madhan Neethiraj, Mehul Parikh, Mugdha Varadkar, Pradeep Agrawal, and Vishal 
> Bhavsar.
> 
> 
> Bugs: RANGER-4983
> https://issues.apache.org/jira/browse/RANGER-4983
> 
> 
> Repository: ranger
> 
> 
> Description
> ---
> 
> Steps to repro 
>  # Login to hbase shell via hbase user and create below tables
> 
> create 'RitTable1', 'personal', 'medical','finance'
> 
> put 'RitTable1', '1', 'personal:fname', 'Mike' {code}
> 
>  # create allow policy in Ranger for above resources to user systest 
> (attached screenshot)
> 
>  # add audit filter in hbase service for above resource and user (attached 
> screenshot)
> 
>  # login to hbase shell via systest user and run below command
> 
> scan 'RitTable1' {code}
> 
>  # Ranger audits are getting generated for the above command.
> 
> Expected result :  No audit is expected to be generated for the above command.
> 
> 
> Diffs
> -
> 
>   
> security-admin/src/main/webapp/react-webapp/src/views/ServiceManager/ServiceDefinition.jsx
>  188e1a0f5 
>   
> security-admin/src/main/webapp/react-webapp/src/views/ServiceManager/ServiceForm.jsx
>  3515198cb 
>   
> security-admin/src/main/webapp/react-webapp/src/views/ServiceManager/ServiceViewDetails.jsx
>  9ac234474 
> 
> 
> Diff: https://reviews.apache.org/r/75345/diff/1/
> 
> 
> Testing
> ---
> 
> Tested that after patch Audit filter value properly pass on backend side and 
> we will get correct value of include and exclude flag for resources.
> 
> 
> Thanks,
> 
> Dhaval Rajpara
> 
>



Re: Review Request 75345: RANGER-4983 : Ranger Audit Filter for the HBase service is not working as expected

2025-01-23 Thread Mugdha Varadkar

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


Ship it!




Ship It!

- Mugdha Varadkar


On Jan. 23, 2025, 4:44 p.m., Dhaval Rajpara wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/75345/
> ---
> 
> (Updated Jan. 23, 2025, 4:44 p.m.)
> 
> 
> Review request for ranger, bhavik patel, Brijesh Bhalala, Dineshkumar Yadav, 
> Madhan Neethiraj, Mehul Parikh, Mugdha Varadkar, Pradeep Agrawal, and Vishal 
> Bhavsar.
> 
> 
> Bugs: RANGER-4983
> https://issues.apache.org/jira/browse/RANGER-4983
> 
> 
> Repository: ranger
> 
> 
> Description
> ---
> 
> Steps to repro 
>  # Login to hbase shell via hbase user and create below tables
> 
> create 'RitTable1', 'personal', 'medical','finance'
> 
> put 'RitTable1', '1', 'personal:fname', 'Mike' {code}
> 
>  # create allow policy in Ranger for above resources to user systest 
> (attached screenshot)
> 
>  # add audit filter in hbase service for above resource and user (attached 
> screenshot)
> 
>  # login to hbase shell via systest user and run below command
> 
> scan 'RitTable1' {code}
> 
>  # Ranger audits are getting generated for the above command.
> 
> Expected result :  No audit is expected to be generated for the above command.
> 
> 
> Diffs
> -
> 
>   
> security-admin/src/main/webapp/react-webapp/src/views/ServiceManager/ServiceDefinition.jsx
>  188e1a0f5 
>   
> security-admin/src/main/webapp/react-webapp/src/views/ServiceManager/ServiceForm.jsx
>  3515198cb 
>   
> security-admin/src/main/webapp/react-webapp/src/views/ServiceManager/ServiceViewDetails.jsx
>  9ac234474 
> 
> 
> Diff: https://reviews.apache.org/r/75345/diff/1/
> 
> 
> Testing
> ---
> 
> Tested that after patch Audit filter value properly pass on backend side and 
> we will get correct value of include and exclude flag for resources.
> 
> 
> Thanks,
> 
> Dhaval Rajpara
> 
>



Review Request 75345: RANGER-4983 : Ranger Audit Filter for the HBase service is not working as expected

2025-01-23 Thread Dhaval Rajpara

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

Review request for ranger, bhavik patel, Brijesh Bhalala, Dineshkumar Yadav, 
Madhan Neethiraj, Mehul Parikh, Mugdha Varadkar, Pradeep Agrawal, and Vishal 
Bhavsar.


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


Repository: ranger


Description
---

Steps to repro 
 # Login to hbase shell via hbase user and create below tables

create 'RitTable1', 'personal', 'medical','finance'

put 'RitTable1', '1', 'personal:fname', 'Mike' {code}

 # create allow policy in Ranger for above resources to user systest (attached 
screenshot)

 # add audit filter in hbase service for above resource and user (attached 
screenshot)

 # login to hbase shell via systest user and run below command

scan 'RitTable1' {code}

 # Ranger audits are getting generated for the above command.

Expected result :  No audit is expected to be generated for the above command.


Diffs
-

  
security-admin/src/main/webapp/react-webapp/src/views/ServiceManager/ServiceDefinition.jsx
 188e1a0f5 
  
security-admin/src/main/webapp/react-webapp/src/views/ServiceManager/ServiceForm.jsx
 3515198cb 
  
security-admin/src/main/webapp/react-webapp/src/views/ServiceManager/ServiceViewDetails.jsx
 9ac234474 


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


Testing
---

Tested that after patch Audit filter value properly pass on backend side and we 
will get correct value of include and exclude flag for resources.


Thanks,

Dhaval Rajpara