1 parent 12013e9 commit 8e40a2dCopy full SHA for 8e40a2d
1 file changed
pgweb/security/loader.py
@@ -8,8 +8,6 @@
8
@transaction.atomic
9
def load_security_json():
10
combined_json = list(_load_all_cve_json())
11
- with open('/tmp/cna/full.json', 'w') as f:
12
- json.dump(combined_json, f)
13
curs = connection.cursor()
14
curs.execute("""WITH t AS (
15
SELECT (regexp_match(cveid, '^CVE-(\\d{4}-\\d{4,5})$'))[1] AS cve, title, description, vector, fixed, component
0 commit comments