File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
mitreattack/attackToExcel Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ def datasourcesToDf(src):
263263 :returns: a lookup of labels (descriptors/names) to dataframes
264264 """
265265 data = list (
266- chain .from_iterable ( # software are the union of the tool and malware types
266+ chain .from_iterable ( # collect all data components and data sources
267267 src .query (f )
268268 for f in [
269269 Filter ("type" , "=" , "x-mitre-data-component" ),
@@ -280,9 +280,9 @@ def datasourcesToDf(src):
280280 if x ["type" ] == "x-mitre-data-source" :
281281 source_lookup [x ["id" ]] = x ["name" ]
282282 for data_object in tqdm (refined , desc = "parsing data sources" ):
283- # add common STIx fields
283+ # add common STIX fields
284284 row = parseBaseStix (data_object )
285- # add software -specific fields
285+ # add data source/data component -specific fields
286286 if "x_mitre_platforms" in data_object :
287287 row ["platforms" ] = ", " .join (sorted (data_object ["x_mitre_platforms" ]))
288288 if "x_mitre_collection_layers" in data_object :
@@ -310,7 +310,7 @@ def datasourcesToDf(src):
310310 "collection layers" ,
311311 "platforms" ,
312312 "created" ,
313- "modified" ,
313+ "last modified" ,
314314 "type" ,
315315 "version" ,
316316 "url" ,
You can’t perform that action at this time.
0 commit comments