assemblyline-v4-service 4.5.1.dev386__py3-none-any.whl → 4.5.1.dev388__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/updater/client.py +1 -0
- assemblyline_v4_service/updater/updater.py +5 -3
- {assemblyline_v4_service-4.5.1.dev386.dist-info → assemblyline_v4_service-4.5.1.dev388.dist-info}/METADATA +1 -1
- {assemblyline_v4_service-4.5.1.dev386.dist-info → assemblyline_v4_service-4.5.1.dev388.dist-info}/RECORD +8 -8
- {assemblyline_v4_service-4.5.1.dev386.dist-info → assemblyline_v4_service-4.5.1.dev388.dist-info}/LICENCE.md +0 -0
- {assemblyline_v4_service-4.5.1.dev386.dist-info → assemblyline_v4_service-4.5.1.dev388.dist-info}/WHEEL +0 -0
- {assemblyline_v4_service-4.5.1.dev386.dist-info → assemblyline_v4_service-4.5.1.dev388.dist-info}/top_level.txt +0 -0
assemblyline_v4_service/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.5.1.
|
|
1
|
+
4.5.1.dev388
|
|
@@ -407,8 +407,10 @@ class ServiceUpdater(ThreadedCoreBase):
|
|
|
407
407
|
# Enable syncing if the source specifies it
|
|
408
408
|
self.client.sync = source.get('sync', False)
|
|
409
409
|
# Override classfication of signatures if specified
|
|
410
|
-
|
|
411
|
-
|
|
410
|
+
# Reset client back to original classification state between updates
|
|
411
|
+
self.client.classification_override = None
|
|
412
|
+
if source.get('override_classification', False):
|
|
413
|
+
self.client.classification_override = default_classification
|
|
412
414
|
|
|
413
415
|
self.push_status("UPDATING", "Pulling..")
|
|
414
416
|
output = None
|
|
@@ -423,7 +425,7 @@ class ServiceUpdater(ThreadedCoreBase):
|
|
|
423
425
|
else:
|
|
424
426
|
self.log.info(f"Fetching {source_name} using {fetch_method}")
|
|
425
427
|
# Pull sources from external locations
|
|
426
|
-
if uri.startswith("file
|
|
428
|
+
if uri.startswith("file:///"):
|
|
427
429
|
# Perform an update using a local mount
|
|
428
430
|
output = uri.split("file://", 1)[1]
|
|
429
431
|
if not os.path.exists(output):
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
assemblyline_v4_service/VERSION,sha256=
|
|
1
|
+
assemblyline_v4_service/VERSION,sha256=hVlo_vJYoJABL9vu0PTmLCn_YpnRSkSdY1H6v4T9qnQ,13
|
|
2
2
|
assemblyline_v4_service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
assemblyline_v4_service/healthz.py,sha256=sS1cFkDLw8hUPMpj7tbHXFv8ZmHcazrwZ0l6oQDwwkQ,1575
|
|
4
4
|
assemblyline_v4_service/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -19,10 +19,10 @@ assemblyline_v4_service/dev/run_service_once.py,sha256=iEWkLnF4cWN0V3Mc6GhMKjDAP
|
|
|
19
19
|
assemblyline_v4_service/updater/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
20
|
assemblyline_v4_service/updater/__main__.py,sha256=9Os-u8Tf7MD73JSrUSPmOaErTgfvesNLiEeszU4ujXA,133
|
|
21
21
|
assemblyline_v4_service/updater/app.py,sha256=Mtmx4bkXfP4nFqqa5q15jW8QIXr4JK84lCovxAVyvPs,3317
|
|
22
|
-
assemblyline_v4_service/updater/client.py,sha256=
|
|
22
|
+
assemblyline_v4_service/updater/client.py,sha256=eBOK8doMu9nsIO6kXWtaBMy4hJIKRtQG0iC_21a5CG4,10849
|
|
23
23
|
assemblyline_v4_service/updater/gunicorn_config.py,sha256=p3j2KPBeD5jvMw9O5i7vAtlRgPSVVxIG9AO0DfN82J8,1247
|
|
24
24
|
assemblyline_v4_service/updater/helper.py,sha256=DhxF2TVVpUY6S5dJnjRlTl6eBJrtTqw1uUAcvVWVkhM,9895
|
|
25
|
-
assemblyline_v4_service/updater/updater.py,sha256=
|
|
25
|
+
assemblyline_v4_service/updater/updater.py,sha256=8o-vEMMJS388Ci9mVk_6nwFayM5NToliOTFnnPWHTYE,31449
|
|
26
26
|
test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
27
|
test/conftest.py,sha256=W3SieQpZsZpGEmtLqY4aIlxREDSsHceyCrFcFsWUM0U,1851
|
|
28
28
|
test/test_healthz.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
|
|
@@ -38,8 +38,8 @@ test/test_common/test_request.py,sha256=Ceyds8BNO1O0f1kH1VEb84faJcaupvSjVKIrGdHe
|
|
|
38
38
|
test/test_common/test_result.py,sha256=6BiOKxEPrKBjOY44jv3TY-yiXm0qI1ok_CZBnjP9TM4,45447
|
|
39
39
|
test/test_common/test_task.py,sha256=P44mNcSe-3tJgDk9ppN3KbM7oN4LBVIuhONG-Gveh74,19007
|
|
40
40
|
test/test_common/test_utils.py,sha256=TbnBxqpS_ZC5ptXR9XJX3xtbItD0mTbtiBxxdyP8J5k,5904
|
|
41
|
-
assemblyline_v4_service-4.5.1.
|
|
42
|
-
assemblyline_v4_service-4.5.1.
|
|
43
|
-
assemblyline_v4_service-4.5.1.
|
|
44
|
-
assemblyline_v4_service-4.5.1.
|
|
45
|
-
assemblyline_v4_service-4.5.1.
|
|
41
|
+
assemblyline_v4_service-4.5.1.dev388.dist-info/LICENCE.md,sha256=NSkYo9EH8h5oOkzg4VhjAHF4339MqPP2cQ8msTPgl-c,1396
|
|
42
|
+
assemblyline_v4_service-4.5.1.dev388.dist-info/METADATA,sha256=4LPEP3g6GGCXQcc56GwsqwLdz25zR4rrJFwgzsVV3Ak,9493
|
|
43
|
+
assemblyline_v4_service-4.5.1.dev388.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
44
|
+
assemblyline_v4_service-4.5.1.dev388.dist-info/top_level.txt,sha256=LpTOEaVCatkrvbVq3EZseMSIa2PQZU-2rhuO_FTpZgY,29
|
|
45
|
+
assemblyline_v4_service-4.5.1.dev388.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|