[Secure-testing-commits] r32713 - bin

Holger Levsen holger at moszumanska.debian.org
Mon Mar 9 17:05:56 UTC 2015


Author: holger
Date: 2015-03-09 17:05:56 +0000 (Mon, 09 Mar 2015)
New Revision: 32713

Modified:
   bin/tracker_service.py
Log:
include long CVE descriptionin JSON output

Modified: bin/tracker_service.py
===================================================================
--- bin/tracker_service.py	2015-03-09 17:02:44 UTC (rev 32712)
+++ bin/tracker_service.py	2015-03-09 17:05:56 UTC (rev 32713)
@@ -1245,7 +1245,9 @@
         nodsa = {}
         supported_releases = ('sid', 'jessie', 'wheezy', 'squeeze')
         for (pkg, issue, desc, debianbug, release, subrelease, db_version, db_status, db_urgency, db_remote, db_nodsa) in self.db.cursor().execute(
-                """SELECT sp.name, st.bug_name, bugs.description,
+                """SELECT sp.name, st.bug_name,
+                (SELECT cve_desc FROM nvd_data
+                WHERE cve_name = st.bug_name),
                 (SELECT debian_cve.bug FROM debian_cve
                 WHERE debian_cve.bug_name = st.bug_name
                 ORDER BY debian_cve.bug),




More information about the Secure-testing-commits mailing list