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.

@@ -1 +1 @@
1
- 4.5.1.dev386
1
+ 4.5.1.dev388
@@ -240,6 +240,7 @@ class UpdaterClient(object):
240
240
  @property
241
241
  def classification_override(self):
242
242
  return self._classification_override
243
+
243
244
  @classification_override.setter
244
245
  def classification_override(self, value: str):
245
246
  # Set the classification override
@@ -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
- self.client.classification_override = default_classification \
411
- if source.get('override_classification', False) else None
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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: assemblyline-v4-service
3
- Version: 4.5.1.dev386
3
+ Version: 4.5.1.dev388
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
@@ -1,4 +1,4 @@
1
- assemblyline_v4_service/VERSION,sha256=skiCCvSCmYQb-FOmRGG9EYpzDYdUzK6EcjMGcsgPa18,13
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=mmCwNuGSDymbvrMuEXLgTR13vqaUEjs0Jjew-9QkQtM,10848
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=b_vCg9u75Dmp09NWAZXfG-_CriqnS7KeJ7SKjmXmrxI,31299
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.dev386.dist-info/LICENCE.md,sha256=NSkYo9EH8h5oOkzg4VhjAHF4339MqPP2cQ8msTPgl-c,1396
42
- assemblyline_v4_service-4.5.1.dev386.dist-info/METADATA,sha256=XiZPLzjFWTquqw7YlZbObZZA7fNfJ8aRE9Mb97JB10Y,9493
43
- assemblyline_v4_service-4.5.1.dev386.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
44
- assemblyline_v4_service-4.5.1.dev386.dist-info/top_level.txt,sha256=LpTOEaVCatkrvbVq3EZseMSIa2PQZU-2rhuO_FTpZgY,29
45
- assemblyline_v4_service-4.5.1.dev386.dist-info/RECORD,,
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,,