Skip to main content
hadoop_ranger_audit
===================

Generates a stand alone web based report for Hadoop Apache Ranger policies.
Performs reverse lookups against Active Directory to match users with Ranger resources that have been
provision with AD Groups.

Currently provides a report the following policies:
HDFS
HIVE
KNOX
YARN

Installation from GIT source:
-----------------------------

Clone the repo::

$ git clone https://github.com/jackscodemonkey/hadoop_ranger_audit

Create a new virtual environment::

$ virtualenv -p python3 hadoop_ranger_audit_env

Activate the new environment::

$ source hadoop_ranger_audit_env/bin/activate

Your command prompt should now have the environment prefix showing::

$ (hadoop_ranger_audit_env):

Quickly install hadoop_ranger_audit into your new environment via `setuptools`_
Change to the directory where you downloaded this package and run::

$ (hadoop_ranger_audit_env)python setup.py install


Usage:
------
hadoop_ranger_audit.py::

Switch | Description | Required
======================================================================
--ranger_url | Ranger API URL | Yes
--ranger_user | Ranger API Username | Yes
--ranger_password | Ranger API Password | Yes
--ad_controller | Active Directory Server Hostname | Yes
--ad_user | Read Only AD user - basic account | Yes
--ad_password | AD user password | Yes
--ad_search_base | DN root to start search from | Yes
--output_file | Output HTML file | Yes
--cluster_name | Name of cluster for the report | Yes
-h / --help | Print command help | No


Requirements
^^^^^^^^^^^^

.. include:: requirements.txt

Compatibility
-------------

hadoop_ranger_audit is written and tested in Python 3.6.

Licence
-------

Licensed under the MIT license.

Authors
-------

`hadoop_ranger_audit` was written by `Marcus Robb <marcus.robb@initworx.com>`_.


.. _`setuptools`: http://pypi.python.org/pypi/setuptools

Metadata

Release files for hadoop-ranger-audit 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hadoop-ranger-audit 0.2
File Size Uploaded
hadoop_ranger_audit-0.2.tar.gz 16.8 kB Details

Release files / hadoop_ranger_audit-0.2.tar.gz

Download URL hadoop_ranger_audit-0.2.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e9106f4ece2a9d4d115a47e19604b413130b8225c80e55e4d6b4a1c1082507fc
BLAKE2b-256 checksum
How to use checksums
4e664184d218ab70cca258f1d34df84711421fd1e1a790373c434a90157dadeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page