You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Fatima Khan <fa...@gmail.com> on 2018/05/15 10:25:33 UTC

Review Request 67056: RANGER-2100 : REST API to get count of total services, policies, users, groups and various mapping.

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

Review request for ranger, Don Bosco Durai, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Pradeep Agrawal, Ramesh Mani, Selvamohan Neethiraj, and Sailaja Polavarapu.


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


Repository: ranger


Description
-------

This API will get the details analytics for the following
1. Count of Services created for each type of service
2. Number of policies by Service Types along with Service Name: # of resource policies, tag-based policies, masking policies, row filtering policies
3. Number of Audit Events by Service Type: size of solr index, number of denial events and number of access events
4. Number of groups and users synced
5. Policy DB type and version: MySQL, Oracle..
6. Context enrichers: Number and type used.
7. Count of Deny conditions for resources.


Diffs
-----

  security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java c819ea4 
  security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java 2181913 
  security-admin/src/main/java/org/apache/ranger/security/context/RangerAPIList.java 0f96453 
  security-admin/src/main/java/org/apache/ranger/view/VXMetricPolicyWithServiceNameCount.java PRE-CREATION 
  security-admin/src/main/java/org/apache/ranger/view/VXMetricServiceNameCount.java PRE-CREATION 
  security-admin/src/test/java/org/apache/ranger/biz/TestServiceDBStore.java 28651cf 
  security-admin/src/test/java/org/apache/ranger/rest/TestServiceREST.java b1417d7 


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


Testing
-------

Tested with all the combination of curl commands possible for analytics.


Thanks,

Fatima Khan


Re: Review Request 67056: RANGER-2100 : REST API to get count of total services, policies, users, groups and various mapping.

Posted by Velmurugan Periasamy <vp...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/67056/#review203127
-----------------------------------------------------------


Ship it!




Ship It!

- Velmurugan Periasamy


On May 15, 2018, 10:25 a.m., Fatima Khan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/67056/
> -----------------------------------------------------------
> 
> (Updated May 15, 2018, 10:25 a.m.)
> 
> 
> Review request for ranger, Don Bosco Durai, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Pradeep Agrawal, Ramesh Mani, Selvamohan Neethiraj, and Sailaja Polavarapu.
> 
> 
> Bugs: RANGER-2100
>     https://issues.apache.org/jira/browse/RANGER-2100
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> This API will get the details analytics for the following
> 1. Count of Services created for each type of service
> 2. Number of policies by Service Types along with Service Name: # of resource policies, tag-based policies, masking policies, row filtering policies
> 3. Number of Audit Events by Service Type: size of solr index, number of denial events and number of access events
> 4. Number of groups and users synced
> 5. Policy DB type and version: MySQL, Oracle..
> 6. Context enrichers: Number and type used.
> 7. Count of Deny conditions for resources.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java c819ea4 
>   security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java 2181913 
>   security-admin/src/main/java/org/apache/ranger/security/context/RangerAPIList.java 0f96453 
>   security-admin/src/main/java/org/apache/ranger/view/VXMetricPolicyWithServiceNameCount.java PRE-CREATION 
>   security-admin/src/main/java/org/apache/ranger/view/VXMetricServiceNameCount.java PRE-CREATION 
>   security-admin/src/test/java/org/apache/ranger/biz/TestServiceDBStore.java 28651cf 
>   security-admin/src/test/java/org/apache/ranger/rest/TestServiceREST.java b1417d7 
> 
> 
> Diff: https://reviews.apache.org/r/67056/diff/1/
> 
> 
> Testing
> -------
> 
> Tested with all the combination of curl commands possible for analytics.
> 
> 
> Thanks,
> 
> Fatima Khan
> 
>


Re: Review Request 67056: RANGER-2100 : REST API to get count of total services, policies, users, groups and various mapping.

Posted by Mehul Parikh <me...@freestoneinfotech.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/67056/#review203129
-----------------------------------------------------------


Ship it!




Ship It!

- Mehul Parikh


On May 15, 2018, 10:25 a.m., Fatima Khan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/67056/
> -----------------------------------------------------------
> 
> (Updated May 15, 2018, 10:25 a.m.)
> 
> 
> Review request for ranger, Don Bosco Durai, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Pradeep Agrawal, Ramesh Mani, Selvamohan Neethiraj, and Sailaja Polavarapu.
> 
> 
> Bugs: RANGER-2100
>     https://issues.apache.org/jira/browse/RANGER-2100
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> This API will get the details analytics for the following
> 1. Count of Services created for each type of service
> 2. Number of policies by Service Types along with Service Name: # of resource policies, tag-based policies, masking policies, row filtering policies
> 3. Number of Audit Events by Service Type: size of solr index, number of denial events and number of access events
> 4. Number of groups and users synced
> 5. Policy DB type and version: MySQL, Oracle..
> 6. Context enrichers: Number and type used.
> 7. Count of Deny conditions for resources.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java c819ea4 
>   security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java 2181913 
>   security-admin/src/main/java/org/apache/ranger/security/context/RangerAPIList.java 0f96453 
>   security-admin/src/main/java/org/apache/ranger/view/VXMetricPolicyWithServiceNameCount.java PRE-CREATION 
>   security-admin/src/main/java/org/apache/ranger/view/VXMetricServiceNameCount.java PRE-CREATION 
>   security-admin/src/test/java/org/apache/ranger/biz/TestServiceDBStore.java 28651cf 
>   security-admin/src/test/java/org/apache/ranger/rest/TestServiceREST.java b1417d7 
> 
> 
> Diff: https://reviews.apache.org/r/67056/diff/1/
> 
> 
> Testing
> -------
> 
> Tested with all the combination of curl commands possible for analytics.
> 
> 
> Thanks,
> 
> Fatima Khan
> 
>