Skip to content

Commit

Permalink
Remove callproc to reduce FP (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
Prabhu Subramanian authored Nov 5, 2020
1 parent 02a8b33 commit 42be861
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 5 additions & 1 deletion lib/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@
level=logging.INFO,
format="%(message)s",
datefmt="[%X]",
handlers=[RichHandler(console=console, markup=True, show_path=False, enable_link_path=False)],
handlers=[
RichHandler(
console=console, markup=True, show_path=False, enable_link_path=False
)
],
)
LOG = logging.getLogger(__name__)

Expand Down
2 changes: 0 additions & 2 deletions lib/pyt/vulnerability_definitions/all_sources_sinks.pyt
Original file line number Diff line number Diff line change
Expand Up @@ -434,11 +434,9 @@
"curB.execute(": {"sanitisers": ["bindparams"]},
"cursor.executemany(": {"sanitisers": ["bindparams"]},
"cursor.executescript(": {"sanitisers": ["bindparams"]},
"cursor.callproc(": {"sanitisers": ["bindparams"]},
"execute(": {"sanitisers": ["bindparams"]},
"executemany(": {"sanitisers": ["bindparams"]},
"executescript(": {"sanitisers": ["bindparams"]},
"callproc(": {"sanitisers": ["bindparams"]},
"run_callable(": {},
"scalar(": {},
"database.execute(": {"sanitisers": ["bindparams"]},
Expand Down
2 changes: 1 addition & 1 deletion lib/pyt/vulnerability_definitions/blackbox_mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@
"debug"
],
"safe_path_list": [
"util", "models", "test", "setup.py"
"util", "models", "test", "setup.py", "__init__.py", "settings"
]
}

0 comments on commit 42be861

Please sign in to comment.