Tool to enforce ownership and data security within cloud environments
Project description
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
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
File details
Details for the file probator-1.10.1.tar.gz
.
File metadata
- Download URL: probator-1.10.1.tar.gz
- Upload date:
- Size: 93.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eee196a8830a7e432462f1c92ec70e5d510362f57e4369af7e4e7940434c0e7e |
|
MD5 | 80b8069b4416339a042739734fc835eb |
|
BLAKE2b-256 | 2231c6ac8dcb0bd3cc80ac2fe22505c831df9ceae9ec59a96827ea8f1c2ddb42 |