Skip to content

Commit

Permalink
add comments to beta OPA attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrinalirao committed Nov 1, 2022
1 parent 08d0173 commit 7bc25d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions policy_set.go
Expand Up @@ -116,6 +116,7 @@ type PolicySetListOptions struct {
// Optional: A search string (partial policy set name) used to filter the results.
Search string `url:"search[name],omitempty"`

// **Note: This field is still in BETA and subject to change.**
// Optional: A kind string used to filter the results by the policy set kind.
Kind PolicyKind `url:"filter[kind],omitempty"`

Expand Down Expand Up @@ -150,9 +151,11 @@ type PolicySetCreateOptions struct {
// Optional: Whether or not the policy set is global.
Global *bool `jsonapi:"attr,global,omitempty"`

// **Note: This field is still in BETA and subject to change.**
// Optional: The underlying technology that the policy set supports
Kind PolicyKind `jsonapi:"attr,kind,omitempty"`

// **Note: This field is still in BETA and subject to change.**
// Optional: Whether or not users can override this policy when it fails during a run. Only valid for OPA policies.
Overridable *bool `jsonapi:"attr,overridable,omitempty"`

Expand Down

0 comments on commit 7bc25d5

Please sign in to comment.