Madhan Neethiraj created RANGER-5593:
----------------------------------------
Summary: update plugins to send audit logs to audit server,
replacing other destinations like Solr and HDFS
Key: RANGER-5593
URL: https://issues.apache.org/jira/browse/RANGER-5593
Project: Ranger
Issue Type: Improvement
Components: audit, plugins
Reporter: Madhan Neethiraj
Ranger plugins currently include libraries to send audit logs to Solr and HDFS.
Introduction of audit server and audit server destination (RANGER-5482) helps
the plugins to eliminate:
* dependency on libraries specific to audit destinations (like Solr, HDFS, S3,
Cloudwatch, Elasticsearch, Kafka)
* configurations to connect to audit destinations (endpoint, credentials,
batching, ..)
Configurations for audit destinations can now be centralized in audit server,
instead of requiring each plugin to deal with them.
This Jira tracks updates to all plugins to remove dependency on all
audit-destinations except ranger-audit-dest-auditserver. For example, replace
the following in plugin's pom.xml:
{code:java}
<dependency>
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-audit-dest-hdfs</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-audit-dest-solr</artifactId>
<version>${project.version}</version>
</dependency> {code}
with the following:
{code:java}
<dependency>
<groupId>org.apache.ranger</groupId>
<artifactId>ranger-audit-dest-auditserver</artifactId>
<version>${project.version}</version>
</dependency>
{code}
In addition, plugins packaging descriptors in {{distro/src/main/assembly}}
should be updated to replace inclusion of solr/audit audit destination specific
libraries with auditserver destination: For example, replace the following:
{code:java}
<include>org.apache.ranger:ranger-audit-dest-hdfs</include>
<include>org.apache.ranger:ranger-audit-dest-solr</include> {code}
with the following:
{code:java}
<include>org.apache.ranger:ranger-audit-dest-auditserver</include>{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)