Skip to main content

A security telemetry engine for detection and response

Project description

VAST Python

The Python package of VAST provides a flexible control plane to integrate VAST with other security tools.

Note The Python effort is still highly experimental and subject to rapid change. Please do not consider it for production use.

Usage

To get started, clone the VAST repository and install the Python package via Poetry:

git clone https://github.com/tenzir/vast.git
cd vast/python
poetry install

Development

We recommend that you work with an editable installation, which is the default for poetry install.

Unit Tests

Run the unit tests via pytest:

poetry run pytest

Integration Tests

Run the integrations tests via Docker Compose and pytest:

./docker-poetry-run.sh pytest -v

Packaging

The following instructions concern maintainers who want to publish the Python package to PyPI.

Note Our releasing scripts and CI run these steps automatically. You do not need to intervene anywhere. The instructions below merely document the steps taken.

Bump the version

Prior to releasing a new version, bump the version, e.g.:

poetry version 2.3.1

This updates the pyproject.toml file.

Publish to Test PyPI

  1. Add a Test PyPi repository:

    poetry config repositories.test-pypi https://test.pypi.org/legacy/
    
  2. Get the token from https://test.pypi.org/manage/account/token/.

  3. Store the token:

poetry config pypi-token.test-pypi pypi-XXXXXXXX
  1. Publish:

    poetry publish --build -r test-pypi
    

Publish to PyPI

  1. Get the token from https://pypi.org/manage/account/token/.

  2. Store the token:

poetry config pypi-token.pypi pypi-XXXXXXXX
  1. Publish

    poetry publish --build
    

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

pyvast-4.0.0rc7.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyvast-4.0.0rc7-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file pyvast-4.0.0rc7.tar.gz.

File metadata

  • Download URL: pyvast-4.0.0rc7.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.0 CPython/3.10.12 Linux/5.15.0-1041-azure

File hashes

Hashes for pyvast-4.0.0rc7.tar.gz
Algorithm Hash digest
SHA256 e3ad8e3d57657e6b121cc5c6a5a416fa0c6dc6303ae11ee1b8a3f691c4dd5952
MD5 dd2f55ddc48eda67b6e3dc7413658d89
BLAKE2b-256 dbd04a15eab948df8130ba04b442a418e02c0dfc99918a1768e075eaeddabb6b

See more details on using hashes here.

File details

Details for the file pyvast-4.0.0rc7-py3-none-any.whl.

File metadata

  • Download URL: pyvast-4.0.0rc7-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.0 CPython/3.10.12 Linux/5.15.0-1041-azure

File hashes

Hashes for pyvast-4.0.0rc7-py3-none-any.whl
Algorithm Hash digest
SHA256 f3494e187f5b69e951a826038cd61ae043bf2d5edfa86235941963ce8f2f2434
MD5 27f7c2a07a3dd0da1a59c4018e52cac8
BLAKE2b-256 523c0b2a220548eac07b9a663188797ee6b2e232fd34fc9121a9648f05a17307

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page