Skip to content

Commit

Permalink
Bugfix for the creation of a Violation Report (#933)
Browse files Browse the repository at this point in the history
  • Loading branch information
Felioh committed May 9, 2024
1 parent 62649bc commit 81215f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xray/services/report.go
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 81215f0

Please sign in to comment.