File tree 1 file changed +4
-2
lines changed
dftimewolf/lib/processors
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ def process(self):
119
119
# instance of Turbinia).
120
120
local_paths = []
121
121
gs_paths = []
122
+ timeline_label = '{0:s}-{1:s}' .format (self .project , self .disk_name )
122
123
for task in task_data :
123
124
for path in task .get ('saved_paths' , []):
124
125
if path .startswith ('/' ) and path .endswith ('.plaso' ):
@@ -132,7 +133,8 @@ def process(self):
132
133
return
133
134
134
135
# Any local .plaso files that exist we can add immediately to the output
135
- self .state .output = [(p , p ) for p in local_paths if os .path .exists (p )]
136
+ self .state .output = [
137
+ (timeline_label , p ) for p in local_paths if os .path .exists (p )]
136
138
137
139
# For files remote in GCS we copy each plaso file back from GCS and then add
138
140
# to output paths
@@ -147,7 +149,7 @@ def process(self):
147
149
return
148
150
149
151
if local_path :
150
- self .state .output .append ((path , local_path ))
152
+ self .state .output .append ((timeline_label , local_path ))
151
153
152
154
if not self .state .output :
153
155
self .state .add_error ('No .plaso files could be found.' , critical = True )
You can’t perform that action at this time.
0 commit comments