Skip to content

Commit

Permalink
Put back snapshot tag on Detection display_columns
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidaguerre committed Dec 10, 2024
1 parent a319a8b commit 3bb65b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/resources/detection.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Detection struct {
// required to allow partial decoding
Remain hcl.Body `hcl:",remain" json:"-"`
Severity *string `cty:"severity" hcl:"severity" snapshot:"severity" json:"severity,omitempty"`
DisplayColumns []string `cty:"display_columns" hcl:"display_columns,optional" json:"display_columns,omitempty"`
DisplayColumns []string `cty:"display_columns" hcl:"display_columns,optional" snapshot:"display_columns" json:"display_columns,omitempty"`

Base *Detection `hcl:"base" json:"-"`
}
Expand Down

0 comments on commit 3bb65b0

Please sign in to comment.