Skip to main content

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)

Source distribution for probator 1.5.3
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

Release history Release notifications | RSS feed

1.10.1

1 release file

1.10.0

1 release file

1.9.1

1 release file

1.9.0

1 release file

1.8.2

1 release file

1.8.1

1 release file

1.8.0

1 release file

1.7.2

1 release file

1.7.1

1 release file

1.7.0

1 release file

1.6.2

1 release file

1.6.1

1 release file

1.6.0

1 release file

This release

1.5.3 This release

1 release file

1.5.2

1 release file

1.5.1

1 release file

1.4.0

1 release file

1.3.0

1 release file

1.2.1

1 release file

1.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page