aboutsummaryrefslogtreecommitdiff
path: root/dbstore/cvesearchrow.go
blob: 91920b91fabbec1c14310ad09fbf2f0088828c70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package dbstore

import (
  "github.com/pablotron/cvez/feed"
)

// CveSearch() result
type CveSearchRow struct {
  Id int64 `json:"cve_id"` // CVE database ID
  NvdId feed.CveId `json:"nvd_id"` // NVD CVE ID
  Description string `json:"description"` // CVE description (english)
  V3BaseScore feed.Score `json:"v3_base_score"` // CVSSv3 base score
  V3Severity feed.Severity `json:"v3_severity"` // CVSSv3 severity
  Rank float32 `json:"rank"` // search result rank
}