| { |
| "id":5, |
| "name": "knox", |
| "displayName": "knox", |
| "implClass": "org.apache.ranger.services.knox.RangerServiceKnox", |
| "label": "Knox Gateway", |
| "description": "Knox Gateway", |
| "guid": "84b481b5-f23b-4f71-b8b6-ab33977149ca", |
| "resources": |
| [ |
| { |
| "itemId": 1, |
| "name": "topology", |
| "type": "string", |
| "level": 10, |
| "parent": "", |
| "mandatory": true, |
| "lookupSupported": true, |
| "recursiveSupported": false, |
| "excludesSupported": true, |
| "matcher": "org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher", |
| "matcherOptions": { "wildCard":true, "ignoreCase":false }, |
| "validationRegEx":"", |
| "validationMessage": "", |
| "uiHint":"", |
| "label": "Knox Topology", |
| "description": "Knox Topology" |
| }, |
| |
| { |
| "itemId": 2, |
| "name": "service", |
| "type": "string", |
| "level": 20, |
| "parent": "topology", |
| "mandatory": true, |
| "lookupSupported": true, |
| "recursiveSupported": false, |
| "excludesSupported": true, |
| "matcher": "org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher", |
| "matcherOptions": { "wildCard":true, "ignoreCase":false }, |
| "validationRegEx":"", |
| "validationMessage": "", |
| "uiHint":"", |
| "label": "Knox Service", |
| "description": "Knox Service" |
| } |
| ], |
| |
| "accessTypes": |
| [ |
| { |
| "itemId": 1, |
| "name": "allow", |
| "label": "Allow" |
| } |
| ], |
| |
| "configs": |
| [ |
| { |
| "itemId": 1, |
| "name": "username", |
| "type": "string", |
| "mandatory": true, |
| "validationRegEx":"", |
| "validationMessage": "", |
| "uiHint":"", |
| "label": "Username" |
| }, |
| |
| { |
| "itemId": 2, |
| "name": "password", |
| "type": "password", |
| "mandatory": true, |
| "validationRegEx":"", |
| "validationMessage": "", |
| "uiHint":"", |
| "label": "Password" |
| }, |
| |
| { |
| "itemId": 3, |
| "name": "knox.url", |
| "type": "string", |
| "mandatory": true, |
| "defaultValue": "", |
| "validationRegEx":"", |
| "validationMessage": "", |
| "uiHint":"" |
| }, |
| |
| { |
| "itemId": 4, |
| "name": "commonNameForCertificate", |
| "type": "string", |
| "mandatory": false, |
| "validationRegEx":"", |
| "validationMessage": "", |
| "uiHint":"", |
| "label": "Common Name for Certificate" |
| }, |
| |
| { |
| "itemId":5, |
| "name": "ranger.plugin.audit.filters", |
| "type": "string", |
| "subType": "", |
| "mandatory": false, |
| "validationRegEx":"", |
| "validationMessage": "", |
| "uiHint":"", |
| "label": "Ranger Default Audit Filters", |
| "defaultValue": "[ {'accessResult': 'DENIED', 'isAudited': true}, {'users':['knox'] ,'isAudited':false} ]" |
| } |
| ], |
| |
| "enums": |
| [ |
| |
| ], |
| |
| "contextEnrichers": |
| [ |
| |
| ], |
| |
| "policyConditions": |
| [ |
| { |
| "itemId": 1, |
| "name": "ip-range", |
| "evaluator": "org.apache.ranger.plugin.conditionevaluator.RangerIpMatcher", |
| "evaluatorOptions": { }, |
| "validationRegEx":"", |
| "validationMessage": "", |
| "uiHint":"", |
| "label": "IP Address Range", |
| "description": "IP Address Range" |
| } |
| ] |
| } |