Skip to content

Commit

Permalink
watchNames and patterns as string slices
Browse files Browse the repository at this point in the history
  • Loading branch information
Felioh committed Apr 3, 2024
1 parent 109a52e commit ebf5b85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xray/services/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ type LicensesFilter struct {

type ViolationsFilter struct {
Type string `json:"type,omitempty"`
WatchNames string `json:"watch_names,omitempty"`
WatchPatterns string `json:"watch_patterns,omitempty"`
WatchNames []string `json:"watch_names,omitempty"`
WatchPatterns []string `json:"watch_patterns,omitempty"`
Component string `json:"component,omitempty"`
Artifact string `json:"artifact,omitempty"`
PolicyNames []string `json:"policy_names,omitempty"`
Expand Down

0 comments on commit ebf5b85

Please sign in to comment.