Skip to content

Commit

Permalink
feat: export sarif region field [TREX-1159] (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
VinceDeslo authored Jul 23, 2024
2 parents 2a39fde + 1be0383 commit cca06eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sarif/sarif_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type SarifResponse struct {
Sarif SarifDocument `json:"sarif"`
}

type region struct {
type Region struct {
StartLine int `json:"startLine"`
EndLine int `json:"endLine"`
StartColumn int `json:"startColumn"`
Expand All @@ -57,7 +57,7 @@ type ArtifactLocation struct {

type PhysicalLocation struct {
ArtifactLocation ArtifactLocation `json:"artifactLocation"`
Region region `json:"region"`
Region Region `json:"region"`
}

type Location struct {
Expand Down

0 comments on commit cca06eb

Please sign in to comment.