Skip to content

Commit

Permalink
docs: explain drop table/bandit connection
Browse files Browse the repository at this point in the history
  • Loading branch information
terriko committed Jul 3, 2024
1 parent c2f8608 commit 6b3137a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cve_bin_tool/cvedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ class CVEDB:
""",
}

# This is mostly to make bandit happier because we won't be
# executing compound strings.
TABLE_DROP = {
"cve_severity": "DROP TABLE cve_severity",
"cve_range": "DROP TABLE cve_range",
Expand Down

0 comments on commit 6b3137a

Please sign in to comment.