txt2detection 1.1.0__tar.gz → 1.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of txt2detection might be problematic. Click here for more details.
- {txt2detection-1.1.0 → txt2detection-1.1.1}/PKG-INFO +1 -1
- {txt2detection-1.1.0 → txt2detection-1.1.1}/pyproject.toml +1 -1
- {txt2detection-1.1.0 → txt2detection-1.1.1}/txt2detection/bundler.py +1 -1
- {txt2detection-1.1.0 → txt2detection-1.1.1}/.env.example +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/.env.markdown +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/.github/workflows/create-release.yml +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/.github/workflows/run-tests.yml +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/.gitignore +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/LICENSE +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/README.md +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/config/detection_languages.yaml +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/docs/README.md +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/docs/txt2detection.png +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/requirements.txt +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/CVE-2024-56520.txt +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/EC2-exfil.txt +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/generate-multiple-rules.txt +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/observables.txt +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/sigma-rule-attack-enterprise.yml +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/sigma-rule-attack-flow.yml +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/sigma-rule-custom-tags.yml +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/sigma-rule-existing-related.yml +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/sigma-rule-master.yml +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/sigma-rule-no-author.yml +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/sigma-rule-no-date.yml +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/sigma-rule-no-description.yml +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/sigma-rule-no-level.yml +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/sigma-rule-no-license.yml +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/sigma-rule-no-status.yml +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/sigma-rule-no-tags.yml +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/sigma-rule-no-title.yml +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/sigma-rule-observables.yml +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/files/sigma-rule-one-date.yml +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/manual-tests/README.md +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/manual-tests/input-file-mode.md +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/manual-tests/input-sigma-mode.md +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/manual-tests/input-text-mode.md +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/src/__init__.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/src/conftest.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/src/requirements.txt +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/src/test_attack_flow.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/src/test_bundler.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/src/test_main.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/src/test_main_run_txt2detction.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/src/test_models.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/src/test_observables.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/tests/src/test_utils.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/txt2detection/__init__.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/txt2detection/__main__.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/txt2detection/ai_extractor/__init__.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/txt2detection/ai_extractor/anthropic.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/txt2detection/ai_extractor/base.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/txt2detection/ai_extractor/deepseek.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/txt2detection/ai_extractor/gemini.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/txt2detection/ai_extractor/openai.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/txt2detection/ai_extractor/openrouter.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/txt2detection/ai_extractor/prompts.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/txt2detection/ai_extractor/utils.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/txt2detection/attack_navigator.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/txt2detection/credential_checker.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/txt2detection/models.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/txt2detection/observables.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/txt2detection/utils.py +0 -0
- {txt2detection-1.1.0 → txt2detection-1.1.1}/txt2detection.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: txt2detection
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.1
|
|
4
4
|
Summary: A command line tool that takes a txt file containing threat intelligence and turns it into a detection rule.
|
|
5
5
|
Project-URL: Homepage, https://github.com/muchdogesec/txt2detection
|
|
6
6
|
Project-URL: Issues, https://github.com/muchdogesec/txt2detection/issues
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "txt2detection"
|
|
7
|
-
version = "1.1.
|
|
7
|
+
version = "1.1.1"
|
|
8
8
|
authors = [{ name = "dogesec" }]
|
|
9
9
|
maintainers = [{ name = "dogesec" }]
|
|
10
10
|
description = "A command line tool that takes a txt file containing threat intelligence and turns it into a detection rule."
|
|
@@ -401,7 +401,7 @@ class Bundler:
|
|
|
401
401
|
indicator = [
|
|
402
402
|
f
|
|
403
403
|
for f in self.bundle.objects
|
|
404
|
-
if str(f["id"]).endswith(detection_id) and f["type"] == "indicator"
|
|
404
|
+
if str(f["id"]).endswith(str(detection_id)) and f["type"] == "indicator"
|
|
405
405
|
][0]
|
|
406
406
|
self.data.navigator_layer[detection_id] = (
|
|
407
407
|
attack_navigator.create_navigator_layer(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|