1 parent 1a335c9 commit 41bb528Copy full SHA for 41bb528
1 file changed
pycti/api/opencti_api_client.py
@@ -740,7 +740,7 @@ def get_attribute_in_extension(key, object) -> any:
740
return object["extensions"][
741
"extension-definition--f93e2c80-4231-4f9a-af8b-95c9bd566a82"
742
][key]
743
- elif key in object:
+ elif key in object and key not in ["type"]:
744
return object[key]
745
return None
746
0 commit comments