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.
Project description
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
===================
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hadoop_ranger_audit-0.2.tar.gz
(16.8 kB
view details)
File details
Details for the file hadoop_ranger_audit-0.2.tar.gz
.
File metadata
- Download URL: hadoop_ranger_audit-0.2.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9106f4ece2a9d4d115a47e19604b413130b8225c80e55e4d6b4a1c1082507fc |
|
MD5 | e599a49046af6336a8bfb2fbce21d0fd |
|
BLAKE2b-256 | 4e664184d218ab70cca258f1d34df84711421fd1e1a790373c434a90157dadeb |