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

Commit e7893f4

Browse files
authored
[client] Fix stix core objects list graphql query (#491)
1 parent 358a399 commit e7893f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycti/entities/opencti_stix_core_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,7 @@ def list(self, **kwargs):
13501350
LOGGER.info("Listing Stix-Core-Objects with filters %s.", json.dumps(filters))
13511351
query = (
13521352
"""
1353-
query StixCoreObjects($types: [String], $filters: [StixCoreObjectsFiltering], $search: String, $relationship_type: [String], $elementId: String, $first: Int, $after: ID, $orderBy: StixCoreObjectsOrdering, $orderMode: OrderingMode) {
1353+
query StixCoreObjects($types: [String], $filters: [StixCoreObjectsFiltering], $search: String, $relationship_type: [String], $elementId: [String], $first: Int, $after: ID, $orderBy: StixCoreObjectsOrdering, $orderMode: OrderingMode) {
13541354
stixCoreObjects(types: $types, filters: $filters, search: $search, relationship_type: $relationship_type, elementId: $elementId, first: $first, after: $after, orderBy: $orderBy, orderMode: $orderMode) {
13551355
edges {
13561356
node {

0 commit comments

Comments
 (0)