fluidattacks-core 4.0.0__py3-none-any.whl → 4.1.0__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.
- fluidattacks_core/logging/formatters.py +3 -5
- {fluidattacks_core-4.0.0.dist-info → fluidattacks_core-4.1.0.dist-info}/METADATA +2 -2
- {fluidattacks_core-4.0.0.dist-info → fluidattacks_core-4.1.0.dist-info}/RECORD +5 -5
- {fluidattacks_core-4.0.0.dist-info → fluidattacks_core-4.1.0.dist-info}/WHEEL +0 -0
- {fluidattacks_core-4.0.0.dist-info → fluidattacks_core-4.1.0.dist-info}/top_level.txt +0 -0
|
@@ -14,9 +14,7 @@ from fluidattacks_core.logging.sources import (
|
|
|
14
14
|
LambdaSource,
|
|
15
15
|
PipelineSource,
|
|
16
16
|
)
|
|
17
|
-
from fluidattacks_core.logging.utils import
|
|
18
|
-
get_telemetry_metadata,
|
|
19
|
-
)
|
|
17
|
+
from fluidattacks_core.logging.utils import get_telemetry_metadata
|
|
20
18
|
|
|
21
19
|
if TYPE_CHECKING:
|
|
22
20
|
from fluidattacks_core.logging.sources.types import SourceStrategy
|
|
@@ -131,13 +129,13 @@ class CustomJsonFormatter(JsonFormatter):
|
|
|
131
129
|
"""Add error fields to the log record.
|
|
132
130
|
|
|
133
131
|
It includes:
|
|
134
|
-
- `error.
|
|
132
|
+
- `error.kind`
|
|
135
133
|
- `error.message`
|
|
136
134
|
- `error.stack`
|
|
137
135
|
"""
|
|
138
136
|
if record.exc_info:
|
|
139
137
|
if exc_type := record.exc_info[0]:
|
|
140
|
-
log_record["error.
|
|
138
|
+
log_record["error.kind"] = exc_type.__name__
|
|
141
139
|
if exc_value := record.exc_info[1]:
|
|
142
140
|
log_record["error.message"] = str(exc_value)
|
|
143
141
|
if exc_tb := record.exc_info[2]:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fluidattacks-core
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.1.0
|
|
4
4
|
Summary: Fluid Attacks Core Library
|
|
5
5
|
Author-email: Development <development@fluidattacks.com>
|
|
6
6
|
License: MPL-2.0
|
|
@@ -16,7 +16,7 @@ Requires-Dist: aiohttp>=3.10.0
|
|
|
16
16
|
Requires-Dist: certifi>=2024.8.30
|
|
17
17
|
Requires-Dist: python-json-logger>=3.3.0
|
|
18
18
|
Requires-Dist: simplejson>=3.20.1
|
|
19
|
-
Requires-Dist: urllib3
|
|
19
|
+
Requires-Dist: urllib3==2.6.1
|
|
20
20
|
Provides-Extra: aio
|
|
21
21
|
Requires-Dist: uvloop>=0.21.0; extra == "aio"
|
|
22
22
|
Provides-Extra: authz
|
|
@@ -33,7 +33,7 @@ fluidattacks_core/http/client.py,sha256=jIhtGU2cKi5GZbxHq8WJOPgnk0beScRtxlz9tBSa
|
|
|
33
33
|
fluidattacks_core/http/validations.py,sha256=h10Hr906KJqda1rJJb8eOqk1Xyyz81lAJ1glXeae4kM,3766
|
|
34
34
|
fluidattacks_core/logging/__init__.py,sha256=FJZC9xf2twcF45NBHEFBJLIC2t3yhuPDOKffYYj7_dM,1434
|
|
35
35
|
fluidattacks_core/logging/filters.py,sha256=v03EWIbCGLKc6sdSQnO7ealxMdPzcJhd20rGr1PBZrE,388
|
|
36
|
-
fluidattacks_core/logging/formatters.py,sha256=
|
|
36
|
+
fluidattacks_core/logging/formatters.py,sha256=SCA4k9XvHJknmkTv63uiCBU31VrWOsgA7llEXYYj1uQ,6063
|
|
37
37
|
fluidattacks_core/logging/handlers.py,sha256=MgUk0ekqq4G_NkbaYu4HQaPIrbWYanTllbF8ydqJBtE,4159
|
|
38
38
|
fluidattacks_core/logging/presets.py,sha256=KU6d6PI61kklJ_o7NgAzU1DahEPM0KwwjTYHo2naHv8,939
|
|
39
39
|
fluidattacks_core/logging/utils.py,sha256=jbAcwr0L6iPsId3dYEp-vAbtFex2UUU2l2iIk1F60BE,1115
|
|
@@ -46,7 +46,7 @@ fluidattacks_core/semver/match_versions.py,sha256=3L3C0TIVH0AtDpISvk5HHBXFSbJh5V
|
|
|
46
46
|
fluidattacks_core/serializers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
47
47
|
fluidattacks_core/serializers/snippet.py,sha256=e520pZHC-fsNuYVNY30A7TcSugvUlFL6xdr74j5aCDM,12780
|
|
48
48
|
fluidattacks_core/serializers/syntax.py,sha256=DkRsdMyMNrL0pRfsOSVAx79K8F0AmjBk676_d_v7PjM,15908
|
|
49
|
-
fluidattacks_core-4.
|
|
50
|
-
fluidattacks_core-4.
|
|
51
|
-
fluidattacks_core-4.
|
|
52
|
-
fluidattacks_core-4.
|
|
49
|
+
fluidattacks_core-4.1.0.dist-info/METADATA,sha256=W6a7aqFf2AFjl0hr7QvnVzg0GHZStBI3J0jIxxKgJS8,3199
|
|
50
|
+
fluidattacks_core-4.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
51
|
+
fluidattacks_core-4.1.0.dist-info/top_level.txt,sha256=m49ZyZ2zPQmDBxkSpjb20wr-ZbGVXdOMFBZrDiP5Lb8,18
|
|
52
|
+
fluidattacks_core-4.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|