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

Commit 7d2fcf2

Browse files
committed
[client] fix for security platform
1 parent 0fae921 commit 7d2fcf2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pycti/entities/opencti_identity.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -487,9 +487,7 @@ def create(self, **kwargs):
487487
}
488488
}
489489
"""
490-
input_variables["security_platform_type"] = (
491-
security_platform_type
492-
)
490+
input_variables["security_platform_type"] = security_platform_type
493491
result_data_field = "securityPlatformAdd"
494492
elif type == IdentityTypes.INDIVIDUAL.value:
495493
query = """
@@ -570,6 +568,8 @@ def import_from_stix2(self, **kwargs):
570568
type = "Sector"
571569
elif stix_object["identity_class"] == "system":
572570
type = "System"
571+
elif stix_object["identity_class"] == "securityplatform":
572+
type = "SecurityPlatform"
573573

574574
# Search in extensions
575575
if "x_opencti_aliases" not in stix_object:

0 commit comments

Comments
 (0)