This project has been archived by its maintainers, and is no longer receiving any updates.
autoguard
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.
Metadata
Release files for autoguard 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| autoguard-0.3.4.tar.gz | 7.4 kB | Without provenance | Details for autoguard-0.3.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| autoguard-0.3.4-py2-none-any.whl | Python 2 | none | any | Details for autoguard-0.3.4-py2-none-any.whl |
Total release size: 18.8 kB
Release files / autoguard-0.3.4.tar.gz
| Download URL | autoguard-0.3.4.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
888c8d195409fcb4b9178df57a35b779206b57165749d6254ea3d55aa8899c8e
|
|
BLAKE2b-256 checksum How to use checksums |
8ad4a1781221d3338b2e6c73250c2dd0cce3f2afdb819f349adb4f5066964a2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / autoguard-0.3.4-py2-none-any.whl
| Download URL | autoguard-0.3.4-py2-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
3190c0afc3061876ecda9b349f33373bced7d6c83c9a9b8329e05099630c4b3c
|
|
BLAKE2b-256 checksum How to use checksums |
6135b0105e594f6d3af5bd5e34f6f60e895e6f47cee10bff20895ebb41c8be5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for autoguard 0.3.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.