mirror of
https://github.com/DISARMFoundation/DISARMframeworks.git
synced 2024-12-22 05:55:25 -05:00
c11e9d06ad
Added framework objects: - Added technique T0066 "Degrade adversary" to TA02 - Added technique T0067 "Plan to discredit credible sources" to TA02 - Added technique T0068 "respond to breaking news event" to TA02 - Added technique T0069 "respond to active crisis" to TA02 - Added technique T0070 "Analyze existing communities" to TA02 - Added technique T0071 "Find echo chambers" to TA13 - Added technique T0072 "Segment audiences" to TA13 Added STIX generator from repo DISARM-stix2, and added code to generate github files, databases, and STIX from the same Jupyter notebook.
20 lines
341 B
Python
20 lines
341 B
Python
import pandas as pd
|
|
|
|
|
|
def load_excel_data(infile):
|
|
"""Load an xlsx document.
|
|
|
|
Args:
|
|
infile (str): Path to an xlsx file.
|
|
|
|
Returns:
|
|
dict: xlsx sheets
|
|
|
|
"""
|
|
sheets = {}
|
|
xlsx = pd.ExcelFile(infile)
|
|
for sheetname in xlsx.sheet_names:
|
|
sheets[sheetname] = xlsx.parse(sheetname)
|
|
return sheets
|
|
|