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 ff0aeb0
Showing 1 changed file with 4 additions and 4 deletions.
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 ff0aeb0

Please sign in to comment.