assemblyline-v4-service 4.5.1.dev449__py3-none-any.whl → 4.5.1.dev453__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/helper.py +2 -3
- {assemblyline_v4_service-4.5.1.dev449.dist-info → assemblyline_v4_service-4.5.1.dev453.dist-info}/METADATA +1 -1
- {assemblyline_v4_service-4.5.1.dev449.dist-info → assemblyline_v4_service-4.5.1.dev453.dist-info}/RECORD +7 -7
- {assemblyline_v4_service-4.5.1.dev449.dist-info → assemblyline_v4_service-4.5.1.dev453.dist-info}/LICENCE.md +0 -0
- {assemblyline_v4_service-4.5.1.dev449.dist-info → assemblyline_v4_service-4.5.1.dev453.dist-info}/WHEEL +0 -0
- {assemblyline_v4_service-4.5.1.dev449.dist-info → assemblyline_v4_service-4.5.1.dev453.dist-info}/top_level.txt +0 -0
assemblyline_v4_service/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.5.1.
|
|
1
|
+
4.5.1.dev453
|
|
@@ -11,12 +11,12 @@ import certifi
|
|
|
11
11
|
import psutil
|
|
12
12
|
import regex as re
|
|
13
13
|
import requests
|
|
14
|
-
from assemblyline_v4_service.common.utils import DEVELOPMENT_MODE
|
|
15
14
|
from git import Repo
|
|
16
15
|
|
|
17
16
|
from assemblyline.common.digests import get_sha256_for_file
|
|
18
17
|
from assemblyline.common.identify import Identify
|
|
19
18
|
from assemblyline.common.isotime import iso_to_epoch
|
|
19
|
+
from assemblyline_v4_service.common.utils import DEVELOPMENT_MODE
|
|
20
20
|
|
|
21
21
|
BLOCK_SIZE = 64 * 1024
|
|
22
22
|
GIT_ALLOW_UNSAFE_PROTOCOLS = os.environ.get('GIT_ALLOW_UNSAFE_PROTOCOLS', 'false').lower() == 'true'
|
|
@@ -138,8 +138,7 @@ def url_download(source: Dict[str, Any], previous_update: int, logger: Logger, o
|
|
|
138
138
|
if fetch_method == 'get':
|
|
139
139
|
response = session.get(uri, auth=auth, headers=headers, proxies=proxies, stream=True)
|
|
140
140
|
elif fetch_method == 'post':
|
|
141
|
-
|
|
142
|
-
response = session.post(uri, auth=auth, headers=headers, proxies=proxies, json=json, stream=True)
|
|
141
|
+
response = session.post(uri, auth=auth, headers=headers, proxies=proxies, data=source.get('data'),stream=True)
|
|
143
142
|
else:
|
|
144
143
|
raise ValueError(f"Unknown fetch method: {fetch_method}")
|
|
145
144
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
assemblyline_v4_service/VERSION,sha256=
|
|
1
|
+
assemblyline_v4_service/VERSION,sha256=ebZs1rTqnub4bIpqlps2JL3Zu7V-GpViEdOtKpjFTdM,13
|
|
2
2
|
assemblyline_v4_service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
assemblyline_v4_service/healthz.py,sha256=3QGBg0EZuXC6UN411HFwpLNEop9UvS9feFhvBUTP-k4,1576
|
|
4
4
|
assemblyline_v4_service/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -21,7 +21,7 @@ assemblyline_v4_service/updater/__main__.py,sha256=9Os-u8Tf7MD73JSrUSPmOaErTgfve
|
|
|
21
21
|
assemblyline_v4_service/updater/app.py,sha256=Mtmx4bkXfP4nFqqa5q15jW8QIXr4JK84lCovxAVyvPs,3317
|
|
22
22
|
assemblyline_v4_service/updater/client.py,sha256=tLY84gaGdFBVIDaMgRHIEa7x2S8jBl7lQLzp4seC6aI,11200
|
|
23
23
|
assemblyline_v4_service/updater/gunicorn_config.py,sha256=p3j2KPBeD5jvMw9O5i7vAtlRgPSVVxIG9AO0DfN82J8,1247
|
|
24
|
-
assemblyline_v4_service/updater/helper.py,sha256=
|
|
24
|
+
assemblyline_v4_service/updater/helper.py,sha256=Zy6OBmbTh0YurW0MnM0wM92vaKYMbo_MKnafe_5ONUI,10034
|
|
25
25
|
assemblyline_v4_service/updater/updater.py,sha256=HqRVUs5nNIfKmHu7g1GUkgC7bvYWs2EC9ZFy1kj-Ltw,31609
|
|
26
26
|
test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
27
|
test/conftest.py,sha256=W3SieQpZsZpGEmtLqY4aIlxREDSsHceyCrFcFsWUM0U,1851
|
|
@@ -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.dev453.dist-info/LICENCE.md,sha256=NSkYo9EH8h5oOkzg4VhjAHF4339MqPP2cQ8msTPgl-c,1396
|
|
42
|
+
assemblyline_v4_service-4.5.1.dev453.dist-info/METADATA,sha256=zXKPiqpBNkTlyOEai0ypH-hT3VkhfZfex8xS-8aoFN0,5603
|
|
43
|
+
assemblyline_v4_service-4.5.1.dev453.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
|
44
|
+
assemblyline_v4_service-4.5.1.dev453.dist-info/top_level.txt,sha256=LpTOEaVCatkrvbVq3EZseMSIa2PQZU-2rhuO_FTpZgY,29
|
|
45
|
+
assemblyline_v4_service-4.5.1.dev453.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|