Dropped Extraneous Columns on Augmented Dataframe, added z_ to html filenames, to drop them to the bottom of the file lists for QOL

This commit is contained in:
Driven-Element
2025-08-21 19:55:16 -04:00
parent 5d4a52c2f0
commit 45594abea5
2 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -64,8 +64,8 @@ def augmentAggregatedHashes(url, agg_df: pd.DataFrame) -> pd.DataFrame:
df_api = pd.DataFrame(rows)
aug_df = agg_df.merge(df_api, on="sha256", how="left")
df = agg_df.merge(df_api, on="sha256", how="left")
aug_df = df[['sha256', 'filename_x', 'description', 'productname', 'productversion', 'publisher_y', 'publisher_x', 'netdomain', 'hostname', 'username', 'pprocess', 'gprocess', 'commandline', 'reputation_lastseen', 'reputation_scannercount', 'reputation_scannermatch', 'reputation_status', 'reputation_threatlevel', 'reputation_threatname', 'reputation_timestamp']]
return aug_df
def categorizeHashes(aug_df: pd.DataFrame, threat_tolerance: int, untrusted_publishers: list):