BDNA Data Platform 5.4 July 2017 (SQL Server)
CAT_CVE - A table that shows the complete list of all Common Vulnerabilities and Exposures (CVE)

Legend:
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
CAT_CVE_ID numeric 20  √  null The unique identifier for CAT_CVE_ID table
CREATE_DATE datetime 16,3  √  null The date when row was first created
LAST_MODIFIED_DATE datetime 16,3  √  null The date when last modification on the row was made
CVEID varchar 4000  √  null The actual id for Common Vulnerabilities and Exposures (CVE), which is unique, common identifiers (id) for publicly known information-security vulnerabilities in publicly released software package. The id's follow the format: CVE prefix + Year + Arbitrary Digits
NVD_PUB_DATE varchar 100  √  null The date when the CVE entry was first published in the NVD. This refers to 'ns2:published-datetime' column in CPE Dictionary (which is published by the U.S. National Institute for Standards and Technology, NIST)
CVE_PUB_DATE varchar 100  √  null The date when the CVE entry was last modified in the NVD. This refers to 'ns2:last-modified-datetime' column in CPE Dictionary (which is published by the U.S. National Institute for Standards and Technology, NIST)
CVSS_SCORE numeric 20  √  null Common Vulnerability Scoring System (CVSS), an open framework for communicating the characteristics and impacts of IT vulnerabilities which is adopted in The National Vulnerability Database (NVD)
CVSS_SEVERITY numeric 20  √  null The order of severity based on CVSS score: High (CVSS score of 7.0 - 10.0), Medium (CVSS score of 4.0 - 6.9), Low (CVSS score of 0.0 - 3.9)
SUMMARY varchar 3000  √  null Summary of the issue/vulnerability impact described on the CVE
TO_BE_DELETED varchar 1  √  null Would this record be deleted? eg: Y
TO_BE_DELETED_ON datetime 16,3  √  null The date when this record would be deleted
DELETE_REASON varchar 500  √  null The reason why the entry is marked to be deleted (Values: Duplicate,Inaccurate)
PRIVATE_FLAG numeric 3  √  null 0 = Not Modified (i.e. original Technopedia entry),1 = Modified Technopedia object, 2 = Proprietary object (those that have negative ids)
IS_PRIVATE varchar 1  √  null y = a private entry, n = original Technopedia entry
PRIVATE_TYPE varchar 500  √  null PRIVATE_TYPE = NULL if PRIVATE_FLAG = 0,PRIVATE_TYPE = Modified Technopedia entry if PRIVATE_FLAG = 1,PRIVATE_TYPE = Proprietary entry if PRIVATE_FLAG = 2
REPLACEMENT_ID numeric 20  √  null Unique identifier of the replacement entry whenever the entry is marked to be deleted for 'Duplicate' reason

Analyzed at Thu Jul 20 12:14 PDT 2017

View Definition:
CREATE VIEW CAT_CVE AS SELECT f_tcat.CAT_CVE_ID,f_tcat.CREATE_DATE,f_tcat.LAST_MODIFIED_DATE,f_tcat.CVEID,f_tcat.NVD_PUB_DATE,f_tcat.CVE_PUB_DATE,f_tcat.CVSS_SCORE,f_tcat.CVSS_SEVERITY,f_tcat.SUMMARY,f_tcat.TO_BE_DELETED,f_tcat.TO_BE_DELETED_ON,f_tcat.DELETE_REASON,f_tcat.PRIVATE_FLAG,f_tcat.IS_PRIVATE,f_tcat.PRIVATE_TYPE,f_tcat.REPLACEMENT_ID from TCAT_CVE f_tcat where not exists (select 1 from TPC_CVE tpc_tab where tpc_tab.CAT_CVE_ID=f_tcat.CAT_CVE_ID ) union all SELECT * FROM ( SELECT COALESCE(tpc.CAT_CVE_ID,tcat.CAT_CVE_ID) CAT_CVE_ID,COALESCE(tpc.CREATE_DATE,tcat.CREATE_DATE) CREATE_DATE,CASE WHEN ISNULL(tpc.LAST_MODIFIED_DATE,'31-DEC-1900') > tcat.LAST_MODIFIED_DATE THEN tpc.LAST_MODIFIED_DATE WHEN ISNULL(tpc.LAST_MODIFIED_DATE,'31-DEC-1900') < tcat.LAST_MODIFIED_DATE THEN tcat.LAST_MODIFIED_DATE ELSE tcat.LAST_MODIFIED_DATE END LAST_MODIFIED_DATE, COALESCE(cast(tpc.CVEID as varchar(100)) ,cast(tcat.CVEID as varchar(100)) ) CVEID,COALESCE(tpc.NVD_PUB_DATE,tcat.NVD_PUB_DATE) NVD_PUB_DATE,COALESCE(tpc.CVE_PUB_DATE,tcat.CVE_PUB_DATE) CVE_PUB_DATE,COALESCE(tpc.CVSS_SCORE,tcat.CVSS_SCORE) CVSS_SCORE,COALESCE(tpc.CVSS_SEVERITY,tcat.CVSS_SEVERITY) CVSS_SEVERITY,COALESCE(tpc.SUMMARY,tcat.SUMMARY) SUMMARY,COALESCE(tpc.TO_BE_DELETED,tcat.TO_BE_DELETED) TO_BE_DELETED,COALESCE(tpc.TO_BE_DELETED_ON,tcat.TO_BE_DELETED_ON) TO_BE_DELETED_ON,COALESCE(tpc.DELETE_REASON,tcat.DELETE_REASON) DELETE_REASON,COALESCE(uuid.PRIVATE_FLAG,tcat.PRIVATE_FLAG) PRIVATE_FLAG, COALESCE(uuid.IS_PRIVATE,tcat.IS_PRIVATE) IS_PRIVATE, COALESCE(uuid.PRIVATE_TYPE,tcat.PRIVATE_TYPE) PRIVATE_TYPE, COALESCE(tpc.REPLACEMENT_ID,tcat.REPLACEMENT_ID) REPLACEMENT_ID FROM TPC_CVE tpc LEFT JOIN TCAT_CVE tcat ON tcat.CAT_CVE_ID = tpc.CAT_CVE_ID INNER JOIN TPC_UUID uuid ON tpc.CAT_CVE_ID = uuid.CAT_UUID_ID AND SIGN(tpc.CAT_CVE_ID )!= -1 ) cat_tab UNION ALL SELECT tpc.CAT_CVE_ID,tpc.CREATE_DATE,tpc.LAST_MODIFIED_DATE,cast(tpc.CVEID as varchar(100)) CVEID,tpc.NVD_PUB_DATE,tpc.CVE_PUB_DATE,tpc.CVSS_SCORE,tpc.CVSS_SEVERITY,tpc.SUMMARY,tpc.TO_BE_DELETED,tpc.TO_BE_DELETED_ON,tpc.DELETE_REASON,tpc.PRIVATE_FLAG,tpc.IS_PRIVATE,tpc.PRIVATE_TYPE,tpc.REPLACEMENT_ID FROM TPC_CVE tpc WHERE SIGN(tpc.CAT_CVE_ID )= -1
 
Possibly Referenced Tables/Views:

Confidential and Proprietary to BDNA