You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(ruleset): add content_converter support to configuration rules
Add the content_converter boolean field to the cloudflare_ruleset
resource and data source for the set_config action (http_config_settings
phase). This allows users to enable content conversion via Configuration
Rules.
Changes:
- Add ContentConverter field to resource and data source models
- Add content_converter schema attribute with set_config validator
- Add content_converter to migration tool simpleFields
- Update SetConfigRules test fixtures and assertions
- Update docs for ruleset resource and data source
Copy file name to clipboardExpand all lines: docs/data-sources/ruleset.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,7 @@ Read-Only:
69
69
-`automatic_https_rewrites` (Boolean) Whether to enable Automatic HTTPS Rewrites.
70
70
-`autominify` (Attributes) Which file extensions to minify automatically. (see [below for nested schema](#nestedatt--rules--action_parameters--autominify))
71
71
-`bic` (Boolean) Whether to enable Browser Integrity Check (BIC).
72
+
-`content_converter` (Boolean) Whether to enable content conversion (e.g., HTML to Markdown).
72
73
-`browser_ttl` (Attributes) How long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content. (see [below for nested schema](#nestedatt--rules--action_parameters--browser_ttl))
73
74
-`cache` (Boolean) Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations.
74
75
-`cache_key` (Attributes) Which components of the request are included in or excluded from the cache key Cloudflare uses to store the response in cache. (see [below for nested schema](#nestedatt--rules--action_parameters--cache_key))
Copy file name to clipboardExpand all lines: docs/resources/ruleset.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,7 @@ Optional:
87
87
-`automatic_https_rewrites` (Boolean) Whether to enable Automatic HTTPS Rewrites.
88
88
-`autominify` (Attributes) Which file extensions to minify automatically. (see [below for nested schema](#nestedatt--rules--action_parameters--autominify))
89
89
-`bic` (Boolean) Whether to enable Browser Integrity Check (BIC).
90
+
-`content_converter` (Boolean) Whether to enable content conversion (e.g., HTML to Markdown).
90
91
-`browser_ttl` (Attributes) How long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content. (see [below for nested schema](#nestedatt--rules--action_parameters--browser_ttl))
91
92
-`cache` (Boolean) Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations.
92
93
-`cache_key` (Attributes) Which components of the request are included in or excluded from the cache key Cloudflare uses to store the response in cache. (see [below for nested schema](#nestedatt--rules--action_parameters--cache_key))
0 commit comments