Skip to content

Commit

Permalink
add vulnerability type
Browse files Browse the repository at this point in the history
Signed-off-by: refaelm <[email protected]>
  • Loading branch information
refaelm92 committed Nov 16, 2023
1 parent 1bc4276 commit 6393293
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions armotypes/vulnerabilitytypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,12 @@ type VulnerabilityJobParams struct {
CronTabSchedule string `json:"cronTabSchedule,omitempty"`
JobID string `json:"jobID,omitempty"`
}

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"`
}

0 comments on commit 6393293

Please sign in to comment.