Skip to content

Commit

Permalink
Merge pull request #66 from gatecheckdev/65-semgrep-parsing-error-1
Browse files Browse the repository at this point in the history
fix: resolve parsing error by removing type
  • Loading branch information
BacchusJackson authored Apr 26, 2024
2 parents 5c29856 + 7f1a716 commit 01a94b8
Showing 1 changed file with 7 additions and 7 deletions.
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

0 comments on commit 01a94b8

Please sign in to comment.