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 Apr 22, 2024
1 parent 5ea2d0a commit 1082cab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions rulesets.go
Expand Up @@ -247,6 +247,7 @@ type RulesetRuleActionParameters struct {
DisableZaraz *bool `json:"disable_zaraz,omitempty"`
DisableRailgun *bool `json:"disable_railgun,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
1 change: 1 addition & 0 deletions rulesets_test.go
Expand Up @@ -441,6 +441,7 @@ func TestGetRuleset_SetConfig(t *testing.T) {
DisableZaraz: BoolPtr(true),
DisableRailgun: BoolPtr(true),
EmailObfuscation: BoolPtr(true),
Fonts: BoolPtr(true),
Mirage: BoolPtr(true),
OpportunisticEncryption: BoolPtr(true),
Polish: PolishOff.IntoRef(),
Expand Down

0 comments on commit 1082cab

Please sign in to comment.