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

Commit c23002e

Browse files
author
Samuel Hassine
committed
[client] Adapt fields in update
1 parent e8ee00f commit c23002e

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

pycti/entities/opencti_stix_core_relationship.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,8 @@ def update_field(self, **kwargs):
545545
stixCoreRelationshipEdit(id: $id) {
546546
fieldPatch(input: $input) {
547547
id
548+
standard_id
549+
entity_type
548550
}
549551
}
550552
}

pycti/entities/opencti_stix_cyber_observable.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,6 +1089,7 @@ def update_field(self, **kwargs):
10891089
fieldPatch(input: $input, operation: $operation) {
10901090
id
10911091
standard_id
1092+
entity_type
10921093
}
10931094
}
10941095
}

pycti/entities/opencti_stix_domain_object.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,8 @@ def update_field(self, **kwargs):
587587
stixDomainObjectEdit(id: $id) {
588588
fieldPatch(input: $input, operation: $operation) {
589589
id
590+
standard_id
591+
entity_type
590592
}
591593
}
592594
}

0 commit comments

Comments
 (0)