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

Commit 5ba6321

Browse files
committed
remove unused getAll arg
1 parent cd37919 commit 5ba6321

7 files changed

+8
-18
lines changed

pycti/entities/opencti_kill_chain_phase.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ def list(self, **kwargs):
4848
order_by = kwargs.get("orderBy", None)
4949
order_mode = kwargs.get("orderMode", None)
5050
custom_attributes = kwargs.get("customAttributes", None)
51-
get_all = kwargs.get("getAll", False)
5251
with_pagination = kwargs.get("withPagination", False)
5352

5453
self.opencti.app_logger.info(

pycti/entities/opencti_marking_definition.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ def list(self, **kwargs):
5353
order_by = kwargs.get("orderBy", None)
5454
order_mode = kwargs.get("orderMode", None)
5555
custom_attributes = kwargs.get("customAttributes", None)
56-
get_all = kwargs.get("getAll", False)
5756
with_pagination = kwargs.get("withPagination", False)
5857

5958
self.opencti.app_logger.info(

pycti/entities/opencti_observed_data.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def __init__(self, opencti):
190190
}
191191
... on StixCyberObservable {
192192
observable_value
193-
}
193+
}
194194
... on StixCoreRelationship {
195195
standard_id
196196
spec_version
@@ -202,7 +202,7 @@ def __init__(self, opencti):
202202
spec_version
203203
created_at
204204
updated_at
205-
}
205+
}
206206
}
207207
}
208208
}
@@ -401,7 +401,7 @@ def __init__(self, opencti):
401401
}
402402
... on StixCyberObservable {
403403
observable_value
404-
}
404+
}
405405
... on StixCoreRelationship {
406406
standard_id
407407
spec_version
@@ -413,7 +413,7 @@ def __init__(self, opencti):
413413
spec_version
414414
created_at
415415
updated_at
416-
}
416+
}
417417
}
418418
}
419419
}
@@ -461,7 +461,6 @@ def list(self, **kwargs):
461461
order_by = kwargs.get("orderBy", None)
462462
order_mode = kwargs.get("orderMode", None)
463463
custom_attributes = kwargs.get("customAttributes", None)
464-
get_all = kwargs.get("getAll", False)
465464
with_pagination = kwargs.get("withPagination", False)
466465
with_files = kwargs.get("withFiles", False)
467466

pycti/entities/opencti_stix_nested_ref_relationship.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ def __init__(self, opencti):
2424
standard_id
2525
entity_type
2626
parent_types
27-
}
27+
}
2828
... on StixSightingRelationship {
2929
id
3030
standard_id
3131
entity_type
3232
parent_types
33-
}
33+
}
3434
... on StixCyberObservable {
3535
observable_value
3636
}
@@ -47,13 +47,13 @@ def __init__(self, opencti):
4747
standard_id
4848
entity_type
4949
parent_types
50-
}
50+
}
5151
... on StixSightingRelationship {
5252
id
5353
standard_id
5454
entity_type
5555
parent_types
56-
}
56+
}
5757
... on StixCyberObservable {
5858
observable_value
5959
}
@@ -92,7 +92,6 @@ def list(self, **kwargs):
9292
order_by = kwargs.get("orderBy", None)
9393
order_mode = kwargs.get("orderMode", None)
9494
custom_attributes = kwargs.get("customAttributes", None)
95-
get_all = kwargs.get("getAll", False)
9695
with_pagination = kwargs.get("withPagination", False)
9796

9897
self.opencti.app_logger.info(

pycti/entities/opencti_threat_actor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ def list(self, **kwargs) -> dict:
168168
:param str after: (optional) OpenCTI object ID of the first row for pagination
169169
:param str orderBy: (optional) the field to order the response on
170170
:param bool orderMode: (optional) either "`asc`" or "`desc`"
171-
:param bool getAll: (optional) switch to return all entries (be careful to use this without any other filters)
172171
:param bool withPagination: (optional) switch to use pagination
173172
"""
174173

@@ -179,7 +178,6 @@ def list(self, **kwargs) -> dict:
179178
order_by = kwargs.get("orderBy", None)
180179
order_mode = kwargs.get("orderMode", None)
181180
custom_attributes = kwargs.get("customAttributes", None)
182-
get_all = kwargs.get("getAll", False)
183181
with_pagination = kwargs.get("withPagination", False)
184182

185183
self.opencti.app_logger.info(

pycti/entities/opencti_threat_actor_group.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ def list(self, **kwargs) -> dict:
161161
:param str after: (optional) OpenCTI object ID of the first row for pagination
162162
:param str orderBy: (optional) the field to order the response on
163163
:param bool orderMode: (optional) either "`asc`" or "`desc`"
164-
:param bool getAll: (optional) switch to return all entries (be careful to use this without any other filters)
165164
:param bool withPagination: (optional) switch to use pagination
166165
"""
167166

@@ -172,7 +171,6 @@ def list(self, **kwargs) -> dict:
172171
order_by = kwargs.get("orderBy", None)
173172
order_mode = kwargs.get("orderMode", None)
174173
custom_attributes = kwargs.get("customAttributes", None)
175-
get_all = kwargs.get("getAll", False)
176174
with_pagination = kwargs.get("withPagination", False)
177175

178176
self.opencti.app_logger.info(

pycti/entities/opencti_threat_actor_individual.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ def list(self, **kwargs) -> dict:
161161
:param str after: (optional) OpenCTI object ID of the first row for pagination
162162
:param str orderBy: (optional) the field to order the response on
163163
:param bool orderMode: (optional) either "`asc`" or "`desc`"
164-
:param bool getAll: (optional) switch to return all entries (be careful to use this without any other filters)
165164
:param bool withPagination: (optional) switch to use pagination
166165
"""
167166

@@ -172,7 +171,6 @@ def list(self, **kwargs) -> dict:
172171
order_by = kwargs.get("orderBy", None)
173172
order_mode = kwargs.get("orderMode", None)
174173
custom_attributes = kwargs.get("customAttributes", None)
175-
get_all = kwargs.get("getAll", False)
176174
with_pagination = kwargs.get("withPagination", False)
177175

178176
self.opencti.app_logger.info(

0 commit comments

Comments
 (0)