pySigma Panther Backend
Detailed docs about converting Sigma rules for Panther can be found here.
This is the panther backend for pySigma. It provides the package sigma.backends.panther with the PantherBackend class.
It supports the following output formats:
- default: Panther Python Detections format
- sdyaml (
-f sdyaml): Panther YAML Detections To save each rule in separate file you can useoutput_dirbackend option.
sigma convert -t panther path/to/rules -p panther -O output_dir=output/directory
or
sigma convert -t panther -f sdyaml path/to/rules -p panther -O output_dir=output/directory
Further, it contains the following processing pipelines in sigma.pipelines.panther:
- panther_pipeline: Convert known Sigma field names into their Panther schema equivalent
Local setup for development
The project is using poetry for dependency management,
so after cloning it run: poetry install to install all the required dependencies.
Tests can be run with:
poetry run pytest
And rules can be converted with:
poetry run sigma convert -t panther -f sdyaml -p panther path_to_sigma_rule.yml`
Metadata
Release files for pySigma-backend-panther 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pysigma_backend_panther-0.3.1.tar.gz | 22.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pysigma_backend_panther-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 52.3 kB
Release files / pysigma_backend_panther-0.3.1.tar.gz
| Download URL | pysigma_backend_panther-0.3.1.tar.gz |
|---|---|
| Size | 22.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07dd88a6d54e23eaed0caed57a1b20d776bb9dff095392e4721c33a8989bf1ea
|
|
BLAKE2b-256 checksum How to use checksums |
ad2f11a5a44c8c387bdd8648784674a872bfb6f7c7bf5f08419f7cdef91db82f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.12.3 Linux/6.17.0-1010-azure
|
Release files / pysigma_backend_panther-0.3.1-py3-none-any.whl
| Download URL | pysigma_backend_panther-0.3.1-py3-none-any.whl |
|---|---|
| Size | 30.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f161cd17d4f319b6ceb9dc2ec46cecf0ebef5cc85c16d4bbaad41fcb544aa575
|
|
BLAKE2b-256 checksum How to use checksums |
9cde0567cdb7e7a1a42f20613eea89f204756fa7cc0a794b1d42b57333cba2c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.12.3 Linux/6.17.0-1010-azure
|