Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions pkg/artifacts/v1/semgrep.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ type SemgrepExtra struct {
}

type SemgrepMetadata struct {
Category string `json:"category"`
Confidence string `json:"confidence"`
CWE []string `json:"cwe"`
Impact string `json:"impact"`
Likelihood string `json:"likelihood"`
Shortlink string `json:"shortlink"`
Owasp any `json:"owasp"`
Category string `json:"category"`
Confidence string `json:"confidence"`
CWE any `json:"cwe"`
Impact string `json:"impact"`
Likelihood string `json:"likelihood"`
Shortlink string `json:"shortlink"`
Owasp any `json:"owasp"`
}

func (s *SemgrepReportMin) SelectBySeverity(severity string) []SemgrepResults {
Expand Down