Ng00m4lDhuhr / LogThoth

Interactive Dynamic Windows Event Logs Timeline Tool
GNU General Public License v3.0
1 stars 0 forks source link

Functional - Implement timeline branching algorithm #16

Open DeadDude-glitch opened 4 months ago

DeadDude-glitch commented 4 months ago

define super scope then recursively create scopes inside it to form a tree data structure

DeadDude-glitch commented 4 months ago

This is a yaml data structure of the timeline branching mechanism

superscope:
    - session 1:
        - execution 1    
        - execution 2
    - session 2:
        - execution 1    
        - execution 2
    - session 3:
        - execution 1    
        - execution 2
DeadDude-glitch commented 4 months ago

The function should be given a timeline.activity.scope it extracts a timeline.context for example: given a activity.scope it returns a list of timeline.context.session

def extract_sessions(scope:activity.scope) -> list:
    """timline branching algorithm is implemented here"""

def extract_execution(scope:activity.session) -> list:
    """timline branching algorithm is implemented here"""