This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.

Release History

Release History

This version
History Node

0.3.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.0

History Node

0.2.14

History Node

0.2.13

History Node

0.2.12

History Node

0.2.11

History Node

0.2.10

History Node

0.2.9

History Node

0.2.8

History Node

0.2.7

History Node

0.2.6

History Node

0.2.5

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
autoguard-0.3.4-py2-none-any.whl (11.4 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Apr 4, 2016
autoguard-0.3.4.tar.gz (7.4 kB) Copy SHA256 Checksum SHA256 Source Apr 4, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting