Skip to content

Commit

Permalink
Added fields to Policy struct
Browse files Browse the repository at this point in the history
  • Loading branch information
eranturgeman committed Dec 2, 2024
1 parent ba0c6c7 commit fe8305e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions xray/services/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,11 @@ type JfrogResearchSeverityReason struct {
}

type Policy struct {
Policy string `json:"policy,omitempty"`
Rule string `json:"rule,omitempty"`
Policy string `json:"policy,omitempty"`
Rule string `json:"rule,omitempty"`
IsBlocking bool `json:"is_blocking,omitempty"`
IgnoreRuleId string `json:"ignore_rule_id,omitempty"`
SkipNotApplicable bool `json:"is_skip_not_applicable,omitempty"`
}

type XscPostContextResponse struct {
Expand Down

0 comments on commit fe8305e

Please sign in to comment.