Skip to main content

No project description provided

Project description

# searchguard-python

[![build status](https://travis-ci.org/ByteInternet/searchguard-python.svg?branch=master)](https://travis-ci.org/ByteInternet/searchguard-python) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)

Unofficial Python library for Search Guard (a security solution for Elasticsearch)

## Installation ##

This library requires a Search Guard subscription (or trial license). Information can be found on https://search-guard.com/.

Make sure enterprise modules are enabled in your elasticsearch.yml:

searchguard.enterprise_modules_enabled: true

Make sure backend role management in your elasticsearch.yml is set to either of the two options below:

searchguard.roles_mapping_resolution: [BACKENDROLES_ONLY|BOTH]

Install the library:

pip3 install searchguard

Set the environment variables

export SEARCHGUARD_API_URL=”https://www.example.com:1234/_searchguard/api” export SEARCHGUARD_API_USER=”foo” export SEARCHGUARD_API_PASS=”bar”

## Future work ##

  • Add code for managing actiongroups

## Legal

  • Elasticsearch is a trademark of Elasticsearch BV, registered in the U.S. and in other countries.

  • Search Guard is a trademark of floragunn GmbH, registered in the U.S. and in other countries.

  • Byte Internet is not affiliated with either Elasticsearch BV / floragunn GmbH.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

searchguard-0.8.1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

searchguard-0.8.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file searchguard-0.8.1.tar.gz.

File metadata

  • Download URL: searchguard-0.8.1.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.9.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for searchguard-0.8.1.tar.gz
Algorithm Hash digest
SHA256 774f73735fba37b5bf39d03561290f3ee2346462acd5163ba31a2acccaece10e
MD5 d46d67e4d790d4b2ac81d820f2f10e56
BLAKE2b-256 ddcc04e2e5ac6b32482991dbecc744b619bd9ad22df304f6fce91edf8f18cf13

See more details on using hashes here.

File details

Details for the file searchguard-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: searchguard-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.9.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for searchguard-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ae44e23d66baf636493dbbc574c20b8275a84b2333f2495f755f6b76ee894493
MD5 2e378d91f69d256716fb05aad4065f39
BLAKE2b-256 c8e44c53b1859039804bb44844e8e57f3ff77bb931b8b7fbdeb15f1af6ffcb81

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page