Subhrat Chaudhary created RANGER-4447:
-----------------------------------------

             Summary: Need a new API to get security-zone summary
                 Key: RANGER-4447
                 URL: https://issues.apache.org/jira/browse/RANGER-4447
             Project: Ranger
          Issue Type: Sub-task
          Components: admin
            Reporter: Subhrat Chaudhary


We need a new API to get security-zone summary, to show zone details on 
dashboard:
{code:java}
{
    "startIndex": 0,
    "pageSize": 2,
    "totalCount": 2,
    "resultSize": 2,
    "sortType": "desc",
    "sortBy": "createTime",
    "list": [
        {
            "id": 3,
            "isEnabled": true,
            "createdBy": "Admin",
            "updatedBy": "Admin",
            "createTime": 1695710459000,
            "updateTime": 1695710459000,
            "name": "Test-Zone-2",
            "Description": "This is DESCR",
            "totalResourceCount": 3,
            "adminusersCount": 1,
            "AdminGroupsCount": 1,
            "AdminRoles": 1,
            "AuditorUsersCount": 1,
            "AuditorGroupsCount": 1,
            "AuditorRoles": 1,
            "services": [
                {
                    "id": 3,
                    "name": "Resource_policy_Performance_test_gds",
                    "type": "gds",
                    "resourceCount": 2
                }
            ],
            "tagServices": [
                "tagService1",
                "tagService2"
            ]
        }
    ],
    "listSize": 2
} {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to