Metadata-Version: 2.4
Name: sigharvest
Version: 0.1.0
Summary: Sigma rule aggregator: collect public Sigma rules, deduplicate, search, validate, convert and export them
Keywords: sigma,detection-engineering,siem,threat-hunting,pysigma,detection-rules,blue-team
Author: sigharvest contributors
License-Expression: MIT AND OFL-1.1
License-File: LICENSE
License-File: NOTICE
License-File: src/sigharvest/web/static/fonts/Archivo-OFL.txt
License-File: src/sigharvest/web/static/fonts/AtkinsonHyperlegibleMono-OFL.txt
License-File: src/sigharvest/web/static/fonts/AtkinsonHyperlegibleNext-OFL.txt
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Security
Requires-Dist: alembic>=1.20.1
Requires-Dist: fastapi>=0.162.0
Requires-Dist: httpx>=0.28.1
Requires-Dist: jinja2>=3.1.6
Requires-Dist: jsonschema>=4.26.0
Requires-Dist: markupsafe>=3.0
Requires-Dist: pyparsing>=3.1
Requires-Dist: pysigma>=1.5.1,<3
Requires-Dist: pysigma-pipeline-sysmon>=2.0.0,<4
Requires-Dist: pysigma-pipeline-windows>=2.0.1,<4
Requires-Dist: python-multipart>=0.0.32
Requires-Dist: pyyaml>=6.0.3
Requires-Dist: rich>=15.0.0
Requires-Dist: sqlalchemy>=2.1.6
Requires-Dist: typer>=0.27.3,<1
Requires-Dist: uvicorn>=0.54.0
Requires-Dist: pysigma-backend-loki>=0.16,<0.17 ; extra == 'convert'
Requires-Dist: pysigma-backend-splunk>=3.0.0,<4 ; extra == 'convert'
Requires-Dist: pysigma-backend-sqlite>=2.1.1,<3 ; extra == 'convert'
Requires-Dist: pysigma>=2.1.0,<3 ; extra == 'convert'
Requires-Dist: pysigma>=1.5.1,<2 ; extra == 'convert-legacy'
Requires-Dist: pysigma-backend-elasticsearch>=2.1.1 ; extra == 'convert-legacy'
Requires-Dist: pysigma-backend-kusto>=1.0.1 ; extra == 'convert-legacy'
Requires-Dist: pysigma-backend-loki>=0.15.1,<0.16 ; extra == 'convert-legacy'
Requires-Dist: pysigma-backend-opensearch>=2.0.3 ; extra == 'convert-legacy'
Requires-Dist: pysigma-backend-splunk>=2.1.0,<3 ; extra == 'convert-legacy'
Requires-Dist: pysigma-backend-sqlite>=2.0.0,<2.1 ; extra == 'convert-legacy'
Requires-Python: >=3.12
Project-URL: Homepage, https://github.com/threat-hunter-eu/sigharvest
Project-URL: Website, https://threat-hunting.eu/tools/sigharvest
Project-URL: Documentation, https://github.com/threat-hunter-eu/sigharvest#readme
Project-URL: Issues, https://github.com/threat-hunter-eu/sigharvest/issues
Project-URL: Changelog, https://github.com/threat-hunter-eu/sigharvest/blob/main/CHANGELOG.md
Provides-Extra: convert
Provides-Extra: convert-legacy
Description-Content-Type: text/markdown

<p align="center">
  <img src="https://raw.githubusercontent.com/threat-hunter-eu/sigharvest/main/src/sigharvest/web/static/favicon.svg" width="84" alt="sigharvest logo">
</p>

<h1 align="center">sigharvest</h1>

<p align="center">
  <b>Every public Sigma rule, in one place, without the duplicates.</b><br>
  Collect · deduplicate · validate · search · export, on your own machine.
</p>

<p align="center">
  <a href="https://github.com/threat-hunter-eu/sigharvest/actions/workflows/ci.yml"><img src="https://github.com/threat-hunter-eu/sigharvest/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
  <a href="https://github.com/threat-hunter-eu/sigharvest/blob/main/LICENSE"><img src="https://img.shields.io/badge/licence-MIT-0d6b6e" alt="MIT licence"></a>
  <img src="https://img.shields.io/badge/python-3.12%2B-0d6b6e" alt="Python 3.12+">
</p>

<p align="center">
  <a href="https://threat-hunting.eu/tools/sigharvest">Website</a> ·
  <a href="#quickstart">Quickstart</a> ·
  <a href="https://github.com/threat-hunter-eu/sigharvest/blob/main/docs/features.md">Features</a> ·
  <a href="#download-the-rules">Download the rules</a> ·
  <a href="#documentation">Docs</a>
</p>

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/threat-hunter-eu/sigharvest/main/docs/screenshots/overview-dark.png">
  <img src="https://raw.githubusercontent.com/threat-hunter-eu/sigharvest/main/docs/screenshots/overview-light.png" alt="sigharvest overview: unique rules by level and by the year they last changed, copies merged, ATT&CK coverage per tactic and the largest sources">
</picture>

Public Sigma rules are spread over more than a thousand repositories, and most of them are copies of each other.
sigharvest keeps **one entry per detection logic** with every copy and its licence, checks each rule with pySigma,
and gives you a fast local search and one-command exports, including ready SIEM queries. Offline after the first
update; your data never leaves the machine.

## Quickstart

You need Python 3.12+, Git and [uv](https://docs.astral.sh/uv/).

<!-- doctest -->
```bash
uv tool install "sigharvest[convert] @ git+https://github.com/threat-hunter-eu/sigharvest"
sigharvest init ~/sigma && cd ~/sigma && sigharvest update   # first run: about 10 minutes
sigharvest serve                                             # http://127.0.0.1:8799
```

Prefer the terminal: `sigharvest search mimikatz`, `sigharvest export lsass --format splunk --out lsass.spl`.
Step by step, other SIEMs and the full nightly corpus: [Getting started](https://github.com/threat-hunter-eu/sigharvest/blob/main/docs/getting-started.md).

## Highlights

- **Deduplicated by logic**, not by file name: renamed copies are one rule, variants form a family.
- **Validated** with pySigma and the Sigma schema; junk and broken YAML are set aside.
- **SIEM queries** for Splunk, Loki, SQLite, Elastic, OpenSearch and Defender via pySigma.
- **ATT&CK coverage**, gaps and a Navigator layer from the rule tags.
- **Licence-aware**: every rule keeps its source, author and licence; every export carries a `NOTICE.md`.
- **Local and private**: the web UI binds to 127.0.0.1 and loads nothing from the internet.

Screenshots of search, rule pages, export and coverage, and how the pipeline works: [Features](https://github.com/threat-hunter-eu/sigharvest/blob/main/docs/features.md).

## Download the rules

No install needed: the **[sigharvest-rules](https://github.com/threat-hunter-eu/sigharvest-rules/releases/latest)**
nightly pack has the whole public corpus (about 1,200 sources), deduplicated, validated and split by licence. The
first pack (`rules-2026-11-17`) lists 98,733 rules; 66,986 ship with their YAML. Every file: [Releases](https://github.com/threat-hunter-eu/sigharvest/blob/main/docs/releases.md).

<!-- doctest: skip network (downloads a release) -->
```bash
curl -LO https://github.com/threat-hunter-eu/sigharvest-rules/releases/latest/download/sigharvest-rules-permissive.zip
```

## Documentation

| | |
|---|---|
| **Start** | [Getting started](https://github.com/threat-hunter-eu/sigharvest/blob/main/docs/getting-started.md) · [Features](https://github.com/threat-hunter-eu/sigharvest/blob/main/docs/features.md) · [CLI recipes](https://github.com/threat-hunter-eu/sigharvest/blob/main/docs/cli.md) · [Web UI](https://github.com/threat-hunter-eu/sigharvest/blob/main/docs/web.md) · [FAQ](https://github.com/threat-hunter-eu/sigharvest/blob/main/docs/faq.md) |
| **Rules** | [Export and SIEM queries](https://github.com/threat-hunter-eu/sigharvest/blob/main/docs/export.md) · [Sources and licences](https://github.com/threat-hunter-eu/sigharvest/blob/main/docs/sources.md) · [Concepts](https://github.com/threat-hunter-eu/sigharvest/blob/main/docs/concepts.md) |
| **Run it** | [Releases](https://github.com/threat-hunter-eu/sigharvest/blob/main/docs/releases.md) · [Unattended updates](https://github.com/threat-hunter-eu/sigharvest/blob/main/docs/scheduling.md) · [GitHub Actions](https://github.com/threat-hunter-eu/sigharvest/blob/main/docs/automation.md) · [Architecture](https://github.com/threat-hunter-eu/sigharvest/blob/main/docs/architecture.md) |

## Contributing

Contributions are welcome: see [CONTRIBUTING](https://github.com/threat-hunter-eu/sigharvest/blob/main/.github/CONTRIBUTING.md); security reports: [SECURITY](https://github.com/threat-hunter-eu/sigharvest/blob/main/.github/SECURITY.md).
Maintainers: [@angstromissa](https://github.com/angstromissa), [@elhoim](https://github.com/elhoim).

## Licence

sigharvest is released under the [MIT licence](https://github.com/threat-hunter-eu/sigharvest/blob/main/LICENSE). It never changes the licence of a rule
([rule licences](https://github.com/threat-hunter-eu/sigharvest/blob/main/docs/sources.md#licences), [NOTICE](https://github.com/threat-hunter-eu/sigharvest/blob/main/NOTICE)). Built on [Sigma](https://github.com/SigmaHQ/sigma) and [pySigma](https://github.com/SigmaHQ/pySigma).
To have a rule corrected, attributed differently or removed, [open an issue](https://github.com/threat-hunter-eu/sigharvest/issues) or write to
security@threat-hunting.eu.

Not affiliated with or endorsed by SigmaHQ, OISF, Proofpoint/Emerging Threats or MITRE. MITRE ATT&CK® and ATT&CK®
are registered trademarks of The MITRE Corporation; ATT&CK data: © 2026 The MITRE Corporation, reproduced and
distributed with its permission ([terms of use](https://attack.mitre.org/resources/legal-and-branding/terms-of-use/)).
