Skip to content

Commit

Permalink
feat: updated gateway teams rule settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Rex Scaria committed Mar 23, 2023
1 parent 0a69e78 commit 530189f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .changelog/1242.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
teams_rules: changed a rule setting type
```
8 changes: 4 additions & 4 deletions teams_rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ type TeamsRuleSettings struct {
// Turns on ip category based filter on dns if the rule contains dns category checks
IPCategories bool `json:"ip_categories"`

// Allow parent MSP accounts to enable bypass their children's rules.
AllowChildBypass bool `json:"allow_child_bypass"`
// Allow parent MSP accounts to enable bypass their children's rules. Do not set them for non MSP accounts.
AllowChildBypass *bool `json:"allow_child_bypass"`

// Allow child MSP accounts to bypass their parent's rules
BypassParentRule bool `json:"bypass_parent_rule"`
// Allow child MSP accounts to bypass their parent's rules. Do not set them for non MSP accounts.
BypassParentRule *bool `json:"bypass_parent_rule"`

// Action taken when an untrusted origin certificate error occurs in a http allow rule
UntrustedCertSettings *UntrustedCertSettings `json:"untrusted_cert"`
Expand Down

0 comments on commit 530189f

Please sign in to comment.