Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit ef77307

Browse files
committed
[client] fix create security platform
1 parent 93107be commit ef77307

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pycti/entities/opencti_identity.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,11 @@ def create(self, **kwargs):
488488
}
489489
"""
490490
input_variables["security_platform_type"] = security_platform_type
491+
# no need for these attributes for security platform
492+
del input_variables["contact_information"]
493+
del input_variables["lang"]
494+
del input_variables["roles"]
495+
del input_variables["x_opencti_aliases"]
491496
result_data_field = "securityPlatformAdd"
492497
elif type == IdentityTypes.INDIVIDUAL.value:
493498
query = """

0 commit comments

Comments
 (0)