Skip to content

Commit 1be0383

Browse files
committed
feat: export sarif region field [TREX-1159]
1 parent 2a39fde commit 1be0383

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sarif/sarif_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ type SarifResponse struct {
4343
Sarif SarifDocument `json:"sarif"`
4444
}
4545

46-
type region struct {
46+
type Region struct {
4747
StartLine int `json:"startLine"`
4848
EndLine int `json:"endLine"`
4949
StartColumn int `json:"startColumn"`
@@ -57,7 +57,7 @@ type ArtifactLocation struct {
5757

5858
type PhysicalLocation struct {
5959
ArtifactLocation ArtifactLocation `json:"artifactLocation"`
60-
Region region `json:"region"`
60+
Region Region `json:"region"`
6161
}
6262

6363
type Location struct {

0 commit comments

Comments
 (0)