|
| 1 | +<?xml version="1.0"?> |
| 2 | +<!-- |
| 3 | +/** |
| 4 | + * Licensed to the Apache Software Foundation (ASF) under one |
| 5 | + * or more contributor license agreements. See the NOTICE file |
| 6 | + * distributed with this work for additional information |
| 7 | + * regarding copyright ownership. The ASF licenses this file |
| 8 | + * to you under the Apache License, Version 2.0 (the |
| 9 | + * "License"); you may not use this file except in compliance |
| 10 | + * with the License. You may obtain a copy of the License at |
| 11 | + * |
| 12 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | + * |
| 14 | + * Unless required by applicable law or agreed to in writing, software |
| 15 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | + * See the License for the specific language governing permissions and |
| 18 | + * limitations under the License. |
| 19 | + */ |
| 20 | +--> |
| 21 | +<configuration> |
| 22 | + <property> |
| 23 | + <name>xasecure.audit.is.enabled</name> |
| 24 | + <value>true</value> |
| 25 | + <description>Is Audit enabled?</description> |
| 26 | + <value-attributes> |
| 27 | + <type>boolean</type> |
| 28 | + </value-attributes> |
| 29 | + <on-ambari-upgrade add="false"/> |
| 30 | + </property> |
| 31 | + <property> |
| 32 | + <name>xasecure.audit.destination.hdfs</name> |
| 33 | + <value>true</value> |
| 34 | + <display-name>Audit to HDFS</display-name> |
| 35 | + <description>Is Audit to HDFS enabled?</description> |
| 36 | + <value-attributes> |
| 37 | + <type>boolean</type> |
| 38 | + </value-attributes> |
| 39 | + <depends-on> |
| 40 | + <property> |
| 41 | + <type>ranger-env</type> |
| 42 | + <name>xasecure.audit.destination.hdfs</name> |
| 43 | + </property> |
| 44 | + </depends-on> |
| 45 | + <on-ambari-upgrade add="false"/> |
| 46 | + </property> |
| 47 | + <property> |
| 48 | + <name>xasecure.audit.destination.hdfs.dir</name> |
| 49 | + <value>hdfs://NAMENODE_HOSTNAME:8020/ranger/audit</value> |
| 50 | + <description>HDFS folder to write audit to, make sure the service user has requried permissions</description> |
| 51 | + <depends-on> |
| 52 | + <property> |
| 53 | + <type>ranger-env</type> |
| 54 | + <name>xasecure.audit.destination.hdfs.dir</name> |
| 55 | + </property> |
| 56 | + </depends-on> |
| 57 | + <on-ambari-upgrade add="false"/> |
| 58 | + </property> |
| 59 | + <property> |
| 60 | + <name>xasecure.audit.destination.hdfs.batch.filespool.dir</name> |
| 61 | + <value>/var/log/seatunnel-web/audit/hdfs/spool</value> |
| 62 | + <description>/var/log/seatunnel-web/audit/hdfs/spool</description> |
| 63 | + <on-ambari-upgrade add="false"/> |
| 64 | + </property> |
| 65 | + <property> |
| 66 | + <name>xasecure.audit.destination.solr</name> |
| 67 | + <value>false</value> |
| 68 | + <display-name>Audit to SOLR</display-name> |
| 69 | + <description>Is Solr audit enabled?</description> |
| 70 | + <value-attributes> |
| 71 | + <type>boolean</type> |
| 72 | + </value-attributes> |
| 73 | + <depends-on> |
| 74 | + <property> |
| 75 | + <type>ranger-env</type> |
| 76 | + <name>xasecure.audit.destination.solr</name> |
| 77 | + </property> |
| 78 | + </depends-on> |
| 79 | + <on-ambari-upgrade add="false"/> |
| 80 | + </property> |
| 81 | + <property> |
| 82 | + <name>xasecure.audit.destination.solr.urls</name> |
| 83 | + <value/> |
| 84 | + <description>Solr URL</description> |
| 85 | + <value-attributes> |
| 86 | + <empty-value-valid>true</empty-value-valid> |
| 87 | + </value-attributes> |
| 88 | + <depends-on> |
| 89 | + <property> |
| 90 | + <type>ranger-admin-site</type> |
| 91 | + <name>ranger.audit.solr.urls</name> |
| 92 | + </property> |
| 93 | + </depends-on> |
| 94 | + <on-ambari-upgrade add="false"/> |
| 95 | + </property> |
| 96 | + <property> |
| 97 | + <name>xasecure.audit.destination.solr.zookeepers</name> |
| 98 | + <value>NONE</value> |
| 99 | + <description>Solr Zookeeper string</description> |
| 100 | + <depends-on> |
| 101 | + <property> |
| 102 | + <type>ranger-admin-site</type> |
| 103 | + <name>ranger.audit.solr.zookeepers</name> |
| 104 | + </property> |
| 105 | + </depends-on> |
| 106 | + <on-ambari-upgrade add="false"/> |
| 107 | + </property> |
| 108 | + <property> |
| 109 | + <name>xasecure.audit.destination.solr.batch.filespool.dir</name> |
| 110 | + <value>/var/log/seatunnel-web/audit/solr/spool</value> |
| 111 | + <description>/var/log/seatunnel-web/audit/solr/spool</description> |
| 112 | + <on-ambari-upgrade add="false"/> |
| 113 | + </property> |
| 114 | + <property> |
| 115 | + <name>xasecure.audit.provider.summary.enabled</name> |
| 116 | + <value>false</value> |
| 117 | + <display-name>Audit provider summary enabled</display-name> |
| 118 | + <description>Enable Summary audit?</description> |
| 119 | + <value-attributes> |
| 120 | + <type>boolean</type> |
| 121 | + </value-attributes> |
| 122 | + <on-ambari-upgrade add="false"/> |
| 123 | + </property> |
| 124 | + <property> |
| 125 | + <name>ranger.plugin.seatunnel.ambari.cluster.name</name> |
| 126 | + <value>{{cluster_name}}</value> |
| 127 | + <description>Capture cluster name from where Ranger seatunnel plugin is enabled.</description> |
| 128 | + <value-attributes> |
| 129 | + <empty-value-valid>true</empty-value-valid> |
| 130 | + </value-attributes> |
| 131 | + <on-ambari-upgrade add="false"/> |
| 132 | + </property> |
| 133 | +</configuration> |
0 commit comments