contentctl 4.1.0__py3-none-any.whl → 4.1.1__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.
- contentctl/actions/test.py +4 -1
- {contentctl-4.1.0.dist-info → contentctl-4.1.1.dist-info}/METADATA +1 -1
- {contentctl-4.1.0.dist-info → contentctl-4.1.1.dist-info}/RECORD +6 -6
- {contentctl-4.1.0.dist-info → contentctl-4.1.1.dist-info}/LICENSE.md +0 -0
- {contentctl-4.1.0.dist-info → contentctl-4.1.1.dist-info}/WHEEL +0 -0
- {contentctl-4.1.0.dist-info → contentctl-4.1.1.dist-info}/entry_points.txt +0 -0
contentctl/actions/test.py
CHANGED
|
@@ -90,6 +90,9 @@ class Test:
|
|
|
90
90
|
|
|
91
91
|
if len(input_dto.detections) == 0:
|
|
92
92
|
print(f"With Detection Testing Mode '{input_dto.config.getModeName()}', there were [0] detections found to test.\nAs such, we will quit immediately.")
|
|
93
|
+
# Directly call stop so that the summary.yml will be generated. Of course it will not have any test results, but we still want it to contain
|
|
94
|
+
# a summary showing that now detections were tested.
|
|
95
|
+
file.stop()
|
|
93
96
|
else:
|
|
94
97
|
print(f"MODE: [{input_dto.config.getModeName()}] - Test [{len(input_dto.detections)}] detections")
|
|
95
98
|
if input_dto.config.mode in [DetectionTestingMode.changes, DetectionTestingMode.selected]:
|
|
@@ -98,7 +101,7 @@ class Test:
|
|
|
98
101
|
|
|
99
102
|
manager.setup()
|
|
100
103
|
manager.execute()
|
|
101
|
-
|
|
104
|
+
|
|
102
105
|
try:
|
|
103
106
|
summary_results = file.getSummaryObject()
|
|
104
107
|
summary = summary_results.get("summary", {})
|
|
@@ -20,7 +20,7 @@ contentctl/actions/inspect.py,sha256=6gVVKmV5CUUYOkNNVTMPKj9bM1uXVthgGCoFKZGDeS8
|
|
|
20
20
|
contentctl/actions/new_content.py,sha256=4gTlxV0fmdsSETPX4T9uQPpIAm--Jf2vc6Vm3w-RkfI,6128
|
|
21
21
|
contentctl/actions/release_notes.py,sha256=akkFfLhsJuaPUyjsb6dLlKt9cUM-JApAjTFQMbYoXeM,13115
|
|
22
22
|
contentctl/actions/reporting.py,sha256=MJEmvmoA1WnSFZEU9QM6daL_W94oOX0WXAcX1qAM2As,1583
|
|
23
|
-
contentctl/actions/test.py,sha256=
|
|
23
|
+
contentctl/actions/test.py,sha256=dx7f750_MrlvysxOmOdIro1bH0iVKF4K54TSwhvU2MU,5146
|
|
24
24
|
contentctl/actions/validate.py,sha256=6_M5IMi68Pv4CNw69balQTkfRdjMTurUUv7z8BpGh3Y,2454
|
|
25
25
|
contentctl/api.py,sha256=FBOpRhbBCBdjORmwe_8MPQ3PRZ6T0KrrFcfKovVFkug,6343
|
|
26
26
|
contentctl/contentctl.py,sha256=Vr2cuvaPjpJpYvD9kVoYq7iD6rhLQEpTKmcGoq4emhA,10470
|
|
@@ -163,8 +163,8 @@ contentctl/templates/detections/web/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRk
|
|
|
163
163
|
contentctl/templates/macros/security_content_ctime.yml,sha256=Gg1YNllHVsX_YB716H1SJLWzxXZEfuJlnsgB2fuyoHU,159
|
|
164
164
|
contentctl/templates/macros/security_content_summariesonly.yml,sha256=9BYUxAl2E4Nwh8K19F3AJS8Ka7ceO6ZDBjFiO3l3LY0,162
|
|
165
165
|
contentctl/templates/stories/cobalt_strike.yml,sha256=rlaXxMN-5k8LnKBLPafBoksyMtlmsPMHPJOjTiMiZ-M,3063
|
|
166
|
-
contentctl-4.1.
|
|
167
|
-
contentctl-4.1.
|
|
168
|
-
contentctl-4.1.
|
|
169
|
-
contentctl-4.1.
|
|
170
|
-
contentctl-4.1.
|
|
166
|
+
contentctl-4.1.1.dist-info/LICENSE.md,sha256=hQWUayRk-pAiOZbZnuy8djmoZkjKBx8MrCFpW-JiOgo,11344
|
|
167
|
+
contentctl-4.1.1.dist-info/METADATA,sha256=ZKt2bKUc9AoQMA8TTIQy4Ohx-GiXEWbX0DxQeJcXvu8,19706
|
|
168
|
+
contentctl-4.1.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
169
|
+
contentctl-4.1.1.dist-info/entry_points.txt,sha256=5bjZ2NkbQfSwK47uOnA77yCtjgXhvgxnmCQiynRF_-U,57
|
|
170
|
+
contentctl-4.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|