Skip to content

Commit 924768c

Browse files
committed
Remove parameters from configuration-rule-wins-over-rum-rule (always the same values)
1 parent 14a8bef commit 924768c

File tree

3 files changed

+20
-56
lines changed

3 files changed

+20
-56
lines changed

src/content/docs/rules/configuration-rules/settings.mdx

Lines changed: 16 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ sidebar:
66
head:
77
- tag: title
88
content: Configuration Rules settings
9-
109
---
1110

12-
import { Details, Render } from "~/components"
11+
import { Details, Render } from "~/components";
1312

1413
You can change the configuration settings described below in a configuration rule.
1514

@@ -19,7 +18,6 @@ You can change the configuration settings described below in a configuration rul
1918

2019
Use this setting to turn on or off Automatic HTTPS Rewrites for matching requests.
2120

22-
2321
<Details header="API information">
2422

2523
API configuration property name: `"automatic_https_rewrites"` (boolean).
@@ -32,7 +30,6 @@ API configuration property name: `"automatic_https_rewrites"` (boolean).
3230

3331
<Render file="configuration-rule-link-to-examples" />
3432

35-
3633
</Details>
3734

3835
## Browser Integrity Check
@@ -41,7 +38,6 @@ API configuration property name: `"automatic_https_rewrites"` (boolean).
4138

4239
Use this setting to turn on or off Browser Integrity Check for matching requests.
4340

44-
4541
<Details header="API information">
4642

4743
API configuration property name: `"bic"` (boolean).
@@ -54,7 +50,6 @@ API configuration property name: `"bic"` (boolean).
5450

5551
<Render file="configuration-rule-link-to-examples" />
5652

57-
5853
</Details>
5954

6055
## Disable Apps
@@ -63,7 +58,6 @@ API configuration property name: `"bic"` (boolean).
6358

6459
Use this setting to turn off all active Cloudflare Apps for matching requests.
6560

66-
6761
<Details header="API information">
6862

6963
API configuration property name: `"disable_apps"` (boolean).
@@ -76,7 +70,6 @@ API configuration property name: `"disable_apps"` (boolean).
7670

7771
<Render file="configuration-rule-link-to-examples" />
7872

79-
8073
</Details>
8174

8275
## Disable Real User Monitoring (RUM)
@@ -85,8 +78,7 @@ API configuration property name: `"disable_apps"` (boolean).
8578

8679
Use this setting to turn off Web Analytics for matching requests.
8780

88-
<Render file="configuration-rule-wins-over-rum-rule" params={{ one: "Configuration rules", two: "Web Analytics rules" }} />
89-
81+
<Render file="configuration-rule-wins-over-rum-rule" />
9082

9183
<Details header="API information">
9284

@@ -100,7 +92,6 @@ API configuration property name: `"disable_rum"` (boolean).
10092

10193
<Render file="configuration-rule-link-to-examples" />
10294

103-
10495
</Details>
10596

10697
## Disable Zaraz
@@ -109,7 +100,6 @@ API configuration property name: `"disable_rum"` (boolean).
109100

110101
Use this setting to turn off Zaraz for matching requests.
111102

112-
113103
<Details header="API information">
114104

115105
API configuration property name: `"disable_zaraz"` (boolean).
@@ -122,7 +112,6 @@ API configuration property name: `"disable_zaraz"` (boolean).
122112

123113
<Render file="configuration-rule-link-to-examples" />
124114

125-
126115
</Details>
127116

128117
## Hotlink Protection
@@ -131,7 +120,6 @@ API configuration property name: `"disable_zaraz"` (boolean).
131120

132121
Use this setting to turn on or off Hotlink Protection for matching requests.
133122

134-
135123
<Details header="API information">
136124

137125
API configuration property name: `"hotlink_protection"` (boolean).
@@ -144,7 +132,6 @@ API configuration property name: `"hotlink_protection"` (boolean).
144132

145133
<Render file="configuration-rule-link-to-examples" />
146134

147-
148135
</Details>
149136

150137
## Email Obfuscation
@@ -153,7 +140,6 @@ API configuration property name: `"hotlink_protection"` (boolean).
153140

154141
Use this setting to turn on or off Email Obfuscation for matching requests.
155142

156-
157143
<Details header="API information">
158144

159145
API configuration property name: `"email_obfuscation"` (boolean).
@@ -166,7 +152,6 @@ API configuration property name: `"email_obfuscation"` (boolean).
166152

167153
<Render file="configuration-rule-link-to-examples" />
168154

169-
170155
</Details>
171156

172157
## Fonts
@@ -175,7 +160,6 @@ API configuration property name: `"email_obfuscation"` (boolean).
175160

176161
Use this setting to turn on or off Cloudflare Fonts for matching requests.
177162

178-
179163
<Details header="API information">
180164

181165
API configuration property name: `"fonts"` (boolean).
@@ -188,7 +172,6 @@ API configuration property name: `"fonts"` (boolean).
188172

189173
<Render file="configuration-rule-link-to-examples" />
190174

191-
192175
</Details>
193176

194177
## Mirage
@@ -197,7 +180,6 @@ API configuration property name: `"fonts"` (boolean).
197180

198181
Use this setting to turn on or off Mirage for matching requests.
199182

200-
201183
<Details header="API information">
202184

203185
API configuration property name: `"mirage"` (boolean).
@@ -210,7 +192,6 @@ API configuration property name: `"mirage"` (boolean).
210192

211193
<Render file="configuration-rule-link-to-examples" />
212194

213-
214195
</Details>
215196

216197
## Opportunistic Encryption
@@ -219,7 +200,6 @@ API configuration property name: `"mirage"` (boolean).
219200

220201
Use this setting to turn on or off Opportunistic Encryption for matching requests.
221202

222-
223203
<Details header="API information">
224204

225205
API configuration property name: `"opportunistic_encryption"` (boolean).
@@ -232,7 +212,6 @@ API configuration property name: `"opportunistic_encryption"` (boolean).
232212

233213
<Render file="configuration-rule-link-to-examples" />
234214

235-
236215
</Details>
237216

238217
## Polish
@@ -241,13 +220,12 @@ API configuration property name: `"opportunistic_encryption"` (boolean).
241220

242221
Use this setting to configure Polish for matching requests:
243222

244-
* Off
245-
* Lossless
246-
* Lossy
223+
- Off
224+
- Lossless
225+
- Lossy
247226

248227
Refer to [Compression options](/images/polish/compression/#compression-options) for more information on these values.
249228

250-
251229
<Details header="API information">
252230

253231
API configuration property name: `"polish"` (string).
@@ -262,7 +240,6 @@ API values: `"off"`, `"lossless"`, `"lossy"`.
262240

263241
<Render file="configuration-rule-link-to-examples" />
264242

265-
266243
</Details>
267244

268245
## Rocket Loader
@@ -271,7 +248,6 @@ API values: `"off"`, `"lossless"`, `"lossy"`.
271248

272249
Use this setting to turn on or off Rocket Loader for matching requests.
273250

274-
275251
<Details header="API information">
276252

277253
API configuration property name: `"rocket_loader"` (boolean).
@@ -284,7 +260,6 @@ API configuration property name: `"rocket_loader"` (boolean).
284260

285261
<Render file="configuration-rule-link-to-examples" />
286262

287-
288263
</Details>
289264

290265
## Security Level
@@ -293,16 +268,15 @@ API configuration property name: `"rocket_loader"` (boolean).
293268

294269
Use this setting to select the security level for matching requests:
295270

296-
* Off
297-
* Essentially Off
298-
* Low
299-
* Medium
300-
* High
301-
* I'm Under Attack
271+
- Off
272+
- Essentially Off
273+
- Low
274+
- Medium
275+
- High
276+
- I'm Under Attack
302277

303278
Refer to [Security levels](/waf/tools/security-level/#security-levels) for more information on these values.
304279

305-
306280
<Details header="API information">
307281

308282
API configuration property name: `"security_level"` (string).
@@ -317,7 +291,6 @@ API values: `"off"`, `"essentially_off"`, `"low"`, `"medium"`, `"high"`, `"under
317291

318292
<Render file="configuration-rule-link-to-examples" />
319293

320-
321294
</Details>
322295

323296
## SSL
@@ -326,15 +299,14 @@ API values: `"off"`, `"essentially_off"`, `"low"`, `"medium"`, `"high"`, `"under
326299

327300
Use this setting to configure the SSL/TLS encryption mode for matching requests:
328301

329-
* Off
330-
* Flexible
331-
* Full
332-
* Strict
333-
* Origin Pull
302+
- Off
303+
- Flexible
304+
- Full
305+
- Strict
306+
- Origin Pull
334307

335308
Refer to [Available encryption modes](/ssl/origin-configuration/ssl-modes/#available-encryption-modes) for more information on these values.
336309

337-
338310
<Details header="API information">
339311

340312
API configuration property name: `"ssl"` (string).
@@ -349,7 +321,6 @@ API values: `"off"`, `"flexible"`, `"full"`, `"strict"`, `"origin_pull"`.
349321

350322
<Render file="configuration-rule-link-to-examples" />
351323

352-
353324
</Details>
354325

355326
## SXG
@@ -358,7 +329,6 @@ API values: `"off"`, `"flexible"`, `"full"`, `"strict"`, `"origin_pull"`.
358329

359330
Use this setting to turn on or off signed exchanges for matching requests.
360331

361-
362332
<Details header="API information">
363333

364334
API configuration property name: `"sxg"` (boolean).
@@ -371,5 +341,4 @@ API configuration property name: `"sxg"` (boolean).
371341

372342
<Render file="configuration-rule-link-to-examples" />
373343

374-
375344
</Details>

src/content/docs/web-analytics/configuration-options/rules.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
pcx_content_type: how-to
33
title: Rules
4-
54
---
65

7-
import { Render } from "~/components"
6+
import { Render } from "~/components";
87

98
Use **Rules** to configure whether to track Web Analytics for specific websites or paths. By default, Web Analytics automatically creates a single rule for the zone that injects the JavaScript (JS) snippet for all pages.
109

@@ -17,4 +16,4 @@ Rules are only available for sites proxied through Cloudflare. For more informat
1716
5. Select the **Action** and fill in the hostname and path(s) you want to add a rule for.
1817
6. If you want to add additional rules, select **Add rule**. Otherwise select **Update** to save the rule.
1918

20-
<Render file="configuration-rule-wins-over-rum-rule" product="rules" params={{ one: "Configuration rules", two: "Web Analytics rules" }} />
19+
<Render file="configuration-rule-wins-over-rum-rule" product="rules" />
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
---
2-
inputParameters: configRulesReferenceOrLink;;rumRulesReferenceOrLink
3-
2+
{}
43
---
54

6-
import { Markdown } from "~/components"
7-
85
:::caution[Warning]
9-
10-
{props.one} have precedence over any {props.two}. If a Web Analytics rule turns on analytics measurements for an incoming request and the same request matches a configuration rule turning off Web Analytics, the configuration rule will win.
6+
Configuration rules have precedence over any Web Analytics rules. If a Web Analytics rule turns on analytics measurements for an incoming request and the same request matches a configuration rule turning off Web Analytics, the configuration rule will win.
117
:::

0 commit comments

Comments
 (0)