{ "metaDataInfo": { "Host name": "ranger-host-fqdn", "Exported by": "admin", "Export time": "Aug 7, 2017 7:16:53 PM", "Ranger apache version": "0.7.0.2.6.1.0-129" }, "policies": [{ "service": "vr46_hive", "name": "all - url", "policyType": 0, "description": "Policy for all - url", "isAuditEnabled": true, "resources": { "url": { "values": ["*"], "isExcludes": false, "isRecursive": true } }, "policyItems": [{ "accesses": [{ "type": "select", "isAllowed": true }, { "type": "update", "isAllowed": true }, { "type": "create", "isAllowed": true }, { "type": "drop", "isAllowed": true }, { "type": "alter", "isAllowed": true }, { "type": "index", "isAllowed": true }, { "type": "lock", "isAllowed": true }, { "type": "all", "isAllowed": true }, { "type": "read", "isAllowed": true }, { "type": "write", "isAllowed": true }], "users": ["hive", "ambari-qa"], "groups": [], "conditions": [], "delegateAdmin": true }], "denyPolicyItems": [], "allowExceptions": [], "denyExceptions": [], "dataMaskPolicyItems": [], "rowFilterPolicyItems": [], "id": 7, "isEnabled": true, "version": 1 }, { "service": "vr46_hive", "name": "all - database, table, column", "policyType": 0, "description": "Policy for all - database, table, column", "isAuditEnabled": true, "resources": { "database": { "values": ["*"], "isExcludes": false, "isRecursive": false }, "column": { "values": ["*"], "isExcludes": false, "isRecursive": false }, "table": { "values": ["*"], "isExcludes": false, "isRecursive": false } }, "policyItems": [{ "accesses": [{ "type": "select", "isAllowed": true }, { "type": "update", "isAllowed": true }, { "type": "create", "isAllowed": true }, { "type": "drop", "isAllowed": true }, { "type": "alter", "isAllowed": true }, { "type": "index", "isAllowed": true }, { "type": "lock", "isAllowed": true }, { "type": "all", "isAllowed": true }, { "type": "read", "isAllowed": true }, { "type": "write", "isAllowed": true }], "users": ["hive", "ambari-qa"], "groups": [], "conditions": [], "delegateAdmin": true }], "denyPolicyItems": [], "allowExceptions": [], "denyExceptions": [], "dataMaskPolicyItems": [], "rowFilterPolicyItems": [], "id": 8, "isEnabled": true, "version": 1 }, { "service": "vr46_hive", "name": "all - database, udf", "policyType": 0, "description": "Policy for all - database, udf", "isAuditEnabled": true, "resources": { "database": { "values": ["*"], "isExcludes": false, "isRecursive": false }, "udf": { "values": ["*"], "isExcludes": false, "isRecursive": false } }, "policyItems": [{ "accesses": [{ "type": "select", "isAllowed": true }, { "type": "update", "isAllowed": true }, { "type": "create", "isAllowed": true }, { "type": "drop", "isAllowed": true }, { "type": "alter", "isAllowed": true }, { "type": "index", "isAllowed": true }, { "type": "lock", "isAllowed": true }, { "type": "all", "isAllowed": true }, { "type": "read", "isAllowed": true }, { "type": "write", "isAllowed": true }], "users": ["hive", "ambari-qa"], "groups": [], "conditions": [], "delegateAdmin": true }], "denyPolicyItems": [], "allowExceptions": [], "denyExceptions": [], "dataMaskPolicyItems": [], "rowFilterPolicyItems": [], "id": 9, "isEnabled": true, "version": 1 }], "startIndex": 0, "pageSize": 0, "totalCount": 0, "resultSize": 0, "queryTimeMS": 1502133413323 }