CYBEX-P / tahoe

A Cyberthreat Language (CTL) to replace STIX
Other
0 stars 1 forks source link

tahoe.instance.Event.related_uuid: pagination in DFS #20

Closed qclassified closed 4 years ago

qclassified commented 4 years ago

To implement pagination in depth first search:

If limit==10 continue DFS in following:

uuids += parse(s, self.backend).related_uuid(lvl, v+[self.uuid], start=start, end=end)

until total 10 events have been discovered from the beginning then return