Skip to content

Commit

Permalink
feat: extend sarif schema with policy property
Browse files Browse the repository at this point in the history
  • Loading branch information
sandor-trombitas committed Nov 22, 2024
1 parent cca06eb commit 3107389
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sarif/sarif_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ type ResultProperties struct {
Type string `json:"type"`
} `json:"priorityScoreFactors"`
IsAutofixable bool `json:"isAutofixable"`
Policy struct {
OriginalLevel string `json:"originalLevel"`
} `json:"snykPolicy/v1"`
}

type Result struct {
Expand Down

0 comments on commit 3107389

Please sign in to comment.