@libreflare/worker-runtime 0.5.11 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/README.md +120 -22
  2. package/dist/rule-evaluator/accept-encoding.d.ts +2 -1
  3. package/dist/rule-evaluator/accept-encoding.d.ts.map +1 -1
  4. package/dist/rule-evaluator/accept-encoding.js +27 -30
  5. package/dist/rule-evaluator/accept-encoding.js.map +1 -1
  6. package/dist/rule-evaluator/access-values.d.ts +28 -0
  7. package/dist/rule-evaluator/access-values.d.ts.map +1 -0
  8. package/dist/rule-evaluator/access-values.js +60 -0
  9. package/dist/rule-evaluator/access-values.js.map +1 -0
  10. package/dist/rule-evaluator/analysis.d.ts +31 -18
  11. package/dist/rule-evaluator/analysis.d.ts.map +1 -1
  12. package/dist/rule-evaluator/analysis.js +46 -127
  13. package/dist/rule-evaluator/analysis.js.map +1 -1
  14. package/dist/rule-evaluator/ast.d.ts +36 -17
  15. package/dist/rule-evaluator/ast.d.ts.map +1 -1
  16. package/dist/rule-evaluator/ast.js +5 -0
  17. package/dist/rule-evaluator/ast.js.map +1 -1
  18. package/dist/rule-evaluator/comparison.d.ts +16 -0
  19. package/dist/rule-evaluator/comparison.d.ts.map +1 -0
  20. package/dist/rule-evaluator/comparison.js +43 -0
  21. package/dist/rule-evaluator/comparison.js.map +1 -0
  22. package/dist/rule-evaluator/constants.d.ts +7 -3
  23. package/dist/rule-evaluator/constants.d.ts.map +1 -1
  24. package/dist/rule-evaluator/constants.js +7 -1
  25. package/dist/rule-evaluator/constants.js.map +1 -1
  26. package/dist/rule-evaluator/country-codes.generated.js +1 -1
  27. package/dist/rule-evaluator/custom-lists.d.ts +6 -0
  28. package/dist/rule-evaluator/custom-lists.d.ts.map +1 -1
  29. package/dist/rule-evaluator/custom-lists.js +21 -1
  30. package/dist/rule-evaluator/custom-lists.js.map +1 -1
  31. package/dist/rule-evaluator/diagnostics.d.ts +10 -7
  32. package/dist/rule-evaluator/diagnostics.d.ts.map +1 -1
  33. package/dist/rule-evaluator/diagnostics.js +31 -1
  34. package/dist/rule-evaluator/diagnostics.js.map +1 -1
  35. package/dist/rule-evaluator/evaluator.d.ts +10 -3
  36. package/dist/rule-evaluator/evaluator.d.ts.map +1 -1
  37. package/dist/rule-evaluator/evaluator.js +85 -78
  38. package/dist/rule-evaluator/evaluator.js.map +1 -1
  39. package/dist/rule-evaluator/explain.d.ts +11 -2
  40. package/dist/rule-evaluator/explain.d.ts.map +1 -1
  41. package/dist/rule-evaluator/explain.js +217 -121
  42. package/dist/rule-evaluator/explain.js.map +1 -1
  43. package/dist/rule-evaluator/field-availability.d.ts +2 -2
  44. package/dist/rule-evaluator/field-availability.d.ts.map +1 -1
  45. package/dist/rule-evaluator/field-availability.js +9 -3
  46. package/dist/rule-evaluator/field-availability.js.map +1 -1
  47. package/dist/rule-evaluator/field-descriptions.d.ts +1 -1
  48. package/dist/rule-evaluator/field-descriptions.d.ts.map +1 -1
  49. package/dist/rule-evaluator/field-descriptions.generated.d.ts +129 -2
  50. package/dist/rule-evaluator/field-descriptions.generated.d.ts.map +1 -1
  51. package/dist/rule-evaluator/field-descriptions.generated.js +289 -3
  52. package/dist/rule-evaluator/field-descriptions.generated.js.map +1 -1
  53. package/dist/rule-evaluator/fields.d.ts +14 -3
  54. package/dist/rule-evaluator/fields.d.ts.map +1 -1
  55. package/dist/rule-evaluator/fields.js +188 -43
  56. package/dist/rule-evaluator/fields.js.map +1 -1
  57. package/dist/rule-evaluator/function-descriptions.d.ts +2 -0
  58. package/dist/rule-evaluator/function-descriptions.d.ts.map +1 -1
  59. package/dist/rule-evaluator/function-descriptions.generated.d.ts +14 -0
  60. package/dist/rule-evaluator/function-descriptions.generated.d.ts.map +1 -1
  61. package/dist/rule-evaluator/function-descriptions.generated.js +25 -0
  62. package/dist/rule-evaluator/function-descriptions.generated.js.map +1 -1
  63. package/dist/rule-evaluator/function-descriptions.js.map +1 -1
  64. package/dist/rule-evaluator/function-signature-validation.d.ts +1 -1
  65. package/dist/rule-evaluator/function-signature-validation.d.ts.map +1 -1
  66. package/dist/rule-evaluator/function-signature-validation.js +147 -33
  67. package/dist/rule-evaluator/function-signature-validation.js.map +1 -1
  68. package/dist/rule-evaluator/functions.d.ts +18 -5
  69. package/dist/rule-evaluator/functions.d.ts.map +1 -1
  70. package/dist/rule-evaluator/functions.js +281 -183
  71. package/dist/rule-evaluator/functions.js.map +1 -1
  72. package/dist/rule-evaluator/minifier.d.ts +2 -6
  73. package/dist/rule-evaluator/minifier.d.ts.map +1 -1
  74. package/dist/rule-evaluator/minifier.js +9 -9
  75. package/dist/rule-evaluator/minifier.js.map +1 -1
  76. package/dist/rule-evaluator/normalizer.d.ts +2 -6
  77. package/dist/rule-evaluator/normalizer.d.ts.map +1 -1
  78. package/dist/rule-evaluator/normalizer.js +8 -8
  79. package/dist/rule-evaluator/normalizer.js.map +1 -1
  80. package/dist/rule-evaluator/operators.d.ts +21 -2
  81. package/dist/rule-evaluator/operators.d.ts.map +1 -1
  82. package/dist/rule-evaluator/operators.js +162 -104
  83. package/dist/rule-evaluator/operators.js.map +1 -1
  84. package/dist/rule-evaluator/outcome.d.ts +63 -0
  85. package/dist/rule-evaluator/outcome.d.ts.map +1 -0
  86. package/dist/rule-evaluator/outcome.js +78 -0
  87. package/dist/rule-evaluator/outcome.js.map +1 -0
  88. package/dist/rule-evaluator/parser.d.ts +8 -2
  89. package/dist/rule-evaluator/parser.d.ts.map +1 -1
  90. package/dist/rule-evaluator/parser.js +118 -102
  91. package/dist/rule-evaluator/parser.js.map +1 -1
  92. package/dist/rule-evaluator/quantifier.d.ts +2 -2
  93. package/dist/rule-evaluator/quantifier.d.ts.map +1 -1
  94. package/dist/rule-evaluator/rule-language-types.d.ts +46 -12
  95. package/dist/rule-evaluator/rule-language-types.d.ts.map +1 -1
  96. package/dist/rule-evaluator/rule-language-types.js +195 -69
  97. package/dist/rule-evaluator/rule-language-types.js.map +1 -1
  98. package/dist/rule-evaluator/tokenizer.d.ts.map +1 -1
  99. package/dist/rule-evaluator/tokenizer.js +25 -0
  100. package/dist/rule-evaluator/tokenizer.js.map +1 -1
  101. package/dist/rule-evaluator/validation.d.ts +8 -9
  102. package/dist/rule-evaluator/validation.d.ts.map +1 -1
  103. package/dist/rule-evaluator/validation.js +249 -82
  104. package/dist/rule-evaluator/validation.js.map +1 -1
  105. package/dist/rule-evaluator/values.d.ts +26 -0
  106. package/dist/rule-evaluator/values.d.ts.map +1 -0
  107. package/dist/rule-evaluator/values.js +55 -0
  108. package/dist/rule-evaluator/values.js.map +1 -0
  109. package/dist/rule-evaluator.d.ts +4 -4
  110. package/dist/rule-evaluator.d.ts.map +1 -1
  111. package/dist/rule-evaluator.js +1 -1
  112. package/dist/rule-evaluator.js.map +1 -1
  113. package/package.json +2 -2
@@ -22,7 +22,7 @@ interface RuleExpressionFieldAvailabilityResolverOptions {
22
22
  }
23
23
  export declare const RULE_EXPRESSION_FIELD_AVAILABILITY_PRESETS: {
24
24
  readonly 'url-rewrite-filter': {
25
- readonly allowedFields: readonly ["cf.edge.server_ip", "cf.edge.server_port", "cf.edge.client_port", "cf.edge.client_tcp", "cf.edge.l4.delivery_rate", "cf.hostname.metadata", "cf.zone.name", "cf.random_seed", "cf.ray_id", "cf.timings.client_quic_rtt_msec", "cf.timings.client_tcp_rtt_msec", "cf.tls_version", "cf.tls_cipher", "cf.tls_client_hello_length", "cf.tls_client_random", "cf.tls_client_extensions_sha1", "cf.tls_client_extensions_sha1_le", "cf.tls_client_ciphers_sha1", "cf.worker.upstream_zone", "http.cookie", "http.host", "http.referer", "http.request.accepted_languages", "http.request.cookies", "http.request.headers", "http.request.method", "http.request.timestamp.sec", "http.request.timestamp.msec", "http.request.full_uri", "http.request.uri", "http.request.version", "raw.http.request.full_uri", "raw.http.request.headers", "raw.http.request.uri", "http.user_agent", "http.x_forwarded_for", "ip.src", "ip.src.lat", "ip.src.lon", "ip.src.asnum", "ip.src.city", "ip.src.country", "ip.src.continent", "ip.src.metro_code", "ip.src.postal_code", "ip.src.region", "ip.src.region_code", "ip.src.is_in_european_union", "ip.src.subdivision_1_iso_code", "ip.src.subdivision_2_iso_code", ...string[], "ssl"];
25
+ readonly allowedFields: readonly ["cf.edge.server_ip", "cf.edge.server_port", "cf.edge.client_port", "cf.edge.client_tcp", "cf.edge.l4.delivery_rate", "cf.hostname.metadata", "cf.zone.name", "cf.random_seed", "cf.ray_id", "cf.timings.client_quic_rtt_msec", "cf.timings.client_tcp_rtt_msec", "cf.tls_version", "cf.tls_cipher", "cf.tls_client_hello_length", "cf.tls_client_random", "cf.tls_client_extensions_sha1", "cf.tls_client_extensions_sha1_le", "cf.tls_client_ciphers_sha1", "cf.worker.upstream_zone", "http.cookie", "http.host", "http.referer", "http.request.accepted_languages", "http.request.cookies", "http.request.headers", "http.request.method", "http.request.timestamp.sec", "http.request.timestamp.msec", "http.request.full_uri", "http.request.uri", "http.request.version", "raw.http.request.full_uri", "raw.http.request.headers", "raw.http.request.uri", "http.user_agent", "http.x_forwarded_for", "ip.src", "ip.src.lat", "ip.src.lon", "ip.src.asnum", "ip.src.city", "ip.src.country", "ip.src.continent", "ip.src.metro_code", "ip.src.postal_code", "ip.src.region", "ip.src.region_code", "ip.src.is_in_european_union", "ip.src.subdivision_1_iso_code", "ip.src.subdivision_2_iso_code", "ssl", ...string[]];
26
26
  readonly allowedPrefixes: readonly ["cf.tls_client_auth.", "http.request.headers.", "http.request.uri.", "raw.http.request.headers.", "raw.http.request.uri."];
27
27
  };
28
28
  readonly 'url-rewrite-target': {
@@ -30,7 +30,7 @@ export declare const RULE_EXPRESSION_FIELD_AVAILABILITY_PRESETS: {
30
30
  readonly allowedPrefixes: readonly ["http.request.uri.", "http.request.headers."];
31
31
  };
32
32
  readonly 'logging-source-key': {
33
- readonly allowedFields: readonly ["cf.edge.server_ip", "cf.edge.server_port", "cf.edge.client_port", "cf.edge.client_tcp", "cf.edge.l4.delivery_rate", "cf.hostname.metadata", "cf.zone.name", "cf.random_seed", "cf.ray_id", "cf.timings.client_quic_rtt_msec", "cf.timings.client_tcp_rtt_msec", "cf.tls_version", "cf.tls_cipher", "cf.tls_client_hello_length", "cf.tls_client_random", "cf.tls_client_extensions_sha1", "cf.tls_client_extensions_sha1_le", "cf.tls_client_ciphers_sha1", "cf.worker.upstream_zone", "http.cookie", "http.host", "http.referer", "http.request.accepted_languages", "http.request.cookies", "http.request.headers", "http.request.method", "http.request.timestamp.sec", "http.request.timestamp.msec", "http.request.full_uri", "http.request.uri", "http.request.version", "raw.http.request.full_uri", "raw.http.request.headers", "raw.http.request.uri", "http.user_agent", "http.x_forwarded_for", "ip.src", "ip.src.lat", "ip.src.lon", "ip.src.asnum", "ip.src.city", "ip.src.country", "ip.src.continent", "ip.src.metro_code", "ip.src.postal_code", "ip.src.region", "ip.src.region_code", "ip.src.is_in_european_union", "ip.src.subdivision_1_iso_code", "ip.src.subdivision_2_iso_code", ...string[], "ssl", "cf.client.bot", "cf.verified_bot_category"];
33
+ readonly allowedFields: readonly ["cf.edge.server_ip", "cf.edge.server_port", "cf.edge.client_port", "cf.edge.client_tcp", "cf.edge.l4.delivery_rate", "cf.hostname.metadata", "cf.zone.name", "cf.random_seed", "cf.ray_id", "cf.timings.client_quic_rtt_msec", "cf.timings.client_tcp_rtt_msec", "cf.tls_version", "cf.tls_cipher", "cf.tls_client_hello_length", "cf.tls_client_random", "cf.tls_client_extensions_sha1", "cf.tls_client_extensions_sha1_le", "cf.tls_client_ciphers_sha1", "cf.worker.upstream_zone", "http.cookie", "http.host", "http.referer", "http.request.accepted_languages", "http.request.cookies", "http.request.headers", "http.request.method", "http.request.timestamp.sec", "http.request.timestamp.msec", "http.request.full_uri", "http.request.uri", "http.request.version", "raw.http.request.full_uri", "raw.http.request.headers", "raw.http.request.uri", "http.user_agent", "http.x_forwarded_for", "ip.src", "ip.src.lat", "ip.src.lon", "ip.src.asnum", "ip.src.city", "ip.src.country", "ip.src.continent", "ip.src.metro_code", "ip.src.postal_code", "ip.src.region", "ip.src.region_code", "ip.src.is_in_european_union", "ip.src.subdivision_1_iso_code", "ip.src.subdivision_2_iso_code", "ssl", ...string[], "cf.client.bot", "cf.verified_bot_category"];
34
34
  readonly allowedPrefixes: readonly ["cf.tls_client_auth.", "http.request.headers.", "http.request.uri.", "raw.http.request.headers.", "raw.http.request.uri.", "cf.bot_management."];
35
35
  };
36
36
  };
@@ -1 +1 @@
1
- {"version":3,"file":"field-availability.d.ts","sourceRoot":"","sources":["../../src/rule-evaluator/field-availability.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iBAAiB,CAAC;AAOtE,MAAM,WAAW,qCAAqC;IACrD,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,eAAe,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,gBAAgB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC,kBAAkB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACvC;AAED,MAAM,WAAW,oCAAoC;IACpD,MAAM,EAAE,8BAA8B,CAAC;IACvC,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,gBAAgB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACtC,kBAAkB,EAAE,SAAS,MAAM,EAAE,CAAC;CACtC;AAED,MAAM,WAAW,qCAAqC;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,OAAO,CAAC;CACd;AAED,UAAU,8CAA8C;IACvD,cAAc,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7D,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/D;AAqFD,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;CAa2D,CAAC;AAInH,eAAO,MAAM,iCAAiC,UACI,CAAC;AAInD,wBAAgB,sCAAsC,CACrD,MAAM,EAAE,8BAA8B,EACtC,MAAM,EAAE,KAAK,GAAG,qCAAqC,GAAG,SAAS,EACjE,OAAO,GAAE,8CAAmD,GAC1D,oCAAoC,GAAG,IAAI,CAqB7C;AAED,wBAAgB,8BAA8B,CAC7C,MAAM,EAAE,qCAAqC,EAC7C,KAAK,EAAE,oCAAoC,GACzC,OAAO,CAGT;AAED,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAErE;AAED,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAIxE"}
1
+ {"version":3,"file":"field-availability.d.ts","sourceRoot":"","sources":["../../src/rule-evaluator/field-availability.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iBAAiB,CAAC;AAOtE,MAAM,WAAW,qCAAqC;IACrD,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,eAAe,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,gBAAgB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC,kBAAkB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACvC;AAED,MAAM,WAAW,oCAAoC;IACpD,MAAM,EAAE,8BAA8B,CAAC;IACvC,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,gBAAgB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACtC,kBAAkB,EAAE,SAAS,MAAM,EAAE,CAAC;CACtC;AAED,MAAM,WAAW,qCAAqC;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,OAAO,CAAC;CACd;AAED,UAAU,8CAA8C;IACvD,cAAc,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7D,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/D;AA4FD,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;CAa2D,CAAC;AAInH,eAAO,MAAM,iCAAiC,UACI,CAAC;AAInD,wBAAgB,sCAAsC,CACrD,MAAM,EAAE,8BAA8B,EACtC,MAAM,EAAE,KAAK,GAAG,qCAAqC,GAAG,SAAS,EACjE,OAAO,GAAE,8CAAmD,GAC1D,oCAAoC,GAAG,IAAI,CAqB7C;AAED,wBAAgB,8BAA8B,CAC7C,MAAM,EAAE,qCAAqC,EAC7C,KAAK,EAAE,oCAAoC,GACzC,OAAO,CAGT;AAED,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAErE;AAED,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAIxE"}
@@ -1,5 +1,5 @@
1
- import { KNOWN_AVAILABLE_FIELDS, KNOWN_DEPRECATED_FIELDS, KNOWN_UNAVAILABLE_FIELDS, } from './fields.js';
2
- const URL_REWRITE_FILTER_ALLOWED_FIELDS = [
1
+ import { DEPRECATED_FIELD_REPLACEMENTS, KNOWN_AVAILABLE_FIELDS, KNOWN_UNAVAILABLE_FIELDS, } from './fields.js';
2
+ const URL_REWRITE_FILTER_CANONICAL_FIELDS = [
3
3
  'cf.edge.server_ip',
4
4
  'cf.edge.server_port',
5
5
  'cf.edge.client_port',
@@ -50,9 +50,15 @@ const URL_REWRITE_FILTER_ALLOWED_FIELDS = [
50
50
  'ip.src.is_in_european_union',
51
51
  'ip.src.subdivision_1_iso_code',
52
52
  'ip.src.subdivision_2_iso_code',
53
- ...KNOWN_DEPRECATED_FIELDS,
54
53
  'ssl',
55
54
  ];
55
+ const URL_REWRITE_FILTER_CANONICAL_FIELD_SET = new Set(URL_REWRITE_FILTER_CANONICAL_FIELDS);
56
+ const URL_REWRITE_FILTER_ALLOWED_FIELDS = [
57
+ ...URL_REWRITE_FILTER_CANONICAL_FIELDS,
58
+ ...Object.entries(DEPRECATED_FIELD_REPLACEMENTS)
59
+ .filter(([, replacement]) => URL_REWRITE_FILTER_CANONICAL_FIELD_SET.has(replacement))
60
+ .map(([field]) => field),
61
+ ];
56
62
  const URL_REWRITE_FILTER_ALLOWED_PREFIXES = [
57
63
  'cf.tls_client_auth.',
58
64
  'http.request.headers.',
@@ -1 +1 @@
1
- {"version":3,"file":"field-availability.js","sourceRoot":"","sources":["../../src/rule-evaluator/field-availability.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,GACxB,MAAM,aAAa,CAAC;AAiCrB,MAAM,iCAAiC,GAAG;IACzC,mBAAmB;IACnB,qBAAqB;IACrB,qBAAqB;IACrB,oBAAoB;IACpB,0BAA0B;IAC1B,sBAAsB;IACtB,cAAc;IACd,gBAAgB;IAChB,WAAW;IACX,iCAAiC;IACjC,gCAAgC;IAChC,gBAAgB;IAChB,eAAe;IACf,4BAA4B;IAC5B,sBAAsB;IACtB,+BAA+B;IAC/B,kCAAkC;IAClC,4BAA4B;IAC5B,yBAAyB;IACzB,aAAa;IACb,WAAW;IACX,cAAc;IACd,iCAAiC;IACjC,sBAAsB;IACtB,sBAAsB;IACtB,qBAAqB;IACrB,4BAA4B;IAC5B,6BAA6B;IAC7B,uBAAuB;IACvB,kBAAkB;IAClB,sBAAsB;IACtB,2BAA2B;IAC3B,0BAA0B;IAC1B,sBAAsB;IACtB,iBAAiB;IACjB,sBAAsB;IACtB,QAAQ;IACR,YAAY;IACZ,YAAY;IACZ,cAAc;IACd,aAAa;IACb,gBAAgB;IAChB,kBAAkB;IAClB,mBAAmB;IACnB,oBAAoB;IACpB,eAAe;IACf,oBAAoB;IACpB,6BAA6B;IAC7B,+BAA+B;IAC/B,+BAA+B;IAC/B,GAAG,uBAAuB;IAC1B,KAAK;C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D;IAEvD,KAAK,MAAM,MAAM,IAAI,QAAQ,EAAE,CAAC;QAC/B,IAAI,gCAAgC,CAAC,MAAM,CAAC;YAAE,SAAS;QACvD,OAAO,CAAC,eAAe,EAAE,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;IAC/C,CAAC;AACF,CAAC;AAED,SAAS,6BAA6B,CACrC,MAA6C,EAC7C,MAA2B,EAC3B,QAA2B;IAE3B,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IACzC,IAAI,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;QAAE,OAAO,IAAI,CAAC;IACzE,IAAI,MAAM,CAAC,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IACrF,OAAO,KAAK,CAAC;AACd,CAAC"}
1
+ {"version":3,"file":"field-availability.js","sourceRoot":"","sources":["../../src/rule-evaluator/field-availability.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,6BAA6B,EAC7B,sBAAsB,EACtB,wBAAwB,GACxB,MAAM,aAAa,CAAC;AAiCrB,MAAM,mCAAmC,GAAG;IAC3C,mBAAmB;IACnB,qBAAqB;IACrB,qBAAqB;IACrB,oBAAoB;IACpB,0BAA0B;IAC1B,sBAAsB;IACtB,cAAc;IACd,gBAAgB;IAChB,WAAW;IACX,iCAAiC;IACjC,gCAAgC;IAChC,gBAAgB;IAChB,eAAe;IACf,4BAA4B;IAC5B,sBAAsB;IACtB,+BAA+B;IAC/B,kCAAkC;IAClC,4BAA4B;IAC5B,yBAAyB;IACzB,aAAa;IACb,WAAW;IACX,cAAc;IACd,iCAAiC;IACjC,sBAAsB;IACtB,sBAAsB;IACtB,qBAAqB;IACrB,4B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IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IACrF,OAAO,KAAK,CAAC;AACd,CAAC"}
@@ -16,7 +16,7 @@ export interface RuleExpressionFieldDescription {
16
16
  keywords: readonly string[];
17
17
  /** Cloudflare plan label, such as "Enterprise add-on", when documented. */
18
18
  planInfoLabel?: string;
19
- /** Marks generated descriptions for deprecated field aliases. */
19
+ /** Marks generated descriptions for deprecated fields and aliases. */
20
20
  deprecated?: boolean;
21
21
  /** Preferred replacement field for a deprecated alias. */
22
22
  replacement?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"field-descriptions.d.ts","sourceRoot":"","sources":["../../src/rule-evaluator/field-descriptions.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,kCAAkC,IAAI,4CAA4C,EAClF,mCAAmC,EACnC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAIN,KAAK,qCAAqC,EAC1C,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEN,KAAK,8BAA8B,EACnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,KAAK,8BAA8B,EAAE,MAAM,iBAAiB,CAAC;AAEtE;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC9C,gEAAgE;IAChE,OAAO,EAAE,MAAM,CAAC;IAChB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mDAAmD;IACnD,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9B,4DAA4D;IAC5D,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,2EAA2E;IAC3E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iEAAiE;IACjE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,0DAA0D;IAC1D,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,2BAA2B,GACpC;IAAE,IAAI,EAAE,QAAQ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,CAAC;KAChC;CACD,CAAC,IAAI,CAAC,CAAC;AAER,MAAM,WAAW,oCAAoC;IACpD,6EAA6E;IAC7E,MAAM,CAAC,EAAE,8BAA8B,CAAC;IACxC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,KAAK,GAAG,qCAAqC,CAAC;CAClE;AAKD;;;GAGG;AACH,wBAAgB,kCAAkC,CACjD,MAAM,GAAE,oCAAyC,GAC/C,SAAS,mCAAmC,EAAE,CAShD;AAED,OAAO,EAAE,mCAAmC,EAAE,CAAC"}
1
+ {"version":3,"file":"field-descriptions.d.ts","sourceRoot":"","sources":["../../src/rule-evaluator/field-descriptions.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,kCAAkC,IAAI,4CAA4C,EAClF,mCAAmC,EACnC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAIN,KAAK,qCAAqC,EAC1C,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEN,KAAK,8BAA8B,EACnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,KAAK,8BAA8B,EAAE,MAAM,iBAAiB,CAAC;AAEtE;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC9C,gEAAgE;IAChE,OAAO,EAAE,MAAM,CAAC;IAChB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mDAAmD;IACnD,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9B,4DAA4D;IAC5D,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,2EAA2E;IAC3E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sEAAsE;IACtE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,0DAA0D;IAC1D,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,2BAA2B,GACpC;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAChC;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC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C7E,MAAM,CAAC,EAAE,8BAA8B,CAAC;IACxC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,KAAK,GAAG,qCAAqC,CAAC;CAClE;AAKD;;;GAGG;AACH,wBAAgB,kCAAkC,CACjD,MAAM,GAAE,oCAAyC,GAC/C,SAAS,mCAAmC,EAAE,CAShD;AAED,OAAO,EAAE,mCAAmC,EAAE,CAAC"}
@@ -14,10 +14,12 @@ export declare const RULE_EXPRESSION_FIELD_DESCRIPTIONS: {
14
14
  readonly keywords: readonly ["request", "api shield", "client", "visitor"];
15
15
  };
16
16
  readonly "cf.api_gateway.request_violates_schema": {
17
- readonly summary: "Indicates whether the request violated the schema assigned to the respective saved endpoint.";
17
+ readonly summary: "This field is deprecated. Use cf.schema_validation.uploaded.violated instead.";
18
18
  readonly dataType: "Boolean";
19
19
  readonly categories: readonly ["Request"];
20
20
  readonly keywords: readonly ["request", "api shield", "client", "visitor"];
21
+ readonly deprecated: true;
22
+ readonly replacement: "cf.schema_validation.uploaded.violated";
21
23
  };
22
24
  readonly "cf.bot_management.corporate_proxy": {
23
25
  readonly summary: "Indicates whether the incoming request comes from an identified Enterprise-only cloud-based corporate proxy or secure web gateway.";
@@ -62,7 +64,7 @@ export declare const RULE_EXPRESSION_FIELD_DESCRIPTIONS: {
62
64
  readonly planInfoLabel: "Enterprise add-on";
63
65
  };
64
66
  readonly "cf.bot_management.signed_agent": {
65
- readonly summary: "Indicates whether or not the request originated from a known signed agent.";
67
+ readonly summary: "Indicates whether or not the request originated from a known agent that self-identifies with Web Bot Auth, now classified as a verified bot or agent labeled as intermediary.";
66
68
  readonly dataType: "Boolean";
67
69
  readonly categories: readonly ["Request", "Bots"];
68
70
  readonly keywords: readonly ["request", "bots", "client", "visitor", "agent", "web bot auth"];
@@ -75,6 +77,13 @@ export declare const RULE_EXPRESSION_FIELD_DESCRIPTIONS: {
75
77
  readonly keywords: readonly ["request", "bots", "client", "visitor"];
76
78
  readonly planInfoLabel: "Enterprise add-on";
77
79
  };
80
+ readonly "cf.bot_management.tags": {
81
+ readonly summary: "Provides the tags associated with bot traffic.";
82
+ readonly dataType: "Array<String>";
83
+ readonly categories: readonly ["Request", "Bots"];
84
+ readonly keywords: readonly ["request", "bots", "client", "visitor", "tags"];
85
+ readonly planInfoLabel: "Enterprise add-on";
86
+ };
78
87
  readonly "cf.bot_management.verified_bot": {
79
88
  readonly summary: "Indicates whether the request originated from a known good bot or crawler.";
80
89
  readonly dataType: "Boolean";
@@ -210,6 +219,90 @@ export declare const RULE_EXPRESSION_FIELD_DESCRIPTIONS: {
210
219
  readonly categories: readonly ["Response"];
211
220
  readonly keywords: readonly ["response", "cloudflare"];
212
221
  };
222
+ readonly "cf.schema_validation.learned.body.violated_parameters": {
223
+ readonly summary: "The JSON path of a detected request body violation of the learned schema.";
224
+ readonly dataType: "Array<String>";
225
+ readonly categories: readonly ["Request"];
226
+ readonly keywords: readonly ["request", "schema validation", "learned profile", "body", "parameter"];
227
+ };
228
+ readonly "cf.schema_validation.learned.cookies.violated_parameters": {
229
+ readonly summary: "Names of cookies detected as violating the learned schema.";
230
+ readonly dataType: "Array<String>";
231
+ readonly categories: readonly ["Request"];
232
+ readonly keywords: readonly ["request", "schema validation", "learned profile", "cookie", "parameter"];
233
+ };
234
+ readonly "cf.schema_validation.learned.headers.violated_parameters": {
235
+ readonly summary: "Names of request headers detected as violating the learned schema.";
236
+ readonly dataType: "Array<String>";
237
+ readonly categories: readonly ["Request"];
238
+ readonly keywords: readonly ["request", "schema validation", "learned profile", "header", "parameter"];
239
+ };
240
+ readonly "cf.schema_validation.learned.path.violated_parameters": {
241
+ readonly summary: "Names of path parameters detected as violating the learned schema.";
242
+ readonly dataType: "Array<String>";
243
+ readonly categories: readonly ["Request"];
244
+ readonly keywords: readonly ["request", "schema validation", "learned profile", "path", "parameter"];
245
+ };
246
+ readonly "cf.schema_validation.learned.query.undeclared_parameters": {
247
+ readonly summary: "Names of query parameters detected in the request but not declared in the learned schema.";
248
+ readonly dataType: "Array<String>";
249
+ readonly categories: readonly ["Request"];
250
+ readonly keywords: readonly ["request", "schema validation", "learned profile", "query", "undeclared parameter"];
251
+ };
252
+ readonly "cf.schema_validation.learned.query.violated_parameters": {
253
+ readonly summary: "Names of query parameters detected as violating the learned schema.";
254
+ readonly dataType: "Array<String>";
255
+ readonly categories: readonly ["Request"];
256
+ readonly keywords: readonly ["request", "schema validation", "learned profile", "query", "parameter"];
257
+ };
258
+ readonly "cf.schema_validation.learned.violated": {
259
+ readonly summary: "Returns true when an evaluated request violates the learned profile.";
260
+ readonly dataType: "Boolean";
261
+ readonly categories: readonly ["Request"];
262
+ readonly keywords: readonly ["request", "schema validation", "learned profile"];
263
+ };
264
+ readonly "cf.schema_validation.uploaded.body.violated_parameters": {
265
+ readonly summary: "The JSON path of a detected request body violation of the uploaded schema.";
266
+ readonly dataType: "Array<String>";
267
+ readonly categories: readonly ["Request"];
268
+ readonly keywords: readonly ["request", "schema validation", "uploaded schema", "body", "parameter"];
269
+ };
270
+ readonly "cf.schema_validation.uploaded.cookies.violated_parameters": {
271
+ readonly summary: "Names of cookies detected as violating the uploaded schema.";
272
+ readonly dataType: "Array<String>";
273
+ readonly categories: readonly ["Request"];
274
+ readonly keywords: readonly ["request", "schema validation", "uploaded schema", "cookie", "parameter"];
275
+ };
276
+ readonly "cf.schema_validation.uploaded.headers.violated_parameters": {
277
+ readonly summary: "Names of request headers detected as violating the uploaded schema.";
278
+ readonly dataType: "Array<String>";
279
+ readonly categories: readonly ["Request"];
280
+ readonly keywords: readonly ["request", "schema validation", "uploaded schema", "header", "parameter"];
281
+ };
282
+ readonly "cf.schema_validation.uploaded.path.violated_parameters": {
283
+ readonly summary: "Names of path parameters detected as violating the uploaded schema.";
284
+ readonly dataType: "Array<String>";
285
+ readonly categories: readonly ["Request"];
286
+ readonly keywords: readonly ["request", "schema validation", "uploaded schema", "path", "parameter"];
287
+ };
288
+ readonly "cf.schema_validation.uploaded.query.undeclared_parameters": {
289
+ readonly summary: "Names of query parameters detected in the request but not declared in the uploaded schema.";
290
+ readonly dataType: "Array<String>";
291
+ readonly categories: readonly ["Request"];
292
+ readonly keywords: readonly ["request", "schema validation", "uploaded schema", "query", "undeclared parameter"];
293
+ };
294
+ readonly "cf.schema_validation.uploaded.query.violated_parameters": {
295
+ readonly summary: "Names of query parameters detected as violating the uploaded schema.";
296
+ readonly dataType: "Array<String>";
297
+ readonly categories: readonly ["Request"];
298
+ readonly keywords: readonly ["request", "schema validation", "uploaded schema", "query", "parameter"];
299
+ };
300
+ readonly "cf.schema_validation.uploaded.violated": {
301
+ readonly summary: "Returns true when an evaluated request violates the supplied schema.";
302
+ readonly dataType: "Boolean";
303
+ readonly categories: readonly ["Request"];
304
+ readonly keywords: readonly ["request", "schema validation", "uploaded schema"];
305
+ };
213
306
  readonly "cf.threat_score": {
214
307
  readonly summary: "Represents a Cloudflare threat score.";
215
308
  readonly dataType: "Number";
@@ -483,6 +576,13 @@ export declare const RULE_EXPRESSION_FIELD_DESCRIPTIONS: {
483
576
  readonly keywords: readonly ["request", "cloudflare", "content scanning", "malicious uploads", "client", "visitor"];
484
577
  readonly planInfoLabel: "Enterprise add-on";
485
578
  };
579
+ readonly "cf.waf.content_scan.truncated": {
580
+ readonly summary: "Indicates whether the request body exceeded the size limit for content scanning and was truncated before scanning.";
581
+ readonly dataType: "Boolean";
582
+ readonly categories: readonly ["Request"];
583
+ readonly keywords: readonly ["request", "cloudflare", "content scanning", "malicious uploads", "client", "visitor"];
584
+ readonly planInfoLabel: "Enterprise add-on";
585
+ };
486
586
  readonly "cf.waf.credential_check.password_leaked": {
487
587
  readonly summary: "Indicates whether the password detected in the request was previously leaked.";
488
588
  readonly dataType: "Boolean";
@@ -545,6 +645,33 @@ export declare const RULE_EXPRESSION_FIELD_DESCRIPTIONS: {
545
645
  readonly keywords: readonly ["request", "cloudflare", "attack score", "waf score", "client", "visitor"];
546
646
  readonly planInfoLabel: "Enterprise";
547
647
  };
648
+ readonly "cf.waf.signature.request.categories": {
649
+ readonly summary: "An array of categories associated with attack signatures that matched the request.";
650
+ readonly dataType: "Array<String>";
651
+ readonly categories: readonly ["Request"];
652
+ readonly keywords: readonly ["request", "cloudflare", "waf", "attack signature", "category"];
653
+ readonly planInfoLabel: "Early Access";
654
+ };
655
+ readonly "cf.waf.signature.request.confidence": {
656
+ readonly summary: "An array of confidence values associated with attack signatures that matched the request.";
657
+ readonly dataType: "Array<String>";
658
+ readonly categories: readonly ["Request"];
659
+ readonly keywords: readonly ["request", "cloudflare", "waf", "attack signature", "confidence"];
660
+ readonly planInfoLabel: "Early Access";
661
+ };
662
+ readonly "cf.waf.signature.request.refs": {
663
+ readonly summary: "An array containing up to 10 Refs for attack signatures that matched the request.";
664
+ readonly dataType: "Array<String>";
665
+ readonly categories: readonly ["Request"];
666
+ readonly keywords: readonly ["request", "cloudflare", "waf", "attack signature", "ref", "rule id"];
667
+ readonly planInfoLabel: "Early Access";
668
+ };
669
+ readonly "cf.web_asset.labels": {
670
+ readonly summary: "An array of labels associated with the operation matched by the request.";
671
+ readonly dataType: "Array<String>";
672
+ readonly categories: readonly ["Request"];
673
+ readonly keywords: readonly ["request", "operation", "endpoint", "label", "web assets"];
674
+ };
548
675
  readonly "cf.worker.upstream_zone": {
549
676
  readonly summary: "Identifies whether a request comes from a worker or not.";
550
677
  readonly dataType: "String";
@@ -1 +1 @@
1
- {"version":3,"file":"field-descriptions.generated.d.ts","sourceRoot":"","sources":["../../src/rule-evaluator/field-descriptions.generated.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,mCAAmC,qHAAqH,CAAC;AAEtK,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8iG8B,CAAC"}
@@ -35,7 +35,7 @@ export const RULE_EXPRESSION_FIELD_DESCRIPTIONS = {
35
35
  ]
36
36
  },
37
37
  "cf.api_gateway.request_violates_schema": {
38
- "summary": "Indicates whether the request violated the schema assigned to the respective saved endpoint.",
38
+ "summary": "This field is deprecated. Use cf.schema_validation.uploaded.violated instead.",
39
39
  "dataType": "Boolean",
40
40
  "categories": [
41
41
  "Request"
@@ -45,7 +45,9 @@ export const RULE_EXPRESSION_FIELD_DESCRIPTIONS = {
45
45
  "api shield",
46
46
  "client",
47
47
  "visitor"
48
- ]
48
+ ],
49
+ "deprecated": true,
50
+ "replacement": "cf.schema_validation.uploaded.violated"
49
51
  },
50
52
  "cf.bot_management.corporate_proxy": {
51
53
  "summary": "Indicates whether the incoming request comes from an identified Enterprise-only cloud-based corporate proxy or secure web gateway.",
@@ -139,7 +141,7 @@ export const RULE_EXPRESSION_FIELD_DESCRIPTIONS = {
139
141
  "planInfoLabel": "Enterprise add-on"
140
142
  },
141
143
  "cf.bot_management.signed_agent": {
142
- "summary": "Indicates whether or not the request originated from a known signed agent.",
144
+ "summary": "Indicates whether or not the request originated from a known agent that self-identifies with Web Bot Auth, now classified as a verified bot or agent labeled as intermediary.",
143
145
  "dataType": "Boolean",
144
146
  "categories": [
145
147
  "Request",
@@ -170,6 +172,22 @@ export const RULE_EXPRESSION_FIELD_DESCRIPTIONS = {
170
172
  ],
171
173
  "planInfoLabel": "Enterprise add-on"
172
174
  },
175
+ "cf.bot_management.tags": {
176
+ "summary": "Provides the tags associated with bot traffic.",
177
+ "dataType": "Array<String>",
178
+ "categories": [
179
+ "Request",
180
+ "Bots"
181
+ ],
182
+ "keywords": [
183
+ "request",
184
+ "bots",
185
+ "client",
186
+ "visitor",
187
+ "tags"
188
+ ],
189
+ "planInfoLabel": "Enterprise add-on"
190
+ },
173
191
  "cf.bot_management.verified_bot": {
174
192
  "summary": "Indicates whether the request originated from a known good bot or crawler.",
175
193
  "dataType": "Boolean",
@@ -463,6 +481,198 @@ export const RULE_EXPRESSION_FIELD_DESCRIPTIONS = {
463
481
  "cloudflare"
464
482
  ]
465
483
  },
484
+ "cf.schema_validation.learned.body.violated_parameters": {
485
+ "summary": "The JSON path of a detected request body violation of the learned schema.",
486
+ "dataType": "Array<String>",
487
+ "categories": [
488
+ "Request"
489
+ ],
490
+ "keywords": [
491
+ "request",
492
+ "schema validation",
493
+ "learned profile",
494
+ "body",
495
+ "parameter"
496
+ ]
497
+ },
498
+ "cf.schema_validation.learned.cookies.violated_parameters": {
499
+ "summary": "Names of cookies detected as violating the learned schema.",
500
+ "dataType": "Array<String>",
501
+ "categories": [
502
+ "Request"
503
+ ],
504
+ "keywords": [
505
+ "request",
506
+ "schema validation",
507
+ "learned profile",
508
+ "cookie",
509
+ "parameter"
510
+ ]
511
+ },
512
+ "cf.schema_validation.learned.headers.violated_parameters": {
513
+ "summary": "Names of request headers detected as violating the learned schema.",
514
+ "dataType": "Array<String>",
515
+ "categories": [
516
+ "Request"
517
+ ],
518
+ "keywords": [
519
+ "request",
520
+ "schema validation",
521
+ "learned profile",
522
+ "header",
523
+ "parameter"
524
+ ]
525
+ },
526
+ "cf.schema_validation.learned.path.violated_parameters": {
527
+ "summary": "Names of path parameters detected as violating the learned schema.",
528
+ "dataType": "Array<String>",
529
+ "categories": [
530
+ "Request"
531
+ ],
532
+ "keywords": [
533
+ "request",
534
+ "schema validation",
535
+ "learned profile",
536
+ "path",
537
+ "parameter"
538
+ ]
539
+ },
540
+ "cf.schema_validation.learned.query.undeclared_parameters": {
541
+ "summary": "Names of query parameters detected in the request but not declared in the learned schema.",
542
+ "dataType": "Array<String>",
543
+ "categories": [
544
+ "Request"
545
+ ],
546
+ "keywords": [
547
+ "request",
548
+ "schema validation",
549
+ "learned profile",
550
+ "query",
551
+ "undeclared parameter"
552
+ ]
553
+ },
554
+ "cf.schema_validation.learned.query.violated_parameters": {
555
+ "summary": "Names of query parameters detected as violating the learned schema.",
556
+ "dataType": "Array<String>",
557
+ "categories": [
558
+ "Request"
559
+ ],
560
+ "keywords": [
561
+ "request",
562
+ "schema validation",
563
+ "learned profile",
564
+ "query",
565
+ "parameter"
566
+ ]
567
+ },
568
+ "cf.schema_validation.learned.violated": {
569
+ "summary": "Returns true when an evaluated request violates the learned profile.",
570
+ "dataType": "Boolean",
571
+ "categories": [
572
+ "Request"
573
+ ],
574
+ "keywords": [
575
+ "request",
576
+ "schema validation",
577
+ "learned profile"
578
+ ]
579
+ },
580
+ "cf.schema_validation.uploaded.body.violated_parameters": {
581
+ "summary": "The JSON path of a detected request body violation of the uploaded schema.",
582
+ "dataType": "Array<String>",
583
+ "categories": [
584
+ "Request"
585
+ ],
586
+ "keywords": [
587
+ "request",
588
+ "schema validation",
589
+ "uploaded schema",
590
+ "body",
591
+ "parameter"
592
+ ]
593
+ },
594
+ "cf.schema_validation.uploaded.cookies.violated_parameters": {
595
+ "summary": "Names of cookies detected as violating the uploaded schema.",
596
+ "dataType": "Array<String>",
597
+ "categories": [
598
+ "Request"
599
+ ],
600
+ "keywords": [
601
+ "request",
602
+ "schema validation",
603
+ "uploaded schema",
604
+ "cookie",
605
+ "parameter"
606
+ ]
607
+ },
608
+ "cf.schema_validation.uploaded.headers.violated_parameters": {
609
+ "summary": "Names of request headers detected as violating the uploaded schema.",
610
+ "dataType": "Array<String>",
611
+ "categories": [
612
+ "Request"
613
+ ],
614
+ "keywords": [
615
+ "request",
616
+ "schema validation",
617
+ "uploaded schema",
618
+ "header",
619
+ "parameter"
620
+ ]
621
+ },
622
+ "cf.schema_validation.uploaded.path.violated_parameters": {
623
+ "summary": "Names of path parameters detected as violating the uploaded schema.",
624
+ "dataType": "Array<String>",
625
+ "categories": [
626
+ "Request"
627
+ ],
628
+ "keywords": [
629
+ "request",
630
+ "schema validation",
631
+ "uploaded schema",
632
+ "path",
633
+ "parameter"
634
+ ]
635
+ },
636
+ "cf.schema_validation.uploaded.query.undeclared_parameters": {
637
+ "summary": "Names of query parameters detected in the request but not declared in the uploaded schema.",
638
+ "dataType": "Array<String>",
639
+ "categories": [
640
+ "Request"
641
+ ],
642
+ "keywords": [
643
+ "request",
644
+ "schema validation",
645
+ "uploaded schema",
646
+ "query",
647
+ "undeclared parameter"
648
+ ]
649
+ },
650
+ "cf.schema_validation.uploaded.query.violated_parameters": {
651
+ "summary": "Names of query parameters detected as violating the uploaded schema.",
652
+ "dataType": "Array<String>",
653
+ "categories": [
654
+ "Request"
655
+ ],
656
+ "keywords": [
657
+ "request",
658
+ "schema validation",
659
+ "uploaded schema",
660
+ "query",
661
+ "parameter"
662
+ ]
663
+ },
664
+ "cf.schema_validation.uploaded.violated": {
665
+ "summary": "Returns true when an evaluated request violates the supplied schema.",
666
+ "dataType": "Boolean",
667
+ "categories": [
668
+ "Request"
669
+ ],
670
+ "keywords": [
671
+ "request",
672
+ "schema validation",
673
+ "uploaded schema"
674
+ ]
675
+ },
466
676
  "cf.threat_score": {
467
677
  "summary": "Represents a Cloudflare threat score.",
468
678
  "dataType": "Number",
@@ -1144,6 +1354,22 @@ export const RULE_EXPRESSION_FIELD_DESCRIPTIONS = {
1144
1354
  ],
1145
1355
  "planInfoLabel": "Enterprise add-on"
1146
1356
  },
1357
+ "cf.waf.content_scan.truncated": {
1358
+ "summary": "Indicates whether the request body exceeded the size limit for content scanning and was truncated before scanning.",
1359
+ "dataType": "Boolean",
1360
+ "categories": [
1361
+ "Request"
1362
+ ],
1363
+ "keywords": [
1364
+ "request",
1365
+ "cloudflare",
1366
+ "content scanning",
1367
+ "malicious uploads",
1368
+ "client",
1369
+ "visitor"
1370
+ ],
1371
+ "planInfoLabel": "Enterprise add-on"
1372
+ },
1147
1373
  "cf.waf.credential_check.password_leaked": {
1148
1374
  "summary": "Indicates whether the password detected in the request was previously leaked.",
1149
1375
  "dataType": "Boolean",
@@ -1288,6 +1514,66 @@ export const RULE_EXPRESSION_FIELD_DESCRIPTIONS = {
1288
1514
  ],
1289
1515
  "planInfoLabel": "Enterprise"
1290
1516
  },
1517
+ "cf.waf.signature.request.categories": {
1518
+ "summary": "An array of categories associated with attack signatures that matched the request.",
1519
+ "dataType": "Array<String>",
1520
+ "categories": [
1521
+ "Request"
1522
+ ],
1523
+ "keywords": [
1524
+ "request",
1525
+ "cloudflare",
1526
+ "waf",
1527
+ "attack signature",
1528
+ "category"
1529
+ ],
1530
+ "planInfoLabel": "Early Access"
1531
+ },
1532
+ "cf.waf.signature.request.confidence": {
1533
+ "summary": "An array of confidence values associated with attack signatures that matched the request.",
1534
+ "dataType": "Array<String>",
1535
+ "categories": [
1536
+ "Request"
1537
+ ],
1538
+ "keywords": [
1539
+ "request",
1540
+ "cloudflare",
1541
+ "waf",
1542
+ "attack signature",
1543
+ "confidence"
1544
+ ],
1545
+ "planInfoLabel": "Early Access"
1546
+ },
1547
+ "cf.waf.signature.request.refs": {
1548
+ "summary": "An array containing up to 10 Refs for attack signatures that matched the request.",
1549
+ "dataType": "Array<String>",
1550
+ "categories": [
1551
+ "Request"
1552
+ ],
1553
+ "keywords": [
1554
+ "request",
1555
+ "cloudflare",
1556
+ "waf",
1557
+ "attack signature",
1558
+ "ref",
1559
+ "rule id"
1560
+ ],
1561
+ "planInfoLabel": "Early Access"
1562
+ },
1563
+ "cf.web_asset.labels": {
1564
+ "summary": "An array of labels associated with the operation matched by the request.",
1565
+ "dataType": "Array<String>",
1566
+ "categories": [
1567
+ "Request"
1568
+ ],
1569
+ "keywords": [
1570
+ "request",
1571
+ "operation",
1572
+ "endpoint",
1573
+ "label",
1574
+ "web assets"
1575
+ ]
1576
+ },
1291
1577
  "cf.worker.upstream_zone": {
1292
1578
  "summary": "Identifies whether a request comes from a worker or not.",
1293
1579
  "dataType": "String",