Skip to content

Commit

Permalink
fix: Fix the wrong query format. #2461
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Gonzalez committed Jan 27, 2022
1 parent a0ee5ce commit 8c6f2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/wazuh_testing/wazuh_testing/db_interface/cve_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def insert_vulnerability(cveid=vd.DEFAULT_VULNERABILITY_ID, target='RHEL7', targ

'INSERT INTO VULNERABILITIES_INFO (ID, title, severity, published, updated, target, rationale, cvss, '
f"cvss_vector, CVSS3, cwe) VALUES ('{cveid}', '{title}', '{severity}', '{published}', '{updated}', "
f"'{target_v}', {rationale}', '{cvss}', '{cvss_vector}', '{cvss3}', '{cwe}')",
f"'{target_v}', '{rationale}', '{cvss}', '{cvss_vector}', '{cvss3}', '{cwe}')",

f"INSERT INTO REFERENCES_INFO (id, target, reference) VALUES ('{cveid}', '{ref_target}', "
f"'{bugzilla_reference}')",
Expand Down

0 comments on commit 8c6f2ab

Please sign in to comment.