Skip to content

Commit

Permalink
Remove denylist restrictions
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-spencer committed Mar 25, 2024
1 parent fc9dcc1 commit 40c5a87
Showing 1 changed file with 6 additions and 31 deletions.
37 changes: 6 additions & 31 deletions src/demystify/demystify.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,39 +185,14 @@ def get_report_label(report_path: str):

# pylint: disable=W0613
# pylint: disable=W0613
def analysis_from_csv_lite(format_report, analyze=True, denylist=None, label=None):
def analysis_from_csv_lite(format_report, denylist=None, label=None):
"""Provide an entry point for demystify-lite."""

denylist = {
"IDS": [],
"FILENAMES": [
".DS_Store",
"Untitled Document",
"desktop.ini",
"(copy",
"ZbThumbnail.info",
"lorem",
"New Microsoft Word Document",
"Bin.dat",
"Thumbs.db",
" vitae",
" Appointments",
" CV",
" Application",
" Resume",
" Appointment",
" Test",
" list",
" member",
" people",
" address",
" phone",
],
"DIRECTORIES": ["Untitled Folder", "New Folder", "(copy", ".git", "lorem"],
"EXTENSIONS": [".ini", ".exe", ".cfg", ".dll", ".lnk", ".tmp"],
}
return analysis_from_csv(
format_report=format_report, analyze=True, denylist=denylist, label=label
format_report=format_report,
analyze=True,
denylist=denylist,
label=label,
rogues=None,
)


Expand Down

0 comments on commit 40c5a87

Please sign in to comment.