GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - apache/ranger: Apache Ranger - Centralized, fine-grained authorization and auditing across data and AI platforms

BranchesTags
Open more actions menu

Latest commit

 

History

5,546 Commits
5,546 Commits

Folders and files

NameName
Last commit message
Last commit date
.cursor/rules
.cursor/rules
 
 
.github
.github
 
 
agents-audit
agents-audit
 
 
agents-common
agents-common
 
 
agents-cred
agents-cred
 
 
agents-installer
agents-installer
 
 
audit-server
audit-server
 
 
authz-api
authz-api
 
 
authz-embedded
authz-embedded
 
 
authz-remote
authz-remote
 
 
common-utils
common-utils
 
 
credentialbuilder
credentialbuilder
 
 
dev-support
dev-support
 
 
distro
distro
 
 
docs
docs
 
 
embeddedwebserver
embeddedwebserver
 
 
functional-tests
functional-tests
 
 
hbase-agent
hbase-agent
 
 
hdfs-agent
hdfs-agent
 
 
hive-agent
hive-agent
 
 
intg
intg
 
 
jisql
jisql
 
 
kms
kms
 
 
knox-agent
knox-agent
 
 
migration-util
migration-util
 
 
mkdocs
mkdocs
 
 
pdp
pdp
 
 
plugin-atlas
plugin-atlas
 
 
plugin-elasticsearch
plugin-elasticsearch
 
 
plugin-kafka
plugin-kafka
 
 
plugin-kms
plugin-kms
 
 
plugin-kudu
plugin-kudu
 
 
plugin-kylin
plugin-kylin
 
 
plugin-nestedstructure
plugin-nestedstructure
 
 
plugin-nifi-registry
plugin-nifi-registry
 
 
plugin-nifi
plugin-nifi
 
 
plugin-ozone
plugin-ozone
 
 
plugin-presto
plugin-presto
 
 
plugin-schema-registry
plugin-schema-registry
 
 
plugin-solr
plugin-solr
 
 
plugin-sqoop
plugin-sqoop
 
 
plugin-trino
plugin-trino
 
 
plugin-yarn
plugin-yarn
 
 
ranger-atlas-plugin-shim
ranger-atlas-plugin-shim
 
 
ranger-authn
ranger-authn
 
 
ranger-common-ha
ranger-common-ha
 
 
ranger-elasticsearch-plugin-shim
ranger-elasticsearch-plugin-shim
 
 
ranger-examples
ranger-examples
 
 
ranger-hbase-plugin-shim
ranger-hbase-plugin-shim
 
 
ranger-hdfs-plugin-shim
ranger-hdfs-plugin-shim
 
 
ranger-hive-plugin-shim
ranger-hive-plugin-shim
 
 
ranger-kafka-client-auth
ranger-kafka-client-auth
 
 
ranger-kafka-plugin-shim
ranger-kafka-plugin-shim
 
 
ranger-kms-plugin-shim
ranger-kms-plugin-shim
 
 
ranger-knox-plugin-shim
ranger-knox-plugin-shim
 
 
ranger-kylin-plugin-shim
ranger-kylin-plugin-shim
 
 
ranger-metrics
ranger-metrics
 
 
ranger-ozone-plugin-shim
ranger-ozone-plugin-shim
 
 
ranger-plugin-classloader
ranger-plugin-classloader
 
 
ranger-presto-plugin-shim
ranger-presto-plugin-shim
 
 
ranger-solr-plugin-shim
ranger-solr-plugin-shim
 
 
ranger-sqoop-plugin-shim
ranger-sqoop-plugin-shim
 
 
ranger-storm-plugin-shim
ranger-storm-plugin-shim
 
 
ranger-tools
ranger-tools
 
 
ranger-util
ranger-util
 
 
ranger-yarn-plugin-shim
ranger-yarn-plugin-shim
 
 
security-admin
security-admin
 
 
storm-agent
storm-agent
 
 
tagsync
tagsync
 
 
ugsync-util
ugsync-util
 
 
ugsync
ugsync
 
 
unixauthclient
unixauthclient
 
 
unixauthnative
unixauthnative
 
 
unixauthpam
unixauthpam
 
 
unixauthservice
unixauthservice
 
 
.asf.yaml
.asf.yaml
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
AGENTS.md
AGENTS.md
 
 
DISCLAIMER.txt
DISCLAIMER.txt
 
 
LICENSE.txt
LICENSE.txt
 
 
NOTICE.txt
NOTICE.txt
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
THREAT_MODEL.md
THREAT_MODEL.md
 
 
build_ranger_using_docker.sh
build_ranger_using_docker.sh
 
 
enunciate.xml
enunciate.xml
 
 
pom.xml
pom.xml
 
 
ranger_in_docker
ranger_in_docker
 
 
release-build.xml
release-build.xml
 
 

Repository files navigation

Apache Ranger

License CI Documentation Docker Pulls PyPI Downloads

Apache Ranger is a framework for centralized, fine-grained authorization and auditing across data and AI platforms. Policies are managed in one place, Ranger Admin, through its web UI or REST API, and are enforced by Ranger plugins inside the protected services, which also record an audit trail of access decisions. Policies can be based on resources, tags or attributes, and can filter rows and mask columns.

Documentation, release notes and downloads: https://ranger.apache.org/

Quick start

Released versions of Ranger Admin are published on Docker Hub as apache/ranger. It runs with a database, apache/ranger-db (PostgreSQL), and an audit store, apache/ranger-solr; the apache/ranger page has the commands to start all three. Then open http://localhost:6080 and log in as admin / rangerR0cks!.

These images are for evaluation and development; they use well-known default passwords.

Plugins

Ranger Admin stores policies; each service enforces them through a Ranger plugin that runs inside it. To protect a service, set up its plugin. The plugin downloads the service's policies from Ranger Admin, authorizes each request locally and sends audit events to the audit store.

Service Plugin runs in Plugin ships with
Apache Polaris Polaris server Apache Polaris
Trino Trino coordinator Trino
Apache Impala impalad and catalogd Apache Impala
Apache Ozone Ozone Manager Apache Ranger
Apache Kudu Kudu master Apache Kudu
Schema Registry Schema Registry server Schema Registry
Presto Presto coordinator Apache Ranger
Elasticsearch Elasticsearch nodes Apache Ranger
Apache Kylin Kylin server Apache Ranger
Apache Sqoop Sqoop 2 server Apache Ranger
Apache NiFi Registry NiFi Registry server Apache NiFi
Apache NiFi NiFi nodes Apache NiFi
Apache Atlas Atlas server Apache Ranger
Apache Kafka Kafka brokers Apache Ranger
Apache Solr Solr nodes Apache Ranger
Apache Ranger KMS Ranger KMS server Apache Ranger
Apache Hadoop YARN ResourceManager Apache Ranger
Apache Knox Knox gateway Apache Ranger
Apache Storm Nimbus Apache Ranger
Apache HBase HBase Master and RegionServers Apache Ranger
Apache Hive HiveServer2 Apache Ranger
Apache Hadoop HDFS NameNode Apache Ranger

Plugins that ship with Apache Ranger are released as ranger-<version>-<service>-plugin.tar.gz archives, also written to target/ by a source build; the KMS plugin is part of this repo. The other services ship the plugin themselves and enable it in their own configuration. Applications not listed above can authorize requests with the Ranger authorization API (authz-api), either evaluating policies in process (authz-embedded) or sending each request to the PDP server (authz-remote, available from the 2.9 release onwards).

Build from source

Requirements

  • Linux or macOS
  • JDK 17
  • Apache Maven 3.6.3 or newer
  • Git
  • Python 3, for the Python client tests (not needed with -DskipTests)
  • Docker with Compose v2, only to build or run Ranger in containers

Build

git clone https://github.com/apache/ranger.git
cd ranger
mvn clean install                # full build: unit tests and code checks
mvn clean package -DskipTests    # faster: skips unit tests and code checks

The build writes a ranger-<version>-<component>.tar.gz archive for each service, plugin and tool to target/, for example ranger-<version>-admin.tar.gz.

To build without a local JDK or Maven, use the build container in dev-support/ranger-docker; it writes the archives to dev-support/ranger-docker/dist/.

To work in an IDE, open the root pom.xml as a Maven project. An IntelliJ IDEA code style scheme is in dev-support/RangerCodeScheme-IntelliJ.xml.

Run your build in Docker

dev-support/ranger-docker builds images from these archives and runs Ranger Admin with its database and audit store, the other Ranger services, and services with Ranger plugins enabled, such as Trino, Ozone, Kafka, Hive and HBase. CI uses the same setup. Its README has the steps; like the Docker Hub images, it is meant for development only.

Contributing

Contributions are accepted as GitHub pull requests.

  1. Find or file an issue in the RANGER JIRA project. Discuss larger changes on [email protected] first.
  2. Open a pull request against master titled RANGER-XXXX: <subject> and fill in the template.
  3. Keep CI green. It runs mvn clean verify on JDK 17 (unit tests, checkstyle, PMD, SpotBugs, RAT) and checks that the Docker containers start.

A committer merges the pull request once it is approved. See the contributing guide and the code style guide.

Reporting security issues

Report suspected vulnerabilities privately to [email protected], not in JIRA, GitHub or the mailing lists. See SECURITY.md.

Community

  • Questions about using Ranger: [email protected] (subscribe)
  • Development: [email protected] (subscribe)
  • Chat: Ranger channel on the ASF Slack
  • Issues: RANGER JIRA project

License

Apache Ranger is licensed under the Apache License, Version 2.0.

About

Apache Ranger - Centralized, fine-grained authorization and auditing across data and AI platforms

ranger.apache.org

Topics

apacheauthzdockerjavapythonranger

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Security policy

Security policy
Activity
Custom properties

Stars

1.1k stars

Watchers

66 watching

Forks

1.1k forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.