Skip to content

Commit

Permalink
Merge pull request #188 from armosec/kev-fields
Browse files Browse the repository at this point in the history
add kev vulnerability fields
  • Loading branch information
refaelm92 authored Dec 26, 2023
2 parents bd48ac3 + 5331060 commit 3be0c56
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions armotypes/vulnerabilitytypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,25 @@ type VulnerabilityJobParams struct {
}

type Vulnerability struct {
Name string `json:"name"`
Severity string `json:"severity"`
SeverityScore int `json:"severityScore"`
IsRCE bool `json:"isRCE"`
Links []string `json:"links"`
Description string `json:"description"`
Name string `json:"name"`
Severity string `json:"severity"`
SeverityScore int `json:"severityScore"`
IsRCE bool `json:"isRCE"`
Links []string `json:"links"`
Description string `json:"description"`
EpssInfo EpssInfo `json:"epssInfo"`
CisaKevInfo CisaKevInfo `json:"cisaKevInfo"`
}

type EpssInfo struct {
Epss float64 `json:"epss"`
Percentile float64 `json:"percentile"`
Date string `json:"date"`
}

type CisaKevInfo struct {
DateAdded string `json:"dateAdded"`
DueDate string `json:"dueDate"`
KnownRansomwareCampaignUse string `json:"knownRansomwareCampaignUse"`
Notes string `json:"notes"`
}

0 comments on commit 3be0c56

Please sign in to comment.