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

Commit f92d83f

Browse files
author
Samuel Hassine
committed
[client] Get IDs of objects in containers
1 parent 0b845b1 commit f92d83f

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

pycti/entities/opencti_stix_domain_object.py

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,23 +129,71 @@ def __init__(self, opencti, file):
129129
attribute_abstract
130130
content
131131
authors
132+
objects {
133+
edges {
134+
node {
135+
... on BasicObject {
136+
id
137+
}
138+
... on BasicRelationship {
139+
id
140+
}
141+
}
142+
}
143+
}
132144
}
133145
... on ObservedData {
134146
first_observed
135147
last_observed
136148
number_observed
149+
objects {
150+
edges {
151+
node {
152+
... on BasicObject {
153+
id
154+
}
155+
... on BasicRelationship {
156+
id
157+
}
158+
}
159+
}
160+
}
137161
}
138162
... on Opinion {
139163
explanation
140164
authors
141165
opinion
166+
objects {
167+
edges {
168+
node {
169+
... on BasicObject {
170+
id
171+
}
172+
... on BasicRelationship {
173+
id
174+
}
175+
}
176+
}
177+
}
142178
}
143179
... on Report {
144180
name
145181
description
146182
report_types
147183
published
148184
x_opencti_report_status
185+
objects {
186+
edges {
187+
node {
188+
... on BasicObject {
189+
id
190+
}
191+
... on BasicRelationship {
192+
id
193+
}
194+
}
195+
}
196+
}
149197
}
150198
... on CourseOfAction {
151199
name

0 commit comments

Comments
 (0)