Probator
A security and compliance tool for validating your infrastructure. For full documentation please head over to https://probator.gitlab.io/
Docker
Using the provided Dockerfile it is trivial to build a container that contains everyting
necessary to run a the backend, scheduler and worker processes.
Build Arguments
The Dockerfile currently supports 3 arguments as --build-arg variables
| Name | Description |
|---|---|
| pip_flags | Used to pass any extra configuration arguments to the pip install command. An example of this could be to pass in the --extra-index-url argument for loading extra packages from a private PyPi repository |
| extra_packages | Any extra python packages you would like to install, such as custom plugins |
| timezone | The timezone to set in the container, used for the schedulers. Defaults to UTC |
Limitations
The container does not come with a database, that will need to be provided externally. You will also need to map in a volume containing the configuration files
Examples
Build with custom plugin from private repository
This example uses the pip_flags and extra_packages to install a custom plugin probator-auth-openid
docker build . -t probator:latest --build-arg pip_flags="--extra-index-url https://pypi.company.tld/simple/" --build-arg extra_packages="probator-auth-openid"
Example execution
To run any part of the system you will need to pass in the configuration folder with the required files (config.json, logging.json and ssl/private.key) present to /usr/local/etc/probator inside the container.
The example below will execute the scheduler
docker run --rm -v probator-config:/usr/local/etc/probator probator:latest probator scheduler
The next example shows how to run the API server with a port mapping for a production API server
docker run --rm -p 5000:5000 -v probator-config:/usr/local/etc/probator probator:latest gunicorn -w 6 -b 0.0.0.0:5000 -k gthread -t 60 "probator.wsgi:run()"
Credits
Based on the work by Riot Games' Cloud Inquisitor
Metadata
Release files for probator 1.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| probator-1.5.3.tar.gz | 85.7 kB | Details |
Release files / probator-1.5.3.tar.gz
| Download URL | probator-1.5.3.tar.gz |
|---|---|
| Size | 85.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
525184afd9568c6bdcebceddc8ba8964ef547d329b7014aa95809a43a3bdbd56
|
|
BLAKE2b-256 checksum How to use checksums |
d2b7a3fc4806ebaefb28c949cdc7ef895a0ab9a664101d92322b4e436b99941c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2
|