DetectIQ
DetectIQ is an AI-powered security rule management library. It helps create, analyze, and optimize detection rules for various security platforms.
⚠️ IMPORTANT DISCLAIMER This project is a Proof of Concept and under active development. Expect bugs, breaking changes, and incomplete documentation. Not recommended for production use. Use at your own risk.
Quickstart
- Clone:
git clone https://github.com/AttackIQ/DetectIQ.git && cd DetectIQ - Configure: Copy
.env.exampleto.envand add your API keys (e.g.,OPENAI_API_KEY). - Install:
poetry install --all-extras(recommended) orpip install . - Explore: See the
examples/directory and the detailed documentation.
Key Features
- AI-powered rule creation and optimization (OpenAI).
- Integration with rule repositories (SigmaHQ, YARA-Forge, Snort3).
- Static analysis of samples (malware, PCAPs) for rule generation context.
- Multi-platform SIEM query translation.
For more details, see documentation.
Road Map
Key areas of future development include support for custom/local LLMs, more SIEM integrations, and enhanced rule validation. See issues for more.
Using as a Package
Install from PyPI:
pip install detectiq
DetectIQ is primarily used as a Python library. For detailed usage patterns and code examples, please refer to the examples/ directory and the main documentation.
Environment Configuration
Configure via environment variables. Copy .env.example to .env and set your API keys. For full details, see the documentation.
Development
This project uses a Makefile for common development tasks.
- Install development dependencies:
poetry install --all-extras(includes dev dependencies ifpyproject.tomlis configured for it, or use a specific group e.g.poetry install --with dev). Check yourMakefileorpyproject.tomlfor the exact command for dev dependencies. - View available commands:
make help - Format code:
make format - Run tests:
make test
For publishing information, see PUBLISHING.md.
Contributing
- Fork the repository.
- Create a feature branch.
- Commit your changes.
- Push to the branch.
- Create a Pull Request.
License
This project uses multiple licenses. The core project is licensed under LGPL v2.1. See the LICENSE file and notes on licenses for bundled rule sets within the documentation.
Support & Community
- Discussions: SigmaHQ Discord
- Issues: GitHub Issues
Acknowledgments
- SigmaHQ Community
- YARA-Forge Contributors
- Snort Community
- OpenAI
Metadata
Release files for detectiq 0.1.47
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| detectiq-0.1.47.tar.gz | 100.4 kB | Without provenance | Details for detectiq-0.1.47.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| detectiq-0.1.47-py3-none-any.whl | Python 3 | none | any | Details for detectiq-0.1.47-py3-none-any.whl |
Total release size: 241.3 kB
Release files / detectiq-0.1.47.tar.gz
| Download URL | detectiq-0.1.47.tar.gz |
|---|---|
| Size | 100.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
998b728b4ea914a170cb722c5bc48301faa390b347fc1c70a9aada1b52da1be7
|
|
BLAKE2b-256 checksum How to use checksums |
598f49df82f7514ab02f74ba43220aaa121bdad1597694753dde9edcea98fc91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.2 Linux/5.15.167.4-microsoft-standard-WSL2
|
Release files / detectiq-0.1.47-py3-none-any.whl
| Download URL | detectiq-0.1.47-py3-none-any.whl |
|---|---|
| Size | 140.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
367f567f62dc81ff44ce21f2244bbd5135517e085a14e0b6df1e693b00849147
|
|
BLAKE2b-256 checksum How to use checksums |
3e6859b870bc11c93fa7bd0f61006456e9dc77bc0c660ca7650c819975b689f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.2 Linux/5.15.167.4-microsoft-standard-WSL2
|
Security for detectiq 0.1.47
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.