pySigma backend for Panther
Project description
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`
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pysigma_backend_panther-0.2.9.tar.gz.
File metadata
- Download URL: pysigma_backend_panther-0.2.9.tar.gz
- Upload date:
- Size: 21.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.11.0-1012-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94c0bbf83568c4a7663be216688b16dcbf1f0b171f8ceb6d20f8d0c4ba12ecbb
|
|
| MD5 |
d9b09d16c6ca8f61c66428ef96e98c00
|
|
| BLAKE2b-256 |
d817b8869d65bedfd59ad9f7a09e5fbe13fa1061cc342ab9c8c9513689722dee
|
File details
Details for the file pysigma_backend_panther-0.2.9-py3-none-any.whl.
File metadata
- Download URL: pysigma_backend_panther-0.2.9-py3-none-any.whl
- Upload date:
- Size: 29.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.11.0-1012-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc33b1f44e2a53c4c1ed32db9598775ddc6e8923044bef43110e0eb1043f07a8
|
|
| MD5 |
e4c25508ec7d5df11f0842ada7a84e9f
|
|
| BLAKE2b-256 |
d4bacbda07d9ef9beea351951a2f34790917f02a72f990ac4a49dc6a9937a6dd
|