Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions pycti/entities/opencti_attack_pattern.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 500

self.opencti.app_logger.info(
"Listing Attack-Patterns with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_campaign.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 100

self.opencti.app_logger.info(
"Listing Campaigns with filters", {"filters": json.dumps(filters)}
Expand Down
4 changes: 1 addition & 3 deletions pycti/entities/opencti_case_incident.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def generate_id_from_data(data):

"""
List Case Incident objects

:param filters: the filters to apply
:param search: the search keyword
:param first: return the first n rows from the after ID (or the beginning if not set)
Expand All @@ -486,8 +486,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 500

self.opencti.app_logger.info(
"Listing Case Incidents with filters", {"filters": json.dumps(filters)}
Expand Down
8 changes: 3 additions & 5 deletions pycti/entities/opencti_case_rfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def __init__(self, opencti):
}
... on StixCyberObservable {
observable_value
}
}
... on StixCoreRelationship {
standard_id
spec_version
Expand Down Expand Up @@ -417,7 +417,7 @@ def __init__(self, opencti):
}
... on StixCyberObservable {
observable_value
}
}
... on StixCoreRelationship {
standard_id
spec_version
Expand Down Expand Up @@ -465,7 +465,7 @@ def generate_id_from_data(data):

"""
List Case Rfi objects

:param filters: the filters to apply
:param search: the search keyword
:param first: return the first n rows from the after ID (or the beginning if not set)
Expand All @@ -484,8 +484,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 500

self.opencti.app_logger.info(
"Listing Case Rfis with filters", {"filters": json.dumps(filters)}
Expand Down
8 changes: 3 additions & 5 deletions pycti/entities/opencti_case_rft.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def __init__(self, opencti):
}
... on StixCyberObservable {
observable_value
}
}
... on StixCoreRelationship {
standard_id
spec_version
Expand Down Expand Up @@ -417,7 +417,7 @@ def __init__(self, opencti):
}
... on StixCyberObservable {
observable_value
}
}
... on StixCoreRelationship {
standard_id
spec_version
Expand Down Expand Up @@ -465,7 +465,7 @@ def generate_id_from_data(data):

"""
List Case Rft objects

:param filters: the filters to apply
:param search: the search keyword
:param first: return the first n rows from the after ID (or the beginning if not set)
Expand All @@ -484,8 +484,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 500
self.opencti.app_logger.info(
"Listing Case Rfts with filters", {"filters": json.dumps(filters)}
)
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 100

self.opencti.app_logger.info(
"Listing Channels with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_course_of_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 100

self.opencti.app_logger.info(
"Listing Courses-Of-Action with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_data_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 100

self.opencti.app_logger.info(
"Listing Data-Components with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_data_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 100

self.opencti.app_logger.info(
"Listing Data-Sources with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 100

self.opencti.app_logger.info(
"Listing Events with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_external_reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 100

self.opencti.app_logger.info(
"Listing External-Reference with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_feedback.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 500

self.opencti.app_logger.info(
"Listing Feedbacks with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_grouping.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 100

self.opencti.app_logger.info(
"Listing Groupings with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_identity.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 500

self.opencti.app_logger.info(
"Listing Identities with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_incident.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 100

self.opencti.app_logger.info(
"Listing Incidents with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_infrastructure.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 500

self.opencti.app_logger.info(
"Listing Infrastructures with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_intrusion_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 500

self.opencti.app_logger.info(
"Listing Intrusion-Sets with filters", {"filters": json.dumps(filters)}
Expand Down
3 changes: 0 additions & 3 deletions pycti/entities/opencti_kill_chain_phase.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ def list(self, **kwargs):
order_by = kwargs.get("orderBy", None)
order_mode = kwargs.get("orderMode", None)
custom_attributes = kwargs.get("customAttributes", None)
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
if get_all:
first = 500

self.opencti.app_logger.info(
"Listing Kill-Chain-Phase with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_label.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ def list(self, **kwargs):
custom_attributes = kwargs.get("customAttributes", None)
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
if get_all:
first = 100

self.opencti.app_logger.info(
"Listing Labels with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_language.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 100

self.opencti.app_logger.info(
"Listing Languages with filters", {"filters": json.dumps(filters)}
Expand Down
3 changes: 0 additions & 3 deletions pycti/entities/opencti_location.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,8 @@ def list(self, **kwargs):
order_by = kwargs.get("orderBy", None)
order_mode = kwargs.get("orderMode", None)
custom_attributes = kwargs.get("customAttributes", None)
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 500

self.opencti.app_logger.info(
"Listing Locations with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_malware.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 500

self.opencti.app_logger.info(
"Listing Malwares with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_malware_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 500

self.opencti.app_logger.info(
"Listing Malware analyses with filters", {"filters": json.dumps(filters)}
Expand Down
3 changes: 0 additions & 3 deletions pycti/entities/opencti_marking_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ def list(self, **kwargs):
order_by = kwargs.get("orderBy", None)
order_mode = kwargs.get("orderMode", None)
custom_attributes = kwargs.get("customAttributes", None)
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
if get_all:
first = 500

self.opencti.app_logger.info(
"Listing Marking-Definitions with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_narrative.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 100

self.opencti.app_logger.info(
"Listing Narratives with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_note.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 100

self.opencti.app_logger.info(
"Listing Notes with filters", {"filters": json.dumps(filters)}
Expand Down
11 changes: 4 additions & 7 deletions pycti/entities/opencti_observed_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def __init__(self, opencti):
}
... on StixCyberObservable {
observable_value
}
}
... on StixCoreRelationship {
standard_id
spec_version
Expand All @@ -202,7 +202,7 @@ def __init__(self, opencti):
spec_version
created_at
updated_at
}
}
}
}
}
Expand Down Expand Up @@ -401,7 +401,7 @@ def __init__(self, opencti):
}
... on StixCyberObservable {
observable_value
}
}
... on StixCoreRelationship {
standard_id
spec_version
Expand All @@ -413,7 +413,7 @@ def __init__(self, opencti):
spec_version
created_at
updated_at
}
}
}
}
}
Expand Down Expand Up @@ -461,11 +461,8 @@ def list(self, **kwargs):
order_by = kwargs.get("orderBy", None)
order_mode = kwargs.get("orderMode", None)
custom_attributes = kwargs.get("customAttributes", None)
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 500

self.opencti.app_logger.info(
"Listing ObservedDatas with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_opinion.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,6 @@ def list(self, **kwargs):
custom_attributes = kwargs.get("customAttributes", None)
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
if get_all:
first = 100

self.opencti.app_logger.info(
"Listing Opinions with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 100

self.opencti.app_logger.info(
"Listing Reports with filters",
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_stix_core_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -1340,8 +1340,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)
if get_all:
first = 100

self.opencti.app_logger.info(
"Listing Stix-Core-Objects with filters", {"filters": json.dumps(filters)}
Expand Down
2 changes: 0 additions & 2 deletions pycti/entities/opencti_stix_core_relationship.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,6 @@ def list(self, **kwargs):
get_all = kwargs.get("getAll", False)
with_pagination = kwargs.get("withPagination", False)
search = kwargs.get("search", None)
if get_all:
first = 100

self.opencti.app_logger.info(
"Listing stix_core_relationships",
Expand Down
3 changes: 0 additions & 3 deletions pycti/entities/opencti_stix_cyber_observable.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ def list(self, **kwargs):
with_pagination = kwargs.get("withPagination", False)
with_files = kwargs.get("withFiles", False)

if get_all:
first = 100

self.opencti.app_logger.info(
"Listing StixCyberObservables with filters",
{"filters": json.dumps(filters)},
Expand Down
Loading
Loading