From 6b3137aeb0ae90955417b123483ab7a9ed225c1b Mon Sep 17 00:00:00 2001 From: Terri Oda Date: Wed, 3 Jul 2024 13:22:54 -0700 Subject: [PATCH] docs: explain drop table/bandit connection --- cve_bin_tool/cvedb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cve_bin_tool/cvedb.py b/cve_bin_tool/cvedb.py index aed394b11c..6c3db7dd0e 100644 --- a/cve_bin_tool/cvedb.py +++ b/cve_bin_tool/cvedb.py @@ -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",