Skip to main content

No project description provided

Project description

Sigma Command Line Interface

Tests Coverage Badge Status

This is the Sigma command line interface using the pySigma library to manage, list and convert Sigma rules into query languages.

Getting Started

Installation

The easiest way to install the Sigma CLI is via pipx or pip. For this purpose run one of the following:

python -m pipx install sigma-cli
python -m pip install sigma-cli

Another way is to run this from source in a virtual environment managed by Poetry:

git clone https://github.com/SigmaHQ/sigma-cli.git
cd sigma-cli
poetry install
poetry shell

Usage

The CLI is available as sigma command. A typical invocation is:

sigma convert -t <backend> -p <processing pipeline 1> -p <processing pipeline 2> [...] <directory or file>

E.g. to convert process creation Sigma rules from a directory into Splunk queries for Sysmon logs run:

sigma convert -t splunk -p sysmon sigma/rules/windows/process_creation

Available conversion backends and processing pipelines can be listed with sigma list.

Backends can support different output formats, e.g. plain queries and a file that can be imported into the target system. These formats can be listed with sigma list formats <backend> and specified for conversion with the -f option.

In addition, an output file can be specified with -o.

Example for output formats and files:

sigma convert -t splunk -f savedsearches -p sysmon -o savedsearches.conf sigma/rules/windows/process_creation

Outputs a Splunk savedsearches.conf containing the converted searches.

Maintainers

The project is currently maintained by:

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

sigma-cli-0.3.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

sigma_cli-0.3.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file sigma-cli-0.3.0.tar.gz.

File metadata

  • Download URL: sigma-cli-0.3.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.0 CPython/3.8.12 Linux/5.11.0-1028-azure

File hashes

Hashes for sigma-cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 85c2ed5336f34b79dc2a2d931f9954c0f72228813ec72b10b7c9bcf410c964ec
MD5 80d82b2a5615a983f8885e89b3aba6da
BLAKE2b-256 b09ed446375a7d65a9cced8935e93e2303128c6810c7b05d5aa6295a0ecdd641

See more details on using hashes here.

File details

Details for the file sigma_cli-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: sigma_cli-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.0 CPython/3.8.12 Linux/5.11.0-1028-azure

File hashes

Hashes for sigma_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4de4977f2142884f1f2164369d8a71c3a86eeddc28ee54cd51119881c717138d
MD5 10e062b57107352b34cd14993e0053ae
BLAKE2b-256 97111e1cd030a0f1696dda25bea68a3218ca5d90de0479da8489b8faf75be2e2

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