Skip to content

Commit

Permalink
fix(falco): json omitempty on description and output (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptubic authored Mar 20, 2023
1 parent 5d0427a commit e8abb60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sysdig/internal/client/secure/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ type notificationChannelWrapper struct {
type Rule struct {
ID int `json:"id,omitempty"`
Name string `json:"name"`
Description string `json:"description"`
Description string `json:"description,omitempty"`
Tags []string `json:"tags"`
Details Details `json:"details"`
Version int `json:"version,omitempty"`
Expand Down Expand Up @@ -154,7 +154,7 @@ type Details struct {
// Falco
Append *bool `json:"append,omitempty"`
Source string `json:"source,omitempty"`
Output string `json:"output"`
Output string `json:"output,omitempty"`
Condition *Condition `json:"condition,omitempty"`
Priority string `json:"priority,omitempty"`
Exceptions []*Exception `json:"exceptions,omitempty"`
Expand Down

0 comments on commit e8abb60

Please sign in to comment.