Skip to content

Commit 98e3762

Browse files
committed
chore: update filename and fix sonarcloud error
1 parent 7aa06ff commit 98e3762

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

mitreattack/attackToExcel/attackToExcel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def write_excel(dataframes: Dict, domain: str, version: Optional[str] = None, ou
320320

321321
# Write Detection strategy - Analytics - Log sources file
322322
ds_an_lg_frames = build_ds_an_lg_relationships(dataframes)
323-
ds_an_lg_fp = os.path.join(output_directory, f"{domain_version_string}-detectionstrategy-anlytic-logsources.xlsx")
323+
ds_an_lg_fp = os.path.join(output_directory, f"{domain_version_string}-detectionstrategy-analytic-logsources.xlsx")
324324

325325
with pd.ExcelWriter(ds_an_lg_fp) as rel_writer:
326326
for sheet_name, df in ds_an_lg_frames.items():

mitreattack/attackToExcel/stixToDf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,6 @@ def analyticsToDf(src):
413413
"detection_strategy_name": ds_info["detection_strategy_name"]
414414
})
415415

416-
citations = get_citations(analytics)
417416
dataframes["analytics"] = (
418417
pd.DataFrame(analytic_rows).sort_values("name")
419418
)

0 commit comments

Comments
 (0)