assemblyline-v4-service 4.4.1.dev334__py3-none-any.whl → 4.4.1.dev337__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 assemblyline-v4-service might be problematic. Click here for more details.
- assemblyline_v4_service/VERSION +1 -1
- assemblyline_v4_service/py.typed +0 -0
- assemblyline_v4_service/updater/updater.py +9 -2
- {assemblyline_v4_service-4.4.1.dev334.dist-info → assemblyline_v4_service-4.4.1.dev337.dist-info}/METADATA +1 -2
- {assemblyline_v4_service-4.4.1.dev334.dist-info → assemblyline_v4_service-4.4.1.dev337.dist-info}/RECORD +8 -7
- {assemblyline_v4_service-4.4.1.dev334.dist-info → assemblyline_v4_service-4.4.1.dev337.dist-info}/LICENCE.md +0 -0
- {assemblyline_v4_service-4.4.1.dev334.dist-info → assemblyline_v4_service-4.4.1.dev337.dist-info}/WHEEL +0 -0
- {assemblyline_v4_service-4.4.1.dev334.dist-info → assemblyline_v4_service-4.4.1.dev337.dist-info}/top_level.txt +0 -0
assemblyline_v4_service/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.4.1.
|
|
1
|
+
4.4.1.dev337
|
|
File without changes
|
|
@@ -332,7 +332,11 @@ class ServiceUpdater(ThreadedCoreBase):
|
|
|
332
332
|
self.log.info(f"Connecting to Assemblyline API: {UI_SERVER}")
|
|
333
333
|
al_client = get_client(UI_SERVER, apikey=(username, api_key), verify=self.verify, datastore=self.datastore)
|
|
334
334
|
|
|
335
|
-
|
|
335
|
+
# Create a temporary file for the time keeper
|
|
336
|
+
time_keeper = tempfile.NamedTemporaryFile(prefix="time_keeper_", dir=UPDATER_DIR, delete=False)
|
|
337
|
+
time_keeper.close()
|
|
338
|
+
time_keeper = time_keeper.name
|
|
339
|
+
|
|
336
340
|
if self._service.update_config.generates_signatures:
|
|
337
341
|
output_directory = tempfile.mkdtemp(prefix="update_dir_", dir=UPDATER_DIR)
|
|
338
342
|
|
|
@@ -573,7 +577,10 @@ class ServiceUpdater(ThreadedCoreBase):
|
|
|
573
577
|
|
|
574
578
|
try:
|
|
575
579
|
# Tar update directory
|
|
576
|
-
|
|
580
|
+
new_tar = tempfile.NamedTemporaryFile(prefix="signatures_", dir=UPDATER_DIR, suffix='.tar.bz2',
|
|
581
|
+
delete=False)
|
|
582
|
+
new_tar.close()
|
|
583
|
+
new_tar = new_tar.name
|
|
577
584
|
tar_handle = tarfile.open(new_tar, 'w:bz2')
|
|
578
585
|
tar_handle.add(new_directory, '/')
|
|
579
586
|
tar_handle.close()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: assemblyline-v4-service
|
|
3
|
-
Version: 4.4.1.
|
|
3
|
+
Version: 4.4.1.dev337
|
|
4
4
|
Summary: Assemblyline 4 - Service base
|
|
5
5
|
Home-page: https://github.com/CybercentreCanada/assemblyline-v4-service/
|
|
6
6
|
Author: CCCS Assemblyline development team
|
|
@@ -21,7 +21,6 @@ Requires-Dist: assemblyline
|
|
|
21
21
|
Requires-Dist: assemblyline-core
|
|
22
22
|
Requires-Dist: cart
|
|
23
23
|
Requires-Dist: fuzzywuzzy
|
|
24
|
-
Requires-Dist: multidecoder
|
|
25
24
|
Requires-Dist: pefile
|
|
26
25
|
Requires-Dist: pillow ==10.0.1
|
|
27
26
|
Requires-Dist: python-Levenshtein
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
assemblyline_v4_service/VERSION,sha256=
|
|
1
|
+
assemblyline_v4_service/VERSION,sha256=khUS_3-2e9Tk9FQBm8d64u4Z6bVz682FNK-C2PcfOjQ,13
|
|
2
2
|
assemblyline_v4_service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
assemblyline_v4_service/healthz.py,sha256=sS1cFkDLw8hUPMpj7tbHXFv8ZmHcazrwZ0l6oQDwwkQ,1575
|
|
4
|
+
assemblyline_v4_service/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
5
|
assemblyline_v4_service/run_privileged_service.py,sha256=qd4DmHo5G_Tpv8tb0A96qNfCGuXBu5MlIKB205z5e5w,14514
|
|
5
6
|
assemblyline_v4_service/run_service.py,sha256=RCqxdm-OAwJhl15BnKFkuavpQ5k6eTX3ZGeSna5JJBw,5557
|
|
6
7
|
assemblyline_v4_service/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -21,7 +22,7 @@ assemblyline_v4_service/updater/app.py,sha256=Mtmx4bkXfP4nFqqa5q15jW8QIXr4JK84lC
|
|
|
21
22
|
assemblyline_v4_service/updater/client.py,sha256=VKmkiDz3klvMzXiGSQTH7QN-MfHuJnwaIR7BaXy9aZM,5156
|
|
22
23
|
assemblyline_v4_service/updater/gunicorn_config.py,sha256=p3j2KPBeD5jvMw9O5i7vAtlRgPSVVxIG9AO0DfN82J8,1247
|
|
23
24
|
assemblyline_v4_service/updater/helper.py,sha256=HbH5p6UTdHyIgoctF1c1pQkoqTtzaxfHOi9KXGwn0eM,9435
|
|
24
|
-
assemblyline_v4_service/updater/updater.py,sha256=
|
|
25
|
+
assemblyline_v4_service/updater/updater.py,sha256=drpGkDFm_epjzwU8gUd43WuFSuRxgj1qWzAt6JkhIGQ,32422
|
|
25
26
|
test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
26
27
|
test/test_healthz.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
|
|
27
28
|
test/test_run_privileged_service.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
|
|
@@ -36,8 +37,8 @@ test/test_common/test_request.py,sha256=K-gaHe20AUztfU3pLdWYv5bc6088GBBKP-eb833c
|
|
|
36
37
|
test/test_common/test_result.py,sha256=Wm0Cs5kZRzlZr0jL-l8OTsYAvkoN2eaB3NkeXzvyssI,42208
|
|
37
38
|
test/test_common/test_task.py,sha256=RWsGEN0L-xKoRAsGv2x4JZcSAySS9aBF4dwL9t7tepo,18668
|
|
38
39
|
test/test_common/test_utils.py,sha256=TbnBxqpS_ZC5ptXR9XJX3xtbItD0mTbtiBxxdyP8J5k,5904
|
|
39
|
-
assemblyline_v4_service-4.4.1.
|
|
40
|
-
assemblyline_v4_service-4.4.1.
|
|
41
|
-
assemblyline_v4_service-4.4.1.
|
|
42
|
-
assemblyline_v4_service-4.4.1.
|
|
43
|
-
assemblyline_v4_service-4.4.1.
|
|
40
|
+
assemblyline_v4_service-4.4.1.dev337.dist-info/LICENCE.md,sha256=NSkYo9EH8h5oOkzg4VhjAHF4339MqPP2cQ8msTPgl-c,1396
|
|
41
|
+
assemblyline_v4_service-4.4.1.dev337.dist-info/METADATA,sha256=H-N1jZS_2u3WUvaXQJO9U8nEOqIo83I5rj9C5z_Nzfs,9663
|
|
42
|
+
assemblyline_v4_service-4.4.1.dev337.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
43
|
+
assemblyline_v4_service-4.4.1.dev337.dist-info/top_level.txt,sha256=LpTOEaVCatkrvbVq3EZseMSIa2PQZU-2rhuO_FTpZgY,29
|
|
44
|
+
assemblyline_v4_service-4.4.1.dev337.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|