Skip to content

panther-labs/pySigma-backend-panther

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pySigma Panther Backend

Test

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:

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`