----------------------------------------------------------- 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