Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ XAAUDIT.HDFS.LOCAL_BUFFER_FLUSH_INTERVAL_SECONDS=60
XAAUDIT.HDFS.LOCAL_BUFFER_ROLLOVER_INTERVAL_SECONDS=600
XAAUDIT.HDFS.LOCAL_ARCHIVE_MAX_FILE_COUNT=10

XAAUDIT.SOLR.ENABLE=true
XAAUDIT.SOLR.ENABLE=false
XAAUDIT.SOLR.URL=http://ranger-solr.rangernw:8983/solr/ranger_audits
XAAUDIT.SOLR.USER=NONE
XAAUDIT.SOLR.PASSWORD=NONE
Expand All @@ -71,7 +71,7 @@ XAAUDIT.ELASTICSEARCH.INDEX=NONE
XAAUDIT.ELASTICSEARCH.PORT=NONE
XAAUDIT.ELASTICSEARCH.PROTOCOL=NONE

XAAUDIT.HDFS.ENABLE=true
XAAUDIT.HDFS.ENABLE=false
XAAUDIT.HDFS.HDFS_DIR=hdfs://ranger-hadoop:9000/ranger/audit
XAAUDIT.HDFS.FILE_SPOOL_DIR=/var/log/hadoop/hbase/audit/hdfs/spool

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ UGI_JAAS_APPCONFIG=unknown
CUSTOM_USER=knox
CUSTOM_GROUP=knox

XAAUDIT.SOLR.IS_ENABLED=true
XAAUDIT.SOLR.IS_ENABLED=false
XAAUDIT.SOLR.MAX_QUEUE_SIZE=1
XAAUDIT.SOLR.MAX_FLUSH_INTERVAL_MS=1000
XAAUDIT.SOLR.SOLR_URL=http://ranger-solr:8983/solr/ranger_audits
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ UGI_INITIALIZE=true
UGI_LOGIN_TYPE=jaas
UGI_JAAS_APPCONFIG=Client

XAAUDIT.SOLR.IS_ENABLED=true
XAAUDIT.SOLR.IS_ENABLED=false
XAAUDIT.SOLR.MAX_QUEUE_SIZE=1
XAAUDIT.SOLR.MAX_FLUSH_INTERVAL_MS=1000
XAAUDIT.SOLR.SOLR_URL=http://ranger-solr.rangernw:8983/solr/ranger_audits
Expand Down
1 change: 1 addition & 0 deletions distro/src/main/assembly/hbase-agent.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<useAllReactorProjects>true</useAllReactorProjects>
<includes>
<include>org.apache.ranger:ranger-audit-core</include>
<include>org.apache.ranger:ranger-audit-dest-auditserver</include>
<include>org.apache.ranger:ranger-audit-dest-hdfs</include>
<include>org.apache.ranger:ranger-audit-dest-solr</include>
<include>org.apache.ranger:ranger-authz-api</include>
Expand Down
1 change: 1 addition & 0 deletions distro/src/main/assembly/kms.xml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@
<useAllReactorProjects>true</useAllReactorProjects>
<includes>
<include>org.apache.ranger:ranger-audit-core</include>
<include>org.apache.ranger:ranger-audit-dest-auditserver</include>
<include>org.apache.ranger:ranger-audit-dest-hdfs</include>
<include>org.apache.ranger:ranger-audit-dest-solr</include>
<include>org.apache.ranger:ranger-authz-api</include>
Expand Down
1 change: 1 addition & 0 deletions distro/src/main/assembly/knox-agent.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<useAllReactorProjects>true</useAllReactorProjects>
<includes>
<include>org.apache.ranger:ranger-audit-core</include>
<include>org.apache.ranger:ranger-audit-dest-auditserver</include>
<include>org.apache.ranger:ranger-audit-dest-hdfs</include>
<include>org.apache.ranger:ranger-audit-dest-solr</include>
<include>org.apache.ranger:ranger-authz-api</include>
Expand Down
1 change: 1 addition & 0 deletions distro/src/main/assembly/pdp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<include>org.apache.ranger:credentialbuilder</include>
<include>org.apache.ranger:authz-embedded</include>
<include>org.apache.ranger:ranger-audit-core</include>
<include>org.apache.ranger:ranger-audit-dest-auditserver</include>
<include>org.apache.ranger:ranger-audit-dest-hdfs</include>
<include>org.apache.ranger:ranger-audit-dest-solr</include>
<include>org.apache.ranger:ranger-authn</include>
Expand Down
1 change: 1 addition & 0 deletions distro/src/main/assembly/plugin-atlas.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<useAllReactorProjects>true</useAllReactorProjects>
<includes>
<include>org.apache.ranger:ranger-audit-core</include>
<include>org.apache.ranger:ranger-audit-dest-auditserver</include>
<include>org.apache.ranger:ranger-audit-dest-hdfs</include>
<include>org.apache.ranger:ranger-audit-dest-solr</include>
<include>org.apache.ranger:ranger-authz-api</include>
Expand Down
1 change: 1 addition & 0 deletions distro/src/main/assembly/plugin-elasticsearch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
<useAllReactorProjects>true</useAllReactorProjects>
<includes>
<include>org.apache.ranger:ranger-audit-core</include>
<include>org.apache.ranger:ranger-audit-dest-auditserver</include>
<include>org.apache.ranger:ranger-audit-dest-es</include>
<include>org.apache.ranger:ranger-audit-dest-hdfs</include>
<include>org.apache.ranger:ranger-authz-api</include>
Expand Down
1 change: 1 addition & 0 deletions distro/src/main/assembly/plugin-kafka.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<useAllReactorProjects>true</useAllReactorProjects>
<includes>
<include>org.apache.ranger:ranger-audit-core</include>
<include>org.apache.ranger:ranger-audit-dest-auditserver</include>
<include>org.apache.ranger:ranger-audit-dest-hdfs</include>
<include>org.apache.ranger:ranger-audit-dest-solr</include>
<include>org.apache.ranger:ranger-authz-api</include>
Expand Down
1 change: 1 addition & 0 deletions distro/src/main/assembly/plugin-kms.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<useAllReactorProjects>true</useAllReactorProjects>
<includes>
<include>org.apache.ranger:ranger-audit-core</include>
<include>org.apache.ranger:ranger-audit-dest-auditserver</include>
<include>org.apache.ranger:ranger-audit-dest-hdfs</include>
<include>org.apache.ranger:ranger-audit-dest-solr</include>
<include>org.apache.ranger:ranger-authz-api</include>
Expand Down
1 change: 1 addition & 0 deletions distro/src/main/assembly/plugin-kylin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<useAllReactorProjects>true</useAllReactorProjects>
<includes>
<include>org.apache.ranger:ranger-audit-core</include>
<include>org.apache.ranger:ranger-audit-dest-auditserver</include>
<include>org.apache.ranger:ranger-audit-dest-hdfs</include>
<include>org.apache.ranger:ranger-audit-dest-solr</include>
<include>org.apache.ranger:ranger-authz-api</include>
Expand Down
1 change: 1 addition & 0 deletions distro/src/main/assembly/plugin-ozone.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
<useAllReactorProjects>true</useAllReactorProjects>
<includes>
<include>org.apache.ranger:ranger-audit-core</include>
<include>org.apache.ranger:ranger-audit-dest-auditserver</include>
<include>org.apache.ranger:ranger-audit-dest-hdfs</include>
<include>org.apache.ranger:ranger-audit-dest-solr</include>
<include>org.apache.ranger:ranger-authz-api</include>
Expand Down
1 change: 1 addition & 0 deletions distro/src/main/assembly/plugin-presto.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
<useAllReactorProjects>true</useAllReactorProjects>
<includes>
<include>org.apache.ranger:ranger-audit-core</include>
<include>org.apache.ranger:ranger-audit-dest-auditserver</include>
<include>org.apache.ranger:ranger-audit-dest-hdfs</include>
<include>org.apache.ranger:ranger-audit-dest-solr</include>
<include>org.apache.ranger:ranger-authz-api</include>
Expand Down
1 change: 1 addition & 0 deletions distro/src/main/assembly/plugin-solr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
<useAllReactorProjects>true</useAllReactorProjects>
<includes>
<include>org.apache.ranger:ranger-audit-core</include>
<include>org.apache.ranger:ranger-audit-dest-auditserver</include>
<include>org.apache.ranger:ranger-audit-dest-hdfs</include>
<include>org.apache.ranger:ranger-audit-dest-solr</include>
<include>org.apache.ranger:ranger-authz-api</include>
Expand Down
1 change: 1 addition & 0 deletions distro/src/main/assembly/plugin-sqoop.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<useAllReactorProjects>true</useAllReactorProjects>
<includes>
<include>org.apache.ranger:ranger-audit-core</include>
<include>org.apache.ranger:ranger-audit-dest-auditserver</include>
<include>org.apache.ranger:ranger-audit-dest-hdfs</include>
<include>org.apache.ranger:ranger-audit-dest-solr</include>
<include>org.apache.ranger:ranger-authz-api</include>
Expand Down
1 change: 1 addition & 0 deletions distro/src/main/assembly/plugin-trino.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<useAllReactorProjects>true</useAllReactorProjects>
<includes>
<include>org.apache.ranger:ranger-audit-core</include>
<include>org.apache.ranger:ranger-audit-dest-auditserver</include>
<include>org.apache.ranger:ranger-audit-dest-hdfs</include>
<include>org.apache.ranger:ranger-audit-dest-solr</include>
<include>org.apache.ranger:ranger-authz-api</include>
Expand Down
1 change: 1 addition & 0 deletions distro/src/main/assembly/plugin-yarn.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<useAllReactorProjects>true</useAllReactorProjects>
<includes>
<include>org.apache.ranger:ranger-audit-core</include>
<include>org.apache.ranger:ranger-audit-dest-auditserver</include>
<include>org.apache.ranger:ranger-audit-dest-hdfs</include>
<include>org.apache.ranger:ranger-audit-dest-solr</include>
<include>org.apache.ranger:ranger-authz-api</include>
Expand Down
1 change: 1 addition & 0 deletions distro/src/main/assembly/storm-agent.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<useAllReactorProjects>true</useAllReactorProjects>
<includes>
<include>org.apache.ranger:ranger-audit-core</include>
<include>org.apache.ranger:ranger-audit-dest-auditserver</include>
<include>org.apache.ranger:ranger-audit-dest-hdfs</include>
<include>org.apache.ranger:ranger-audit-dest-solr</include>
<include>org.apache.ranger:ranger-authz-api</include>
Expand Down
5 changes: 5 additions & 0 deletions hbase-agent/conf/ranger-hbase-audit-changes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,8 @@ xasecure.audit.log4j.async.max.queue.size %XAAUDIT.LOG4J.ASYNC.MA
xasecure.audit.log4j.async.max.flush.interval.ms %XAAUDIT.LOG4J.ASYNC.MAX.FLUSH.INTERVAL.MS% mod create-if-not-exists
xasecure.audit.destination.log4j %XAAUDIT.LOG4J.DESTINATION.LOG4J% mod create-if-not-exists
xasecure.audit.destination.log4j.logger %XAAUDIT.LOG4J.DESTINATION.LOG4J.LOGGER% mod create-if-not-exists

#Audit Service Destination
xasecure.audit.destination.auditserver %XAAUDIT.AUDITSERVER.ENABLE% mod create-if-not-exists
xasecure.audit.destination.auditserver.url %XAAUDIT.AUDITSERVER.URL% mod create-if-not-exists
xasecure.audit.destination.auditserver.batch.filespool.dir %XAAUDIT.AUDITSERVER.FILE_SPOOL_DIR% mod create-if-not-exists
5 changes: 5 additions & 0 deletions hbase-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,11 @@
<artifactId>httpcore</artifactId>
<version>${httpcomponents.httpcore.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-audit-dest-auditserver</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-audit-dest-hdfs</artifactId>
Expand Down
4 changes: 4 additions & 0 deletions hbase-agent/scripts/install.properties
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ XAAUDIT.AMAZON_CLOUDWATCH.LOG_STREAM_PREFIX=NONE
XAAUDIT.AMAZON_CLOUDWATCH.FILE_SPOOL_DIR=NONE
XAAUDIT.AMAZON_CLOUDWATCH.REGION=NONE

#Audit Server Provider
XAAUDIT.AUDITSERVER.ENABLE=false
XAAUDIT.AUDITSERVER.URL=http://ranger-audit:7081
XAAUDIT.AUDITSERVER.FILE_SPOOL_DIR=/var/log/hive/audit/http/spool
# End of V3 properties

#
Expand Down
4 changes: 4 additions & 0 deletions kms/scripts/install.properties
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,10 @@ XAAUDIT.AMAZON_CLOUDWATCH.LOG_STREAM_PREFIX=NONE
XAAUDIT.AMAZON_CLOUDWATCH.FILE_SPOOL_DIR=NONE
XAAUDIT.AMAZON_CLOUDWATCH.REGION=NONE

#Audit Server Provider
XAAUDIT.AUDITSERVER.ENABLE=false
XAAUDIT.AUDITSERVER.URL=http://ranger-audit:7081
XAAUDIT.AUDITSERVER.FILE_SPOOL_DIR=/var/log/hive/audit/http/spool
# End of V3 properties


Expand Down
5 changes: 5 additions & 0 deletions knox-agent/conf/ranger-knox-audit-changes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,8 @@ xasecure.audit.log4j.async.max.queue.size %XAAUDIT.LOG4J.ASYNC.MA
xasecure.audit.log4j.async.max.flush.interval.ms %XAAUDIT.LOG4J.ASYNC.MAX.FLUSH.INTERVAL.MS% mod create-if-not-exists
xasecure.audit.destination.log4j %XAAUDIT.LOG4J.DESTINATION.LOG4J% mod create-if-not-exists
xasecure.audit.destination.log4j.logger %XAAUDIT.LOG4J.DESTINATION.LOG4J.LOGGER% mod create-if-not-exists

#Audit Service Destination
xasecure.audit.destination.auditserver %XAAUDIT.AUDITSERVER.ENABLE% mod create-if-not-exists
xasecure.audit.destination.auditserver.url %XAAUDIT.AUDITSERVER.URL% mod create-if-not-exists
xasecure.audit.destination.auditserver.batch.filespool.dir %XAAUDIT.AUDITSERVER.FILE_SPOOL_DIR% mod create-if-not-exists
5 changes: 5 additions & 0 deletions knox-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-audit-dest-auditserver</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-audit-dest-hdfs</artifactId>
Expand Down
4 changes: 4 additions & 0 deletions knox-agent/scripts/install.properties
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ XAAUDIT.AMAZON_CLOUDWATCH.LOG_STREAM_PREFIX=NONE
XAAUDIT.AMAZON_CLOUDWATCH.FILE_SPOOL_DIR=NONE
XAAUDIT.AMAZON_CLOUDWATCH.REGION=NONE

#Audit Server Provider
XAAUDIT.AUDITSERVER.ENABLE=false
XAAUDIT.AUDITSERVER.URL=http://ranger-audit:7081
XAAUDIT.AUDITSERVER.FILE_SPOOL_DIR=/var/log/hive/audit/http/spool
# End of V3 properties


Expand Down
5 changes: 5 additions & 0 deletions plugin-atlas/conf/ranger-atlas-audit-changes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,9 @@ xasecure.audit.log4j.async.max.flush.interval.ms %XAAUDIT.LOG4J.A
xasecure.audit.destination.log4j %XAAUDIT.LOG4J.DESTINATION.LOG4J% mod create-if-not-exists
xasecure.audit.destination.log4j.logger %XAAUDIT.LOG4J.DESTINATION.LOG4J.LOGGER% mod create-if-not-exists

#Audit Service Destination
xasecure.audit.destination.auditserver %XAAUDIT.AUDITSERVER.ENABLE% mod create-if-not-exists
xasecure.audit.destination.auditserver.url %XAAUDIT.AUDITSERVER.URL% mod create-if-not-exists
xasecure.audit.destination.auditserver.batch.filespool.dir %XAAUDIT.AUDITSERVER.FILE_SPOOL_DIR% mod create-if-not-exists


5 changes: 5 additions & 0 deletions plugin-atlas/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@
<artifactId>httpcore</artifactId>
<version>${httpcomponents.httpcore.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-audit-dest-auditserver</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-audit-dest-hdfs</artifactId>
Expand Down
4 changes: 4 additions & 0 deletions plugin-atlas/scripts/install.properties
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ XAAUDIT.AMAZON_CLOUDWATCH.LOG_STREAM_PREFIX=NONE
XAAUDIT.AMAZON_CLOUDWATCH.FILE_SPOOL_DIR=NONE
XAAUDIT.AMAZON_CLOUDWATCH.REGION=NONE

#Audit Server Provider
XAAUDIT.AUDITSERVER.ENABLE=false
XAAUDIT.AUDITSERVER.URL=http://ranger-audit:7081
XAAUDIT.AUDITSERVER.FILE_SPOOL_DIR=/var/log/hive/audit/http/spool
# End of V3 properties

#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,8 @@ xasecure.audit.log4j.async.max.queue.size %XAAUDIT.LOG4J.ASYNC.MA
xasecure.audit.log4j.async.max.flush.interval.ms %XAAUDIT.LOG4J.ASYNC.MAX.FLUSH.INTERVAL.MS% mod create-if-not-exists
xasecure.audit.destination.log4j %XAAUDIT.LOG4J.DESTINATION.LOG4J% mod create-if-not-exists
xasecure.audit.destination.log4j.logger %XAAUDIT.LOG4J.DESTINATION.LOG4J.LOGGER% mod create-if-not-exists

#Audit Service Destination
xasecure.audit.destination.auditserver %XAAUDIT.AUDITSERVER.ENABLE% mod create-if-not-exists
xasecure.audit.destination.auditserver.url %XAAUDIT.AUDITSERVER.URL% mod create-if-not-exists
xasecure.audit.destination.auditserver.batch.filespool.dir %XAAUDIT.AUDITSERVER.FILE_SPOOL_DIR% mod create-if-not-exists
5 changes: 5 additions & 0 deletions plugin-elasticsearch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
<artifactId>credentialbuilder</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-audit-dest-auditserver</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-audit-dest-hdfs</artifactId>
Expand Down
4 changes: 4 additions & 0 deletions plugin-elasticsearch/scripts/install.properties
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ XAAUDIT.AMAZON_CLOUDWATCH.LOG_STREAM_PREFIX=NONE
XAAUDIT.AMAZON_CLOUDWATCH.FILE_SPOOL_DIR=NONE
XAAUDIT.AMAZON_CLOUDWATCH.REGION=NONE

#Audit Server Provider
XAAUDIT.AUDITSERVER.ENABLE=false
XAAUDIT.AUDITSERVER.URL=http://ranger-audit:7081
XAAUDIT.AUDITSERVER.FILE_SPOOL_DIR=/var/log/hive/audit/http/spool
# End of V3 properties

#
Expand Down
5 changes: 5 additions & 0 deletions plugin-kafka/conf/ranger-kafka-audit-changes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,8 @@ xasecure.audit.log4j.async.max.queue.size %XAAUDIT.LOG4J.ASYNC.MA
xasecure.audit.log4j.async.max.flush.interval.ms %XAAUDIT.LOG4J.ASYNC.MAX.FLUSH.INTERVAL.MS% mod create-if-not-exists
xasecure.audit.destination.log4j %XAAUDIT.LOG4J.DESTINATION.LOG4J% mod create-if-not-exists
xasecure.audit.destination.log4j.logger %XAAUDIT.LOG4J.DESTINATION.LOG4J.LOGGER% mod create-if-not-exists

#Audit Service Destination
xasecure.audit.destination.auditserver %XAAUDIT.AUDITSERVER.ENABLE% mod create-if-not-exists
xasecure.audit.destination.auditserver.url %XAAUDIT.AUDITSERVER.URL% mod create-if-not-exists
xasecure.audit.destination.auditserver.batch.filespool.dir %XAAUDIT.AUDITSERVER.FILE_SPOOL_DIR% mod create-if-not-exists
5 changes: 5 additions & 0 deletions plugin-kafka/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@
<artifactId>credentialbuilder</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-audit-dest-auditserver</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-audit-dest-hdfs</artifactId>
Expand Down
4 changes: 4 additions & 0 deletions plugin-kafka/scripts/install.properties
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ XAAUDIT.AMAZON_CLOUDWATCH.LOG_STREAM_PREFIX=NONE
XAAUDIT.AMAZON_CLOUDWATCH.FILE_SPOOL_DIR=NONE
XAAUDIT.AMAZON_CLOUDWATCH.REGION=NONE

#Audit Server Provider
XAAUDIT.AUDITSERVER.ENABLE=false
XAAUDIT.AUDITSERVER.URL=http://ranger-audit:7081
XAAUDIT.AUDITSERVER.FILE_SPOOL_DIR=/var/log/hive/audit/http/spool
# End of V3 properties

#
Expand Down
5 changes: 5 additions & 0 deletions plugin-kms/conf/ranger-kms-audit-changes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,8 @@ xasecure.audit.destination.hdfs.config.fs.azure.account.keyprovider.%AZURE.ACCOU

#xasecure.audit.destination.file %XAAUDIT.FILE.ENABLE% mod create-if-not-exists
#xasecure.audit.destination.file.dir %XAAUDIT.FILE.DIR% mod create-if-not-exists

#Audit Service Destination
xasecure.audit.destination.auditserver %XAAUDIT.AUDITSERVER.ENABLE% mod create-if-not-exists
xasecure.audit.destination.auditserver.url %XAAUDIT.AUDITSERVER.URL% mod create-if-not-exists
xasecure.audit.destination.auditserver.batch.filespool.dir %XAAUDIT.AUDITSERVER.FILE_SPOOL_DIR% mod create-if-not-exists
5 changes: 5 additions & 0 deletions plugin-kms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@
<artifactId>httpcore</artifactId>
<version>${httpcomponents.httpcore.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-audit-dest-auditserver</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-audit-dest-hdfs</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions plugin-kudu/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
<artifactId>credentialbuilder</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-audit-dest-auditserver</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-audit-dest-hdfs</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions plugin-kylin/conf/ranger-kylin-audit-changes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,8 @@ xasecure.audit.log4j.async.max.queue.size %XAAUDIT.LOG4J.ASYNC.MA
xasecure.audit.log4j.async.max.flush.interval.ms %XAAUDIT.LOG4J.ASYNC.MAX.FLUSH.INTERVAL.MS% mod create-if-not-exists
xasecure.audit.destination.log4j %XAAUDIT.LOG4J.DESTINATION.LOG4J% mod create-if-not-exists
xasecure.audit.destination.log4j.logger %XAAUDIT.LOG4J.DESTINATION.LOG4J.LOGGER% mod create-if-not-exists

#Audit Service Destination
xasecure.audit.destination.auditserver %XAAUDIT.AUDITSERVER.ENABLE% mod create-if-not-exists
xasecure.audit.destination.auditserver.url %XAAUDIT.AUDITSERVER.URL% mod create-if-not-exists
xasecure.audit.destination.auditserver.batch.filespool.dir %XAAUDIT.AUDITSERVER.FILE_SPOOL_DIR% mod create-if-not-exists
Loading
Loading