Skip to content

Commit

Permalink
SCALRCORE-33203 Add MaskSensitiveOutput attribute to Environment reso…
Browse files Browse the repository at this point in the history
…urce
  • Loading branch information
petroprotsakh committed Jan 28, 2025
1 parent 9f3152e commit 6fe2e91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ type Environment struct {
CreatedAt time.Time `jsonapi:"attr,created-at,iso8601"`
Status EnvironmentStatus `jsonapi:"attr,status"`
RemoteBackend bool `jsonapi:"attr,remote-backend"`
MaskSensitiveOutput bool `jsonapi:"attr,mask-sensitive-output"`

// Relations
Account *Account `jsonapi:"relation,account"`
Expand Down Expand Up @@ -79,6 +80,7 @@ type EnvironmentCreateOptions struct {
Name *string `jsonapi:"attr,name"`
CostEstimationEnabled *bool `jsonapi:"attr,cost-estimation-enabled,omitempty"`
RemoteBackend *bool `jsonapi:"attr,remote-backend,omitempty"`
MaskSensitiveOutput *bool `jsonapi:"attr,mask-sensitive-output,omitempty"`

// Relations
Account *Account `jsonapi:"relation,account"`
Expand Down Expand Up @@ -186,6 +188,7 @@ type EnvironmentUpdateOptions struct {
ID string `jsonapi:"primary,environments"`
Name *string `jsonapi:"attr,name,omitempty"`
CostEstimationEnabled *bool `jsonapi:"attr,cost-estimation-enabled,omitempty"`
MaskSensitiveOutput *bool `jsonapi:"attr,mask-sensitive-output,omitempty"`

// Relations
PolicyGroups []*PolicyGroup `jsonapi:"relation,policy-groups"`
Expand Down

0 comments on commit 6fe2e91

Please sign in to comment.