Configuration setup for sentry
Project description
The autoguard project enables a Sentry server to use REMOTE_USER authentication.
It’s mostly a special sentry configuration file, modified to hook authentication backends and Django middlewares to the proper RemoteUser classes.
It also uses getconf to read settings from INI configuration files.
Usage
The autoguard configuration can be tuned in a few ways:
Specific environment variables (starting with AUTOGUARD_)
Reading from /etc/autoguard/settings/*.ini
On a dev checkout, reading from /path/to/autoguard_checkout/local_settings.ini
All options are described in autoguard/example_settings.ini file.
Use autoguard almost as you would use Sentry. It auto-discovers the sentry_conf.py config file:
autoguard start
If using the docker image build by the attached Dockerfile. The entrypoint is the “autoguard” command:
docker run --name redis redis:latest docker run <IMAGE_ID> --link redis:redis --volume <CONFIG_DIR>:/etc/autoguard start
Security
Autoguard expects to run behind a HTTPS reverse proxy; that proxy MUST set the X-Forwarded-Proto HTTP header to https for HTTPS requests.
The authentication is based on X-Remote-User HTTP header, the proxy MUST clean it before passing to the application.
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
Built Distribution
File details
Details for the file autoguard-0.3.4.tar.gz
.
File metadata
- Download URL: autoguard-0.3.4.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 888c8d195409fcb4b9178df57a35b779206b57165749d6254ea3d55aa8899c8e |
|
MD5 | 371624552b16513316ec0ddfd037d030 |
|
BLAKE2b-256 | 8ad4a1781221d3338b2e6c73250c2dd0cce3f2afdb819f349adb4f5066964a2a |
File details
Details for the file autoguard-0.3.4-py2-none-any.whl
.
File metadata
- Download URL: autoguard-0.3.4-py2-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3190c0afc3061876ecda9b349f33373bced7d6c83c9a9b8329e05099630c4b3c |
|
MD5 | a5321848bbb84fb4421cb0c00db6075f |
|
BLAKE2b-256 | 6135b0105e594f6d3af5bd5e34f6f60e895e6f47cee10bff20895ebb41c8be5a |