Skip to content

Commit

Permalink
Add Fonts to Configuration Rules
Browse files Browse the repository at this point in the history
  • Loading branch information
rawan committed May 7, 2024
1 parent 5ea2d0a commit 3f6cc96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rulesets.go
Expand Up @@ -246,7 +246,9 @@ type RulesetRuleActionParameters struct {
DisableApps *bool `json:"disable_apps,omitempty"`
DisableZaraz *bool `json:"disable_zaraz,omitempty"`
DisableRailgun *bool `json:"disable_railgun,omitempty"`
DisableRum *bool `json:"disable_rum,omitempty"`
EmailObfuscation *bool `json:"email_obfuscation,omitempty"`
Fonts *bool `json:"fonts,omitempty"`
Mirage *bool `json:"mirage,omitempty"`
OpportunisticEncryption *bool `json:"opportunistic_encryption,omitempty"`
Polish *Polish `json:"polish,omitempty"`
Expand Down
2 changes: 2 additions & 0 deletions rulesets_test.go
Expand Up @@ -440,7 +440,9 @@ func TestGetRuleset_SetConfig(t *testing.T) {
DisableApps: BoolPtr(true),
DisableZaraz: BoolPtr(true),
DisableRailgun: BoolPtr(true),
DisableRum: BoolPtr(true),
EmailObfuscation: BoolPtr(true),
Fonts: BoolPtr(true),
Mirage: BoolPtr(true),
OpportunisticEncryption: BoolPtr(true),
Polish: PolishOff.IntoRef(),
Expand Down

0 comments on commit 3f6cc96

Please sign in to comment.