aboutsummaryrefslogtreecommitdiff
path: root/dbstore/cisasearchrow.go
blob: 520a62e0a69950ff0cda9cd5d6c72ff8e9b3be05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package dbstore

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

// CisaSearch() result
type CisaSearchRow struct {
  Id int64 `json:"vuln_id"` // CISA vulnerability ID
  CatId int64 `json:"cat_id"` // CISA catalog ID
  CveId feed.CveId `json:"nvd_id"` // NVD CVE ID
  Vendor string `json:"vendor"` // Vendor name
  Product string `json:"product"` // Product name
  Name string `json:"name"` // Vulnerability name
  Description string `json:"description"` // Vulnerability description
  AddedAt rfc3339.Date `json:"added_at"` // Date added to catalog
  Action string `json:"action"` // Action required
  DueAt rfc3339.Date `json:"due_at"` // Date due
  Rank float32 `json:"rank"` // search result rank
}