Updated README.md

This commit is contained in:
standash 2017-09-16 16:27:32 +02:00
parent b8bff2b9ab
commit 91b786b2b3
1 changed files with 14 additions and 14 deletions

View File

@ -101,7 +101,7 @@ The database has following collections and relationships between them:
2. "vulns" -> the collection that lists all CVEs for which the analysis was performed ("vulns" has one-to-gazillion relationship with "entries") 2. "vulns" -> the collection that lists all CVEs for which the analysis was performed ("vulns" has one-to-gazillion relationship with "entries")
``` ```
db.vulns.findOne(); <br /> db.vulns.findOne();
{ {
_id : "", -> the id of a CVE (bson id) _id : "", -> the id of a CVE (bson id)
cve : "", -> the name of a CVE cve : "", -> the name of a CVE
@ -112,9 +112,9 @@ The database has following collections and relationships between them:
3. "entries" -> the collection that lists vulnerability evidence entries 3. "entries" -> the collection that lists vulnerability evidence entries
``` ```
db.entries.findOne(); db.entries.findOne();
{ {
_id : "", -> the id of an evicence entry (bson id) _id : "", -> the id of an evicence entry (bson id)
owner_id : "", -> the id of a corresponding CVE owner_id : "", -> the id of a corresponding CVE
revision : "", -> the current commit/revision to which the entry belongs revision : "", -> the current commit/revision to which the entry belongs
@ -123,5 +123,5 @@ The database has following collections and relationships between them:
container : "", -> the method/constructor to which the entry belongs container : "", -> the method/constructor to which the entry belongs
line_number : "", -> the number of the line of code line_number : "", -> the number of the line of code
line_contents : "" -> the contents of the line of code line_contents : "" -> the contents of the line of code
} }
``` ```