@@ -268,7 +268,6 @@ def __init__(self, opencti):
268
268
:param startTimeStop: the start_time date stop filter
269
269
:param stopTimeStart: the stop_time date start filter
270
270
:param stopTimeStop: the stop_time date stop filter
271
- :param inferred: includes inferred relations
272
271
:param first: return the first n rows from the after ID (or the beginning if not set)
273
272
:param after: ID of the first row for pagination
274
273
:return List of stix_core_relationship objects
@@ -285,7 +284,6 @@ def list(self, **kwargs):
285
284
stop_time_start = kwargs .get ("stopTimeStart" , None )
286
285
stop_time_stop = kwargs .get ("stopTimeStop" , None )
287
286
filters = kwargs .get ("filters" , [])
288
- inferred = kwargs .get ("inferred" , None )
289
287
first = kwargs .get ("first" , 500 )
290
288
after = kwargs .get ("after" , None )
291
289
order_by = kwargs .get ("orderBy" , None )
@@ -307,8 +305,8 @@ def list(self, **kwargs):
307
305
)
308
306
query = (
309
307
"""
310
- query StixCoreRelationships($fromId: String, $fromTypes: [String], $toId: String, $toTypes: [String], $relationship_type: String, $startTimeStart: DateTime, $startTimeStop: DateTime, $stopTimeStart: DateTime, $stopTimeStop: DateTime, $inferred: Boolean, $ filters: [StixCoreRelationshipsFiltering], $first: Int, $after: ID, $orderBy: StixCoreRelationshipsOrdering, $orderMode: OrderingMode) {
311
- stixCoreRelationships(fromId: $fromId, fromTypes: $fromTypes, toId: $toId, toTypes: $toTypes, relationship_type: $relationship_type, startTimeStart: $startTimeStart, startTimeStop: $startTimeStop, stopTimeStart: $stopTimeStart, stopTimeStop: $stopTimeStop, inferred: $inferred, filters: $filters, first: $first, after: $after, orderBy: $orderBy, orderMode: $orderMode) {
308
+ query StixCoreRelationships($fromId: String, $fromTypes: [String], $toId: String, $toTypes: [String], $relationship_type: String, $startTimeStart: DateTime, $startTimeStop: DateTime, $stopTimeStart: DateTime, $stopTimeStop: DateTime, $filters: [StixCoreRelationshipsFiltering], $first: Int, $after: ID, $orderBy: StixCoreRelationshipsOrdering, $orderMode: OrderingMode) {
309
+ stixCoreRelationships(fromId: $fromId, fromTypes: $fromTypes, toId: $toId, toTypes: $toTypes, relationship_type: $relationship_type, startTimeStart: $startTimeStart, startTimeStop: $startTimeStop, stopTimeStart: $stopTimeStart, stopTimeStop: $stopTimeStop, filters: $filters, first: $first, after: $after, orderBy: $orderBy, orderMode: $orderMode) {
312
310
edges {
313
311
node {
314
312
"""
@@ -340,7 +338,6 @@ def list(self, **kwargs):
340
338
"stopTimeStart" : stop_time_start ,
341
339
"stopTimeStop" : stop_time_stop ,
342
340
"filters" : filters ,
343
- "inferred" : inferred ,
344
341
"first" : first ,
345
342
"after" : after ,
346
343
"orderBy" : order_by ,
@@ -362,7 +359,6 @@ def list(self, **kwargs):
362
359
:param startTimeStop: the start_time date stop filter
363
360
:param stopTimeStart: the stop_time date start filter
364
361
:param stopTimeStop: the stop_time date stop filter
365
- :param inferred: includes inferred relations
366
362
:return stix_core_relationship object
367
363
"""
368
364
@@ -375,7 +371,6 @@ def read(self, **kwargs):
375
371
start_time_stop = kwargs .get ("startTimeStop" , None )
376
372
stop_time_start = kwargs .get ("stopTimeStart" , None )
377
373
stop_time_stop = kwargs .get ("stopTimeStop" , None )
378
- inferred = kwargs .get ("inferred" , None )
379
374
custom_attributes = kwargs .get ("customAttributes" , None )
380
375
if id is not None :
381
376
self .opencti .log ("info" , "Reading stix_core_relationship {" + id + "}." )
@@ -407,7 +402,6 @@ def read(self, **kwargs):
407
402
startTimeStop = start_time_stop ,
408
403
stopTimeStart = stop_time_start ,
409
404
stopTimeStop = stop_time_stop ,
410
- inferred = inferred ,
411
405
)
412
406
if len (result ) > 0 :
413
407
return result [0 ]
0 commit comments