txt2detection 1.1.0__py3-none-any.whl → 1.1.2__py3-none-any.whl
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/ai_extractor/prompts.py +1 -1
- txt2detection/bundler.py +1 -1
- {txt2detection-1.1.0.dist-info → txt2detection-1.1.2.dist-info}/METADATA +1 -1
- {txt2detection-1.1.0.dist-info → txt2detection-1.1.2.dist-info}/RECORD +7 -7
- {txt2detection-1.1.0.dist-info → txt2detection-1.1.2.dist-info}/WHEEL +0 -0
- {txt2detection-1.1.0.dist-info → txt2detection-1.1.2.dist-info}/entry_points.txt +0 -0
- {txt2detection-1.1.0.dist-info → txt2detection-1.1.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -18,7 +18,7 @@ Return the result as a **JSON output**, ensuring that each dictionary represents
|
|
|
18
18
|
- `"title"`: A concise, descriptive title for the rule.
|
|
19
19
|
- `"description"`: A summary of the rule, explaining its purpose and detection logic.
|
|
20
20
|
- `"tags"`: **Generated by AI**, including:
|
|
21
|
-
- ATT&CK and CVE
|
|
21
|
+
- ATT&CK Technique IDs, ATT&CK Sub-technique IDs and CVE IDs relevant to the report.
|
|
22
22
|
- `"falsepositives"`: Please describe situations where this detection rule might trigger false positive detections. Put each situation description as a new list item
|
|
23
23
|
- `"logsources"`: Valid sigma rule logsource
|
|
24
24
|
- `"detection"`: Valid sigma rule detection
|
txt2detection/bundler.py
CHANGED
|
@@ -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(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: txt2detection
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.2
|
|
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
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
txt2detection/__init__.py,sha256=Fc460P0q_eb2u3Xc89z-fwl-4ai3jrPqPNVwJQYNkNQ,89
|
|
2
2
|
txt2detection/__main__.py,sha256=KC4JtsrFXXiXfNv77lVaYbDBrub5grup5-MNjwHhmOs,11685
|
|
3
3
|
txt2detection/attack_navigator.py,sha256=n-h5GoVqWl4zxi5GKOdWbxWvZfW8dks5YHY-ucm2g-E,2185
|
|
4
|
-
txt2detection/bundler.py,sha256=
|
|
4
|
+
txt2detection/bundler.py,sha256=1-kWgBfmgJEAFiBoY7DhiDC4icLxrP96TE8f_Mz6co4,15156
|
|
5
5
|
txt2detection/credential_checker.py,sha256=NuKk7WlDshtdpGecxY1exoi4fUHCygunPH2lZ20oEA8,2598
|
|
6
6
|
txt2detection/models.py,sha256=9nEmbyRNIM5ZhM6asJymKlcUA2Bj2mbFEtWX5OPTU2s,12857
|
|
7
7
|
txt2detection/observables.py,sha256=FuOfq7TsQykeHbE5waakx-rh1JacAq3G8mUqi-3Aw_o,5896
|
|
@@ -13,11 +13,11 @@ txt2detection/ai_extractor/deepseek.py,sha256=uRbPWmbnu4dzXaBxWPOsKt68v5NJeugGyv
|
|
|
13
13
|
txt2detection/ai_extractor/gemini.py,sha256=hlcKkiHGzQJ0dQECfIhjx2LfdhZoquAF9POwz61RAhw,557
|
|
14
14
|
txt2detection/ai_extractor/openai.py,sha256=ggonpHtckNz9GEJIR0ADMzZWDKi6EWuicP0fsxvkP3A,616
|
|
15
15
|
txt2detection/ai_extractor/openrouter.py,sha256=rL-SnzRhzrCnPJGLxbTlRyxU0NAw42RmSq3ouuo3Iag,658
|
|
16
|
-
txt2detection/ai_extractor/prompts.py,sha256=
|
|
16
|
+
txt2detection/ai_extractor/prompts.py,sha256=36u4ae7RoXADuTVbX4Sgssx7XQjCUzgK46BnVqWURVk,6029
|
|
17
17
|
txt2detection/ai_extractor/utils.py,sha256=EZJb3T34WV5iXIg1xh3nbcPC8PWWHc6puc5IiDtE3YM,618
|
|
18
18
|
txt2detection/config/detection_languages.yaml,sha256=dgQUJPxhDRJ_IiFEFOiH0yhEer3SkFSIhY4pS3BsX2c,287
|
|
19
|
-
txt2detection-1.1.
|
|
20
|
-
txt2detection-1.1.
|
|
21
|
-
txt2detection-1.1.
|
|
22
|
-
txt2detection-1.1.
|
|
23
|
-
txt2detection-1.1.
|
|
19
|
+
txt2detection-1.1.2.dist-info/METADATA,sha256=ZILeBYK8EuDagOfZJaweUqg0weJTQ_4aphaUN4x8jsc,14823
|
|
20
|
+
txt2detection-1.1.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
21
|
+
txt2detection-1.1.2.dist-info/entry_points.txt,sha256=ep_rLlS2r1-kKE7S3iKf3SVwbCU9-FZhU9zUebitw7A,62
|
|
22
|
+
txt2detection-1.1.2.dist-info/licenses/LICENSE,sha256=BK8Ppqlc4pdgnNzIxnxde0taoQ1BgicdyqmBvMiNYgY,11364
|
|
23
|
+
txt2detection-1.1.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|