@libreflare/worker-runtime 0.10.5 → 0.10.6
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.
- package/README.md +26 -12
- package/dist/rule-evaluator/constants.d.ts +1 -1
- package/dist/rule-evaluator/constants.d.ts.map +1 -1
- package/dist/rule-evaluator/constants.js +5 -0
- package/dist/rule-evaluator/constants.js.map +1 -1
- package/dist/rule-evaluator/country-codes.generated.js +1 -1
- package/dist/rule-evaluator/diagnostics.d.ts +1 -1
- package/dist/rule-evaluator/diagnostics.d.ts.map +1 -1
- package/dist/rule-evaluator/diagnostics.js +5 -0
- package/dist/rule-evaluator/diagnostics.js.map +1 -1
- package/dist/rule-evaluator/edge-field-gaps.d.ts.map +1 -1
- package/dist/rule-evaluator/edge-field-gaps.js +27 -4
- package/dist/rule-evaluator/edge-field-gaps.js.map +1 -1
- package/dist/rule-evaluator/engine-observations.generated.d.ts +38 -1
- package/dist/rule-evaluator/engine-observations.generated.d.ts.map +1 -1
- package/dist/rule-evaluator/engine-observations.generated.js +19 -2
- package/dist/rule-evaluator/engine-observations.generated.js.map +1 -1
- package/dist/rule-evaluator/explain.js +2 -2
- package/dist/rule-evaluator/explain.js.map +1 -1
- package/dist/rule-evaluator/function-descriptions.d.ts +2 -0
- package/dist/rule-evaluator/function-descriptions.d.ts.map +1 -1
- package/dist/rule-evaluator/function-descriptions.generated.d.ts +131 -15
- package/dist/rule-evaluator/function-descriptions.generated.d.ts.map +1 -1
- package/dist/rule-evaluator/function-descriptions.generated.js +1173 -341
- package/dist/rule-evaluator/function-descriptions.generated.js.map +1 -1
- package/dist/rule-evaluator/function-descriptions.js.map +1 -1
- package/dist/rule-evaluator/function-signature-validation.d.ts.map +1 -1
- package/dist/rule-evaluator/function-signature-validation.js +33 -3
- package/dist/rule-evaluator/function-signature-validation.js.map +1 -1
- package/dist/rule-evaluator/functions.d.ts.map +1 -1
- package/dist/rule-evaluator/functions.js +101 -16
- package/dist/rule-evaluator/functions.js.map +1 -1
- package/dist/rule-evaluator/minifier.d.ts +9 -0
- package/dist/rule-evaluator/minifier.d.ts.map +1 -1
- package/dist/rule-evaluator/minifier.js +23 -0
- package/dist/rule-evaluator/minifier.js.map +1 -1
- package/dist/rule-evaluator/operators.d.ts.map +1 -1
- package/dist/rule-evaluator/operators.js +15 -6
- package/dist/rule-evaluator/operators.js.map +1 -1
- package/dist/rule-evaluator/parse-cache.d.ts +3 -1
- package/dist/rule-evaluator/parse-cache.d.ts.map +1 -1
- package/dist/rule-evaluator/parse-cache.js +4 -0
- package/dist/rule-evaluator/parse-cache.js.map +1 -1
- package/dist/rule-evaluator/parser.d.ts +7 -1
- package/dist/rule-evaluator/parser.d.ts.map +1 -1
- package/dist/rule-evaluator/parser.js +14 -0
- package/dist/rule-evaluator/parser.js.map +1 -1
- package/dist/rule-evaluator/quantifier.d.ts +2 -0
- package/dist/rule-evaluator/quantifier.d.ts.map +1 -1
- package/dist/rule-evaluator/quantifier.js +18 -9
- package/dist/rule-evaluator/quantifier.js.map +1 -1
- package/dist/rule-evaluator/validation.d.ts +1 -0
- package/dist/rule-evaluator/validation.d.ts.map +1 -1
- package/dist/rule-evaluator/validation.js +103 -19
- package/dist/rule-evaluator/validation.js.map +1 -1
- package/package.json +1 -1
|
@@ -247,9 +247,9 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
247
247
|
]
|
|
248
248
|
},
|
|
249
249
|
"encode_hex": {
|
|
250
|
-
"summary": "Encodes
|
|
251
|
-
"signature": "encode_hex(input String | Bytes):
|
|
252
|
-
"returnType": "
|
|
250
|
+
"summary": "Encodes input as lowercase hexadecimal text, with two characters per byte. The input must be a field or a function result, not a literal.",
|
|
251
|
+
"signature": "encode_hex(input String | Bytes): Bytes",
|
|
252
|
+
"returnType": "Bytes",
|
|
253
253
|
"parameters": [
|
|
254
254
|
{
|
|
255
255
|
"name": "input",
|
|
@@ -328,6 +328,36 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
328
328
|
"Transformation functions"
|
|
329
329
|
]
|
|
330
330
|
},
|
|
331
|
+
"format_date": {
|
|
332
|
+
"summary": "Formats Unix time in seconds as UTC text. Use http.request.timestamp.sec to generate a date from the request timestamp. You can also provide a literal integer.",
|
|
333
|
+
"signature": "format_date(timestamp Integer, format String): Bytes",
|
|
334
|
+
"returnType": "Bytes",
|
|
335
|
+
"parameters": [
|
|
336
|
+
{
|
|
337
|
+
"name": "timestamp",
|
|
338
|
+
"types": [
|
|
339
|
+
"Integer"
|
|
340
|
+
],
|
|
341
|
+
"acceptsFieldUsageKinds": [
|
|
342
|
+
"scalar"
|
|
343
|
+
],
|
|
344
|
+
"allowedFields": [
|
|
345
|
+
"http.request.timestamp.sec"
|
|
346
|
+
]
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"name": "format",
|
|
350
|
+
"types": [
|
|
351
|
+
"String"
|
|
352
|
+
],
|
|
353
|
+
"literal": true,
|
|
354
|
+
"dateFormat": true
|
|
355
|
+
}
|
|
356
|
+
],
|
|
357
|
+
"categories": [
|
|
358
|
+
"Transformation functions"
|
|
359
|
+
]
|
|
360
|
+
},
|
|
331
361
|
"has_key": {
|
|
332
362
|
"summary": "Returns true if the key specified in the second argument, which can be a literal or a dynamic string, is an existing key in the map provided as first argument; returns false otherwise.",
|
|
333
363
|
"signature": "has_key(map: Map<T>, key: String): Boolean",
|
|
@@ -423,13 +453,13 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
423
453
|
"Transformation functions"
|
|
424
454
|
]
|
|
425
455
|
},
|
|
426
|
-
"
|
|
427
|
-
"summary": "Computes
|
|
428
|
-
"signature": "
|
|
456
|
+
"hmac_md5": {
|
|
457
|
+
"summary": "Computes the HMAC-MD5 of input using key. Returns a raw 16-byte digest.",
|
|
458
|
+
"signature": "hmac_md5(input String | Bytes, key String | Bytes): Bytes",
|
|
429
459
|
"returnType": "Bytes",
|
|
430
460
|
"parameters": [
|
|
431
461
|
{
|
|
432
|
-
"name": "
|
|
462
|
+
"name": "input",
|
|
433
463
|
"types": [
|
|
434
464
|
"String",
|
|
435
465
|
"Bytes"
|
|
@@ -464,6 +494,7 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
464
494
|
"http.request.jwt.claims.sub",
|
|
465
495
|
"http.request.jwt.claims.sub.names",
|
|
466
496
|
"http.request.jwt.claims.sub.values",
|
|
497
|
+
"http.request.method",
|
|
467
498
|
"http.request.timestamp.sec",
|
|
468
499
|
"http.request.uri",
|
|
469
500
|
"http.request.uri.args",
|
|
@@ -487,7 +518,7 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
487
518
|
]
|
|
488
519
|
},
|
|
489
520
|
{
|
|
490
|
-
"name": "
|
|
521
|
+
"name": "key",
|
|
491
522
|
"types": [
|
|
492
523
|
"String",
|
|
493
524
|
"Bytes"
|
|
@@ -520,6 +551,7 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
520
551
|
"http.request.jwt.claims.sub",
|
|
521
552
|
"http.request.jwt.claims.sub.names",
|
|
522
553
|
"http.request.jwt.claims.sub.values",
|
|
554
|
+
"http.request.method",
|
|
523
555
|
"http.request.timestamp.sec",
|
|
524
556
|
"http.request.uri",
|
|
525
557
|
"http.request.uri.args",
|
|
@@ -547,60 +579,21 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
547
579
|
"Transformation functions"
|
|
548
580
|
]
|
|
549
581
|
},
|
|
550
|
-
"
|
|
551
|
-
"summary": "
|
|
552
|
-
"signature": "
|
|
553
|
-
"returnType": "
|
|
554
|
-
"parameters": [
|
|
555
|
-
{
|
|
556
|
-
"name": "token_configuration_id",
|
|
557
|
-
"types": [
|
|
558
|
-
"String"
|
|
559
|
-
],
|
|
560
|
-
"literal": true
|
|
561
|
-
}
|
|
562
|
-
],
|
|
563
|
-
"categories": [
|
|
564
|
-
"Transformation functions"
|
|
565
|
-
]
|
|
566
|
-
},
|
|
567
|
-
"is_jwt_valid": {
|
|
568
|
-
"summary": "Returns true if the request has a valid token according to the token configuration with the ID token_configuration_id.",
|
|
569
|
-
"signature": "is_jwt_valid(token_configuration_id: String): Boolean",
|
|
570
|
-
"returnType": "Boolean",
|
|
571
|
-
"parameters": [
|
|
572
|
-
{
|
|
573
|
-
"name": "token_configuration_id",
|
|
574
|
-
"types": [
|
|
575
|
-
"String"
|
|
576
|
-
],
|
|
577
|
-
"literal": true
|
|
578
|
-
}
|
|
579
|
-
],
|
|
580
|
-
"categories": [
|
|
581
|
-
"Transformation functions"
|
|
582
|
-
]
|
|
583
|
-
},
|
|
584
|
-
"is_timed_hmac_valid_v0": {
|
|
585
|
-
"summary": "Validates hash-based message authentication code (HMAC) tokens in a rule expression.",
|
|
586
|
-
"signature": "is_timed_hmac_valid_v0(Key String literal, MessageMAC String field, ttl Integer literal, currentTimeStamp Integer, lengthOfSeparator Integer literal optional, flags String literal optional): Boolean",
|
|
587
|
-
"returnType": "Boolean",
|
|
582
|
+
"hmac_sha1": {
|
|
583
|
+
"summary": "Computes the HMAC-SHA1 of input using key. Returns a raw 20-byte digest.",
|
|
584
|
+
"signature": "hmac_sha1(input String | Bytes, key String | Bytes): Bytes",
|
|
585
|
+
"returnType": "Bytes",
|
|
588
586
|
"parameters": [
|
|
589
587
|
{
|
|
590
|
-
"name": "
|
|
591
|
-
"types": [
|
|
592
|
-
"String"
|
|
593
|
-
],
|
|
594
|
-
"literal": true
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
"name": "MessageMAC",
|
|
588
|
+
"name": "input",
|
|
598
589
|
"types": [
|
|
599
|
-
"String"
|
|
590
|
+
"String",
|
|
591
|
+
"Bytes"
|
|
600
592
|
],
|
|
601
|
-
"notLiteral": true,
|
|
602
593
|
"acceptsFieldUsageKinds": [
|
|
603
|
-
"scalar"
|
|
594
|
+
"scalar",
|
|
595
|
+
"array",
|
|
596
|
+
"map-array"
|
|
604
597
|
],
|
|
605
598
|
"allowedFields": [
|
|
606
599
|
"http.request.cookies",
|
|
@@ -627,6 +620,7 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
627
620
|
"http.request.jwt.claims.sub",
|
|
628
621
|
"http.request.jwt.claims.sub.names",
|
|
629
622
|
"http.request.jwt.claims.sub.values",
|
|
623
|
+
"http.request.method",
|
|
630
624
|
"http.request.timestamp.sec",
|
|
631
625
|
"http.request.uri",
|
|
632
626
|
"http.request.uri.args",
|
|
@@ -650,18 +644,14 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
650
644
|
]
|
|
651
645
|
},
|
|
652
646
|
{
|
|
653
|
-
"name": "
|
|
647
|
+
"name": "key",
|
|
654
648
|
"types": [
|
|
655
|
-
"
|
|
649
|
+
"String",
|
|
650
|
+
"Bytes"
|
|
656
651
|
],
|
|
657
|
-
"
|
|
658
|
-
|
|
659
|
-
{
|
|
660
|
-
"name": "currentTimeStamp",
|
|
661
|
-
"types": [
|
|
662
|
-
"Integer"
|
|
652
|
+
"acceptsFieldUsageKinds": [
|
|
653
|
+
"scalar"
|
|
663
654
|
],
|
|
664
|
-
"notLiteral": true,
|
|
665
655
|
"allowedFields": [
|
|
666
656
|
"http.request.cookies",
|
|
667
657
|
"http.request.headers",
|
|
@@ -687,6 +677,7 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
687
677
|
"http.request.jwt.claims.sub",
|
|
688
678
|
"http.request.jwt.claims.sub.names",
|
|
689
679
|
"http.request.jwt.claims.sub.values",
|
|
680
|
+
"http.request.method",
|
|
690
681
|
"http.request.timestamp.sec",
|
|
691
682
|
"http.request.uri",
|
|
692
683
|
"http.request.uri.args",
|
|
@@ -708,167 +699,15 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
708
699
|
"raw.http.request.uri.path.extension",
|
|
709
700
|
"raw.http.request.uri.query"
|
|
710
701
|
]
|
|
711
|
-
},
|
|
712
|
-
{
|
|
713
|
-
"name": "lengthOfSeparator",
|
|
714
|
-
"types": [
|
|
715
|
-
"Integer"
|
|
716
|
-
],
|
|
717
|
-
"optional": true,
|
|
718
|
-
"literal": true,
|
|
719
|
-
"defaultValue": 0
|
|
720
|
-
},
|
|
721
|
-
{
|
|
722
|
-
"name": "flags",
|
|
723
|
-
"types": [
|
|
724
|
-
"String"
|
|
725
|
-
],
|
|
726
|
-
"optional": true,
|
|
727
|
-
"literal": true
|
|
728
|
-
}
|
|
729
|
-
],
|
|
730
|
-
"categories": [
|
|
731
|
-
"HMAC validation"
|
|
732
|
-
]
|
|
733
|
-
},
|
|
734
|
-
"join": {
|
|
735
|
-
"summary": "Returns a string which is the concatenation of the strings in items with the separator between each item.",
|
|
736
|
-
"signature": "join(items Array<String>, separator String): String",
|
|
737
|
-
"returnType": "String",
|
|
738
|
-
"parameters": [
|
|
739
|
-
{
|
|
740
|
-
"name": "items",
|
|
741
|
-
"types": [
|
|
742
|
-
"Array<String>"
|
|
743
|
-
],
|
|
744
|
-
"role": "collection",
|
|
745
|
-
"acceptsFieldUsageKinds": [
|
|
746
|
-
"array"
|
|
747
|
-
]
|
|
748
|
-
},
|
|
749
|
-
{
|
|
750
|
-
"name": "separator",
|
|
751
|
-
"types": [
|
|
752
|
-
"String"
|
|
753
|
-
],
|
|
754
|
-
"literal": true
|
|
755
|
-
}
|
|
756
|
-
],
|
|
757
|
-
"categories": [
|
|
758
|
-
"Transformation functions"
|
|
759
|
-
]
|
|
760
|
-
},
|
|
761
|
-
"len": {
|
|
762
|
-
"summary": "Returns the byte length of a String or Bytes value, or the number of elements in an array.",
|
|
763
|
-
"signature": "len(String | Bytes | Array): Integer",
|
|
764
|
-
"returnType": "Integer",
|
|
765
|
-
"parameters": [
|
|
766
|
-
{
|
|
767
|
-
"name": "value",
|
|
768
|
-
"types": [
|
|
769
|
-
"String",
|
|
770
|
-
"Bytes",
|
|
771
|
-
"Array"
|
|
772
|
-
],
|
|
773
|
-
"notLiteral": true,
|
|
774
|
-
"acceptsFieldUsageKinds": [
|
|
775
|
-
"scalar",
|
|
776
|
-
"array",
|
|
777
|
-
"map-array"
|
|
778
|
-
]
|
|
779
|
-
}
|
|
780
|
-
],
|
|
781
|
-
"categories": [
|
|
782
|
-
"Transformation functions"
|
|
783
|
-
]
|
|
784
|
-
},
|
|
785
|
-
"lookup_json_integer": {
|
|
786
|
-
"summary": "Returns the integer value associated with the supplied key in field.",
|
|
787
|
-
"signature": "lookup_json_integer(field String, key String | Integer, key String | Integer optional, ...): Integer",
|
|
788
|
-
"returnType": "Integer",
|
|
789
|
-
"parameters": [
|
|
790
|
-
{
|
|
791
|
-
"name": "field",
|
|
792
|
-
"types": [
|
|
793
|
-
"String"
|
|
794
|
-
],
|
|
795
|
-
"notLiteral": true,
|
|
796
|
-
"acceptsFieldUsageKinds": [
|
|
797
|
-
"scalar",
|
|
798
|
-
"array",
|
|
799
|
-
"map-array"
|
|
800
|
-
]
|
|
801
|
-
},
|
|
802
|
-
{
|
|
803
|
-
"name": "key",
|
|
804
|
-
"types": [
|
|
805
|
-
"String",
|
|
806
|
-
"Integer"
|
|
807
|
-
],
|
|
808
|
-
"variadic": true,
|
|
809
|
-
"literal": true
|
|
810
|
-
}
|
|
811
|
-
],
|
|
812
|
-
"categories": [
|
|
813
|
-
"Transformation functions"
|
|
814
|
-
]
|
|
815
|
-
},
|
|
816
|
-
"lookup_json_string": {
|
|
817
|
-
"summary": "Returns the string value associated with the supplied key in field.",
|
|
818
|
-
"signature": "lookup_json_string(field String, key String | Integer, key String | Integer optional, ...): String",
|
|
819
|
-
"returnType": "String",
|
|
820
|
-
"parameters": [
|
|
821
|
-
{
|
|
822
|
-
"name": "field",
|
|
823
|
-
"types": [
|
|
824
|
-
"String"
|
|
825
|
-
],
|
|
826
|
-
"notLiteral": true,
|
|
827
|
-
"acceptsFieldUsageKinds": [
|
|
828
|
-
"scalar",
|
|
829
|
-
"array",
|
|
830
|
-
"map-array"
|
|
831
|
-
]
|
|
832
|
-
},
|
|
833
|
-
{
|
|
834
|
-
"name": "key",
|
|
835
|
-
"types": [
|
|
836
|
-
"String",
|
|
837
|
-
"Integer"
|
|
838
|
-
],
|
|
839
|
-
"variadic": true,
|
|
840
|
-
"literal": true
|
|
841
|
-
}
|
|
842
|
-
],
|
|
843
|
-
"categories": [
|
|
844
|
-
"Transformation functions"
|
|
845
|
-
]
|
|
846
|
-
},
|
|
847
|
-
"lower": {
|
|
848
|
-
"summary": "Converts a string field to lowercase. Only uppercase ASCII bytes are converted. All other bytes are unaffected.",
|
|
849
|
-
"signature": "lower(String): String",
|
|
850
|
-
"returnType": "String",
|
|
851
|
-
"parameters": [
|
|
852
|
-
{
|
|
853
|
-
"name": "value",
|
|
854
|
-
"types": [
|
|
855
|
-
"String"
|
|
856
|
-
],
|
|
857
|
-
"notLiteral": true,
|
|
858
|
-
"acceptsFieldUsageKinds": [
|
|
859
|
-
"scalar",
|
|
860
|
-
"array",
|
|
861
|
-
"map-array"
|
|
862
|
-
]
|
|
863
702
|
}
|
|
864
703
|
],
|
|
865
704
|
"categories": [
|
|
866
705
|
"Transformation functions"
|
|
867
706
|
]
|
|
868
707
|
},
|
|
869
|
-
"
|
|
870
|
-
"summary": "Computes
|
|
871
|
-
"signature": "
|
|
708
|
+
"hmac_sha256": {
|
|
709
|
+
"summary": "Computes a hash-based message authentication code (HMAC) using SHA-256. Returns a raw 32-byte digest, not hexadecimal or Base64 text.",
|
|
710
|
+
"signature": "hmac_sha256(input String | Bytes, key String | Bytes): Bytes",
|
|
872
711
|
"returnType": "Bytes",
|
|
873
712
|
"parameters": [
|
|
874
713
|
{
|
|
@@ -877,7 +716,6 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
877
716
|
"String",
|
|
878
717
|
"Bytes"
|
|
879
718
|
],
|
|
880
|
-
"notLiteral": true,
|
|
881
719
|
"acceptsFieldUsageKinds": [
|
|
882
720
|
"scalar",
|
|
883
721
|
"array",
|
|
@@ -908,6 +746,7 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
908
746
|
"http.request.jwt.claims.sub",
|
|
909
747
|
"http.request.jwt.claims.sub.names",
|
|
910
748
|
"http.request.jwt.claims.sub.values",
|
|
749
|
+
"http.request.method",
|
|
911
750
|
"http.request.timestamp.sec",
|
|
912
751
|
"http.request.uri",
|
|
913
752
|
"http.request.uri.args",
|
|
@@ -929,115 +768,72 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
929
768
|
"raw.http.request.uri.path.extension",
|
|
930
769
|
"raw.http.request.uri.query"
|
|
931
770
|
]
|
|
932
|
-
}
|
|
933
|
-
],
|
|
934
|
-
"categories": [
|
|
935
|
-
"Transformation functions"
|
|
936
|
-
]
|
|
937
|
-
},
|
|
938
|
-
"regex_replace": {
|
|
939
|
-
"summary": "Replaces a part of a source string matched by a regular expression with a replacement string, returning the result. The replacement string can contain references to regular expression capture groups (for example, ${1} and ${2}), up to eight replacement references.",
|
|
940
|
-
"signature": "regex_replace(source String, regular_expression String, replacement String): String",
|
|
941
|
-
"returnType": "String",
|
|
942
|
-
"parameters": [
|
|
943
|
-
{
|
|
944
|
-
"name": "source",
|
|
945
|
-
"types": [
|
|
946
|
-
"String"
|
|
947
|
-
],
|
|
948
|
-
"notLiteral": true,
|
|
949
|
-
"acceptsFieldUsageKinds": [
|
|
950
|
-
"scalar",
|
|
951
|
-
"array",
|
|
952
|
-
"map-array"
|
|
953
|
-
]
|
|
954
|
-
},
|
|
955
|
-
{
|
|
956
|
-
"name": "regular_expression",
|
|
957
|
-
"types": [
|
|
958
|
-
"String"
|
|
959
|
-
],
|
|
960
|
-
"literal": true
|
|
961
771
|
},
|
|
962
772
|
{
|
|
963
|
-
"name": "
|
|
964
|
-
"types": [
|
|
965
|
-
"String"
|
|
966
|
-
],
|
|
967
|
-
"literal": true
|
|
968
|
-
}
|
|
969
|
-
],
|
|
970
|
-
"categories": [
|
|
971
|
-
"Transformation functions"
|
|
972
|
-
]
|
|
973
|
-
},
|
|
974
|
-
"remove_bytes": {
|
|
975
|
-
"summary": "Returns a new byte array with all the occurrences of the given bytes removed.",
|
|
976
|
-
"signature": "remove_bytes(source Bytes, bytes Bytes): Bytes",
|
|
977
|
-
"returnType": "Bytes",
|
|
978
|
-
"parameters": [
|
|
979
|
-
{
|
|
980
|
-
"name": "source",
|
|
773
|
+
"name": "key",
|
|
981
774
|
"types": [
|
|
775
|
+
"String",
|
|
982
776
|
"Bytes"
|
|
983
777
|
],
|
|
984
|
-
"notLiteral": true,
|
|
985
778
|
"acceptsFieldUsageKinds": [
|
|
986
|
-
"scalar"
|
|
987
|
-
"array",
|
|
988
|
-
"map-array"
|
|
989
|
-
]
|
|
990
|
-
},
|
|
991
|
-
{
|
|
992
|
-
"name": "bytes",
|
|
993
|
-
"types": [
|
|
994
|
-
"Bytes"
|
|
995
|
-
],
|
|
996
|
-
"literal": true,
|
|
997
|
-
"nonEmpty": true,
|
|
998
|
-
"distinctBytes": true
|
|
999
|
-
}
|
|
1000
|
-
],
|
|
1001
|
-
"categories": [
|
|
1002
|
-
"Transformation functions"
|
|
1003
|
-
]
|
|
1004
|
-
},
|
|
1005
|
-
"remove_query_args": {
|
|
1006
|
-
"summary": "Removes one or more query string parameters from a URI query string. Returns a string without the specified parameters.",
|
|
1007
|
-
"signature": "remove_query_args(field String, query_param1 String, query_param2 String, ...): String",
|
|
1008
|
-
"returnType": "String",
|
|
1009
|
-
"parameters": [
|
|
1010
|
-
{
|
|
1011
|
-
"name": "field",
|
|
1012
|
-
"types": [
|
|
1013
|
-
"String"
|
|
779
|
+
"scalar"
|
|
1014
780
|
],
|
|
1015
|
-
"notLiteral": true,
|
|
1016
|
-
"role": "field",
|
|
1017
781
|
"allowedFields": [
|
|
782
|
+
"http.request.cookies",
|
|
783
|
+
"http.request.headers",
|
|
784
|
+
"http.request.headers.names",
|
|
785
|
+
"http.request.headers.truncated",
|
|
786
|
+
"http.request.headers.values",
|
|
787
|
+
"http.request.jwt.claims",
|
|
788
|
+
"http.request.jwt.claims.aud",
|
|
789
|
+
"http.request.jwt.claims.aud.names",
|
|
790
|
+
"http.request.jwt.claims.aud.values",
|
|
791
|
+
"http.request.jwt.claims.iat.sec",
|
|
792
|
+
"http.request.jwt.claims.iat.sec.names",
|
|
793
|
+
"http.request.jwt.claims.iat.sec.values",
|
|
794
|
+
"http.request.jwt.claims.iss",
|
|
795
|
+
"http.request.jwt.claims.iss.names",
|
|
796
|
+
"http.request.jwt.claims.iss.values",
|
|
797
|
+
"http.request.jwt.claims.jti",
|
|
798
|
+
"http.request.jwt.claims.jti.names",
|
|
799
|
+
"http.request.jwt.claims.jti.values",
|
|
800
|
+
"http.request.jwt.claims.nbf.sec",
|
|
801
|
+
"http.request.jwt.claims.nbf.sec.names",
|
|
802
|
+
"http.request.jwt.claims.nbf.sec.values",
|
|
803
|
+
"http.request.jwt.claims.sub",
|
|
804
|
+
"http.request.jwt.claims.sub.names",
|
|
805
|
+
"http.request.jwt.claims.sub.values",
|
|
806
|
+
"http.request.method",
|
|
807
|
+
"http.request.timestamp.sec",
|
|
808
|
+
"http.request.uri",
|
|
809
|
+
"http.request.uri.args",
|
|
810
|
+
"http.request.uri.args.names",
|
|
811
|
+
"http.request.uri.args.values",
|
|
812
|
+
"http.request.uri.path",
|
|
813
|
+
"http.request.uri.path.extension",
|
|
1018
814
|
"http.request.uri.query",
|
|
815
|
+
"http.user_agent",
|
|
816
|
+
"raw.http.request.headers",
|
|
817
|
+
"raw.http.request.headers.names",
|
|
818
|
+
"raw.http.request.headers.truncated",
|
|
819
|
+
"raw.http.request.headers.values",
|
|
820
|
+
"raw.http.request.uri",
|
|
821
|
+
"raw.http.request.uri.args",
|
|
822
|
+
"raw.http.request.uri.args.names",
|
|
823
|
+
"raw.http.request.uri.args.values",
|
|
824
|
+
"raw.http.request.uri.path",
|
|
825
|
+
"raw.http.request.uri.path.extension",
|
|
1019
826
|
"raw.http.request.uri.query"
|
|
1020
|
-
],
|
|
1021
|
-
"acceptsFieldUsageKinds": [
|
|
1022
|
-
"scalar"
|
|
1023
827
|
]
|
|
1024
|
-
},
|
|
1025
|
-
{
|
|
1026
|
-
"name": "query_param",
|
|
1027
|
-
"types": [
|
|
1028
|
-
"String"
|
|
1029
|
-
],
|
|
1030
|
-
"variadic": true,
|
|
1031
|
-
"literal": true
|
|
1032
828
|
}
|
|
1033
829
|
],
|
|
1034
830
|
"categories": [
|
|
1035
831
|
"Transformation functions"
|
|
1036
832
|
]
|
|
1037
833
|
},
|
|
1038
|
-
"
|
|
1039
|
-
"summary": "Computes the
|
|
1040
|
-
"signature": "
|
|
834
|
+
"hmac_sha512": {
|
|
835
|
+
"summary": "Computes the HMAC-SHA512 of input using key. Returns a raw 64-byte digest.",
|
|
836
|
+
"signature": "hmac_sha512(input String | Bytes, key String | Bytes): Bytes",
|
|
1041
837
|
"returnType": "Bytes",
|
|
1042
838
|
"parameters": [
|
|
1043
839
|
{
|
|
@@ -1046,7 +842,6 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
1046
842
|
"String",
|
|
1047
843
|
"Bytes"
|
|
1048
844
|
],
|
|
1049
|
-
"notLiteral": true,
|
|
1050
845
|
"acceptsFieldUsageKinds": [
|
|
1051
846
|
"scalar",
|
|
1052
847
|
"array",
|
|
@@ -1077,6 +872,7 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
1077
872
|
"http.request.jwt.claims.sub",
|
|
1078
873
|
"http.request.jwt.claims.sub.names",
|
|
1079
874
|
"http.request.jwt.claims.sub.values",
|
|
875
|
+
"http.request.method",
|
|
1080
876
|
"http.request.timestamp.sec",
|
|
1081
877
|
"http.request.uri",
|
|
1082
878
|
"http.request.uri.args",
|
|
@@ -1098,28 +894,15 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
1098
894
|
"raw.http.request.uri.path.extension",
|
|
1099
895
|
"raw.http.request.uri.query"
|
|
1100
896
|
]
|
|
1101
|
-
}
|
|
1102
|
-
],
|
|
1103
|
-
"categories": [
|
|
1104
|
-
"Transformation functions"
|
|
1105
|
-
]
|
|
1106
|
-
},
|
|
1107
|
-
"sha256": {
|
|
1108
|
-
"summary": "Computes the SHA-256 cryptographic hash of the input string or byte array. Returns a 32-byte hash value.",
|
|
1109
|
-
"signature": "sha256(input String | Bytes): Bytes",
|
|
1110
|
-
"returnType": "Bytes",
|
|
1111
|
-
"parameters": [
|
|
897
|
+
},
|
|
1112
898
|
{
|
|
1113
|
-
"name": "
|
|
899
|
+
"name": "key",
|
|
1114
900
|
"types": [
|
|
1115
901
|
"String",
|
|
1116
902
|
"Bytes"
|
|
1117
903
|
],
|
|
1118
|
-
"notLiteral": true,
|
|
1119
904
|
"acceptsFieldUsageKinds": [
|
|
1120
|
-
"scalar"
|
|
1121
|
-
"array",
|
|
1122
|
-
"map-array"
|
|
905
|
+
"scalar"
|
|
1123
906
|
],
|
|
1124
907
|
"allowedFields": [
|
|
1125
908
|
"http.request.cookies",
|
|
@@ -1146,6 +929,7 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
1146
929
|
"http.request.jwt.claims.sub",
|
|
1147
930
|
"http.request.jwt.claims.sub.names",
|
|
1148
931
|
"http.request.jwt.claims.sub.values",
|
|
932
|
+
"http.request.method",
|
|
1149
933
|
"http.request.timestamp.sec",
|
|
1150
934
|
"http.request.uri",
|
|
1151
935
|
"http.request.uri.args",
|
|
@@ -1173,22 +957,1069 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
1173
957
|
"Transformation functions"
|
|
1174
958
|
]
|
|
1175
959
|
},
|
|
1176
|
-
"
|
|
1177
|
-
"summary": "
|
|
1178
|
-
"signature": "
|
|
1179
|
-
"returnType": "
|
|
960
|
+
"is_jwt_present": {
|
|
961
|
+
"summary": "Returns true if the request has a token as configured in the token configuration with the ID token_configuration_id.",
|
|
962
|
+
"signature": "is_jwt_present(token_configuration_id: String): Boolean",
|
|
963
|
+
"returnType": "Boolean",
|
|
1180
964
|
"parameters": [
|
|
1181
965
|
{
|
|
1182
|
-
"name": "
|
|
966
|
+
"name": "token_configuration_id",
|
|
1183
967
|
"types": [
|
|
1184
|
-
"String"
|
|
1185
|
-
|
|
968
|
+
"String"
|
|
969
|
+
],
|
|
970
|
+
"literal": true
|
|
971
|
+
}
|
|
972
|
+
],
|
|
973
|
+
"categories": [
|
|
974
|
+
"Transformation functions"
|
|
975
|
+
]
|
|
976
|
+
},
|
|
977
|
+
"is_jwt_valid": {
|
|
978
|
+
"summary": "Returns true if the request has a valid token according to the token configuration with the ID token_configuration_id.",
|
|
979
|
+
"signature": "is_jwt_valid(token_configuration_id: String): Boolean",
|
|
980
|
+
"returnType": "Boolean",
|
|
981
|
+
"parameters": [
|
|
982
|
+
{
|
|
983
|
+
"name": "token_configuration_id",
|
|
984
|
+
"types": [
|
|
985
|
+
"String"
|
|
986
|
+
],
|
|
987
|
+
"literal": true
|
|
988
|
+
}
|
|
989
|
+
],
|
|
990
|
+
"categories": [
|
|
991
|
+
"Transformation functions"
|
|
992
|
+
]
|
|
993
|
+
},
|
|
994
|
+
"is_timed_hmac_valid_v0": {
|
|
995
|
+
"summary": "Validates hash-based message authentication code (HMAC) tokens in a rule expression.",
|
|
996
|
+
"signature": "is_timed_hmac_valid_v0(Key String literal, MessageMAC String field, ttl Integer literal, currentTimeStamp Integer, lengthOfSeparator Integer literal optional, flags String literal optional): Boolean",
|
|
997
|
+
"returnType": "Boolean",
|
|
998
|
+
"parameters": [
|
|
999
|
+
{
|
|
1000
|
+
"name": "Key",
|
|
1001
|
+
"types": [
|
|
1002
|
+
"String"
|
|
1003
|
+
],
|
|
1004
|
+
"literal": true
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"name": "MessageMAC",
|
|
1008
|
+
"types": [
|
|
1009
|
+
"String"
|
|
1186
1010
|
],
|
|
1187
1011
|
"notLiteral": true,
|
|
1188
1012
|
"acceptsFieldUsageKinds": [
|
|
1189
|
-
"scalar"
|
|
1190
|
-
|
|
1191
|
-
|
|
1013
|
+
"scalar"
|
|
1014
|
+
],
|
|
1015
|
+
"allowedFields": [
|
|
1016
|
+
"http.request.cookies",
|
|
1017
|
+
"http.request.headers",
|
|
1018
|
+
"http.request.headers.names",
|
|
1019
|
+
"http.request.headers.truncated",
|
|
1020
|
+
"http.request.headers.values",
|
|
1021
|
+
"http.request.jwt.claims",
|
|
1022
|
+
"http.request.jwt.claims.aud",
|
|
1023
|
+
"http.request.jwt.claims.aud.names",
|
|
1024
|
+
"http.request.jwt.claims.aud.values",
|
|
1025
|
+
"http.request.jwt.claims.iat.sec",
|
|
1026
|
+
"http.request.jwt.claims.iat.sec.names",
|
|
1027
|
+
"http.request.jwt.claims.iat.sec.values",
|
|
1028
|
+
"http.request.jwt.claims.iss",
|
|
1029
|
+
"http.request.jwt.claims.iss.names",
|
|
1030
|
+
"http.request.jwt.claims.iss.values",
|
|
1031
|
+
"http.request.jwt.claims.jti",
|
|
1032
|
+
"http.request.jwt.claims.jti.names",
|
|
1033
|
+
"http.request.jwt.claims.jti.values",
|
|
1034
|
+
"http.request.jwt.claims.nbf.sec",
|
|
1035
|
+
"http.request.jwt.claims.nbf.sec.names",
|
|
1036
|
+
"http.request.jwt.claims.nbf.sec.values",
|
|
1037
|
+
"http.request.jwt.claims.sub",
|
|
1038
|
+
"http.request.jwt.claims.sub.names",
|
|
1039
|
+
"http.request.jwt.claims.sub.values",
|
|
1040
|
+
"http.request.method",
|
|
1041
|
+
"http.request.timestamp.sec",
|
|
1042
|
+
"http.request.uri",
|
|
1043
|
+
"http.request.uri.args",
|
|
1044
|
+
"http.request.uri.args.names",
|
|
1045
|
+
"http.request.uri.args.values",
|
|
1046
|
+
"http.request.uri.path",
|
|
1047
|
+
"http.request.uri.path.extension",
|
|
1048
|
+
"http.request.uri.query",
|
|
1049
|
+
"http.user_agent",
|
|
1050
|
+
"raw.http.request.headers",
|
|
1051
|
+
"raw.http.request.headers.names",
|
|
1052
|
+
"raw.http.request.headers.truncated",
|
|
1053
|
+
"raw.http.request.headers.values",
|
|
1054
|
+
"raw.http.request.uri",
|
|
1055
|
+
"raw.http.request.uri.args",
|
|
1056
|
+
"raw.http.request.uri.args.names",
|
|
1057
|
+
"raw.http.request.uri.args.values",
|
|
1058
|
+
"raw.http.request.uri.path",
|
|
1059
|
+
"raw.http.request.uri.path.extension",
|
|
1060
|
+
"raw.http.request.uri.query"
|
|
1061
|
+
]
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"name": "ttl",
|
|
1065
|
+
"types": [
|
|
1066
|
+
"Integer"
|
|
1067
|
+
],
|
|
1068
|
+
"literal": true
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
"name": "currentTimeStamp",
|
|
1072
|
+
"types": [
|
|
1073
|
+
"Integer"
|
|
1074
|
+
],
|
|
1075
|
+
"notLiteral": true,
|
|
1076
|
+
"allowedFields": [
|
|
1077
|
+
"http.request.cookies",
|
|
1078
|
+
"http.request.headers",
|
|
1079
|
+
"http.request.headers.names",
|
|
1080
|
+
"http.request.headers.truncated",
|
|
1081
|
+
"http.request.headers.values",
|
|
1082
|
+
"http.request.jwt.claims",
|
|
1083
|
+
"http.request.jwt.claims.aud",
|
|
1084
|
+
"http.request.jwt.claims.aud.names",
|
|
1085
|
+
"http.request.jwt.claims.aud.values",
|
|
1086
|
+
"http.request.jwt.claims.iat.sec",
|
|
1087
|
+
"http.request.jwt.claims.iat.sec.names",
|
|
1088
|
+
"http.request.jwt.claims.iat.sec.values",
|
|
1089
|
+
"http.request.jwt.claims.iss",
|
|
1090
|
+
"http.request.jwt.claims.iss.names",
|
|
1091
|
+
"http.request.jwt.claims.iss.values",
|
|
1092
|
+
"http.request.jwt.claims.jti",
|
|
1093
|
+
"http.request.jwt.claims.jti.names",
|
|
1094
|
+
"http.request.jwt.claims.jti.values",
|
|
1095
|
+
"http.request.jwt.claims.nbf.sec",
|
|
1096
|
+
"http.request.jwt.claims.nbf.sec.names",
|
|
1097
|
+
"http.request.jwt.claims.nbf.sec.values",
|
|
1098
|
+
"http.request.jwt.claims.sub",
|
|
1099
|
+
"http.request.jwt.claims.sub.names",
|
|
1100
|
+
"http.request.jwt.claims.sub.values",
|
|
1101
|
+
"http.request.method",
|
|
1102
|
+
"http.request.timestamp.sec",
|
|
1103
|
+
"http.request.uri",
|
|
1104
|
+
"http.request.uri.args",
|
|
1105
|
+
"http.request.uri.args.names",
|
|
1106
|
+
"http.request.uri.args.values",
|
|
1107
|
+
"http.request.uri.path",
|
|
1108
|
+
"http.request.uri.path.extension",
|
|
1109
|
+
"http.request.uri.query",
|
|
1110
|
+
"http.user_agent",
|
|
1111
|
+
"raw.http.request.headers",
|
|
1112
|
+
"raw.http.request.headers.names",
|
|
1113
|
+
"raw.http.request.headers.truncated",
|
|
1114
|
+
"raw.http.request.headers.values",
|
|
1115
|
+
"raw.http.request.uri",
|
|
1116
|
+
"raw.http.request.uri.args",
|
|
1117
|
+
"raw.http.request.uri.args.names",
|
|
1118
|
+
"raw.http.request.uri.args.values",
|
|
1119
|
+
"raw.http.request.uri.path",
|
|
1120
|
+
"raw.http.request.uri.path.extension",
|
|
1121
|
+
"raw.http.request.uri.query"
|
|
1122
|
+
]
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
"name": "lengthOfSeparator",
|
|
1126
|
+
"types": [
|
|
1127
|
+
"Integer"
|
|
1128
|
+
],
|
|
1129
|
+
"optional": true,
|
|
1130
|
+
"literal": true,
|
|
1131
|
+
"defaultValue": 0
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"name": "flags",
|
|
1135
|
+
"types": [
|
|
1136
|
+
"String"
|
|
1137
|
+
],
|
|
1138
|
+
"optional": true,
|
|
1139
|
+
"literal": true
|
|
1140
|
+
}
|
|
1141
|
+
],
|
|
1142
|
+
"categories": [
|
|
1143
|
+
"HMAC validation"
|
|
1144
|
+
]
|
|
1145
|
+
},
|
|
1146
|
+
"join": {
|
|
1147
|
+
"summary": "Returns a string which is the concatenation of the strings in items with the separator between each item.",
|
|
1148
|
+
"signature": "join(items Array<String>, separator String): String",
|
|
1149
|
+
"returnType": "String",
|
|
1150
|
+
"parameters": [
|
|
1151
|
+
{
|
|
1152
|
+
"name": "items",
|
|
1153
|
+
"types": [
|
|
1154
|
+
"Array<String>"
|
|
1155
|
+
],
|
|
1156
|
+
"role": "collection",
|
|
1157
|
+
"acceptsFieldUsageKinds": [
|
|
1158
|
+
"array"
|
|
1159
|
+
]
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
"name": "separator",
|
|
1163
|
+
"types": [
|
|
1164
|
+
"String"
|
|
1165
|
+
],
|
|
1166
|
+
"literal": true
|
|
1167
|
+
}
|
|
1168
|
+
],
|
|
1169
|
+
"categories": [
|
|
1170
|
+
"Transformation functions"
|
|
1171
|
+
]
|
|
1172
|
+
},
|
|
1173
|
+
"len": {
|
|
1174
|
+
"summary": "Returns the byte length of a String or Bytes value, or the number of elements in an array.",
|
|
1175
|
+
"signature": "len(String | Bytes | Array): Integer",
|
|
1176
|
+
"returnType": "Integer",
|
|
1177
|
+
"parameters": [
|
|
1178
|
+
{
|
|
1179
|
+
"name": "value",
|
|
1180
|
+
"types": [
|
|
1181
|
+
"String",
|
|
1182
|
+
"Bytes",
|
|
1183
|
+
"Array"
|
|
1184
|
+
],
|
|
1185
|
+
"notLiteral": true,
|
|
1186
|
+
"acceptsFieldUsageKinds": [
|
|
1187
|
+
"scalar",
|
|
1188
|
+
"array",
|
|
1189
|
+
"map-array"
|
|
1190
|
+
]
|
|
1191
|
+
}
|
|
1192
|
+
],
|
|
1193
|
+
"categories": [
|
|
1194
|
+
"Transformation functions"
|
|
1195
|
+
]
|
|
1196
|
+
},
|
|
1197
|
+
"lookup_json_integer": {
|
|
1198
|
+
"summary": "Returns the integer value associated with the supplied key in field.",
|
|
1199
|
+
"signature": "lookup_json_integer(field String, key String | Integer, key String | Integer optional, ...): Integer",
|
|
1200
|
+
"returnType": "Integer",
|
|
1201
|
+
"parameters": [
|
|
1202
|
+
{
|
|
1203
|
+
"name": "field",
|
|
1204
|
+
"types": [
|
|
1205
|
+
"String"
|
|
1206
|
+
],
|
|
1207
|
+
"notLiteral": true,
|
|
1208
|
+
"acceptsFieldUsageKinds": [
|
|
1209
|
+
"scalar",
|
|
1210
|
+
"array",
|
|
1211
|
+
"map-array"
|
|
1212
|
+
]
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
"name": "key",
|
|
1216
|
+
"types": [
|
|
1217
|
+
"String",
|
|
1218
|
+
"Integer"
|
|
1219
|
+
],
|
|
1220
|
+
"variadic": true,
|
|
1221
|
+
"literal": true
|
|
1222
|
+
}
|
|
1223
|
+
],
|
|
1224
|
+
"categories": [
|
|
1225
|
+
"Transformation functions"
|
|
1226
|
+
]
|
|
1227
|
+
},
|
|
1228
|
+
"lookup_json_string": {
|
|
1229
|
+
"summary": "Returns the string value associated with the supplied key in field.",
|
|
1230
|
+
"signature": "lookup_json_string(field String, key String | Integer, key String | Integer optional, ...): String",
|
|
1231
|
+
"returnType": "String",
|
|
1232
|
+
"parameters": [
|
|
1233
|
+
{
|
|
1234
|
+
"name": "field",
|
|
1235
|
+
"types": [
|
|
1236
|
+
"String"
|
|
1237
|
+
],
|
|
1238
|
+
"notLiteral": true,
|
|
1239
|
+
"acceptsFieldUsageKinds": [
|
|
1240
|
+
"scalar",
|
|
1241
|
+
"array",
|
|
1242
|
+
"map-array"
|
|
1243
|
+
]
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"name": "key",
|
|
1247
|
+
"types": [
|
|
1248
|
+
"String",
|
|
1249
|
+
"Integer"
|
|
1250
|
+
],
|
|
1251
|
+
"variadic": true,
|
|
1252
|
+
"literal": true
|
|
1253
|
+
}
|
|
1254
|
+
],
|
|
1255
|
+
"categories": [
|
|
1256
|
+
"Transformation functions"
|
|
1257
|
+
]
|
|
1258
|
+
},
|
|
1259
|
+
"lower": {
|
|
1260
|
+
"summary": "Converts a string field to lowercase. Only uppercase ASCII bytes are converted. All other bytes are unaffected.",
|
|
1261
|
+
"signature": "lower(String): String",
|
|
1262
|
+
"returnType": "String",
|
|
1263
|
+
"parameters": [
|
|
1264
|
+
{
|
|
1265
|
+
"name": "value",
|
|
1266
|
+
"types": [
|
|
1267
|
+
"String"
|
|
1268
|
+
],
|
|
1269
|
+
"notLiteral": true,
|
|
1270
|
+
"acceptsFieldUsageKinds": [
|
|
1271
|
+
"scalar",
|
|
1272
|
+
"array",
|
|
1273
|
+
"map-array"
|
|
1274
|
+
]
|
|
1275
|
+
}
|
|
1276
|
+
],
|
|
1277
|
+
"categories": [
|
|
1278
|
+
"Transformation functions"
|
|
1279
|
+
]
|
|
1280
|
+
},
|
|
1281
|
+
"md5": {
|
|
1282
|
+
"summary": "Computes the MD5 hash of the input string or byte array. Returns a 16-byte hash value.",
|
|
1283
|
+
"signature": "md5(input String | Bytes): Bytes",
|
|
1284
|
+
"returnType": "Bytes",
|
|
1285
|
+
"parameters": [
|
|
1286
|
+
{
|
|
1287
|
+
"name": "input",
|
|
1288
|
+
"types": [
|
|
1289
|
+
"String",
|
|
1290
|
+
"Bytes"
|
|
1291
|
+
],
|
|
1292
|
+
"notLiteral": true,
|
|
1293
|
+
"acceptsFieldUsageKinds": [
|
|
1294
|
+
"scalar",
|
|
1295
|
+
"array",
|
|
1296
|
+
"map-array"
|
|
1297
|
+
],
|
|
1298
|
+
"allowedFields": [
|
|
1299
|
+
"http.request.cookies",
|
|
1300
|
+
"http.request.headers",
|
|
1301
|
+
"http.request.headers.names",
|
|
1302
|
+
"http.request.headers.truncated",
|
|
1303
|
+
"http.request.headers.values",
|
|
1304
|
+
"http.request.jwt.claims",
|
|
1305
|
+
"http.request.jwt.claims.aud",
|
|
1306
|
+
"http.request.jwt.claims.aud.names",
|
|
1307
|
+
"http.request.jwt.claims.aud.values",
|
|
1308
|
+
"http.request.jwt.claims.iat.sec",
|
|
1309
|
+
"http.request.jwt.claims.iat.sec.names",
|
|
1310
|
+
"http.request.jwt.claims.iat.sec.values",
|
|
1311
|
+
"http.request.jwt.claims.iss",
|
|
1312
|
+
"http.request.jwt.claims.iss.names",
|
|
1313
|
+
"http.request.jwt.claims.iss.values",
|
|
1314
|
+
"http.request.jwt.claims.jti",
|
|
1315
|
+
"http.request.jwt.claims.jti.names",
|
|
1316
|
+
"http.request.jwt.claims.jti.values",
|
|
1317
|
+
"http.request.jwt.claims.nbf.sec",
|
|
1318
|
+
"http.request.jwt.claims.nbf.sec.names",
|
|
1319
|
+
"http.request.jwt.claims.nbf.sec.values",
|
|
1320
|
+
"http.request.jwt.claims.sub",
|
|
1321
|
+
"http.request.jwt.claims.sub.names",
|
|
1322
|
+
"http.request.jwt.claims.sub.values",
|
|
1323
|
+
"http.request.method",
|
|
1324
|
+
"http.request.timestamp.sec",
|
|
1325
|
+
"http.request.uri",
|
|
1326
|
+
"http.request.uri.args",
|
|
1327
|
+
"http.request.uri.args.names",
|
|
1328
|
+
"http.request.uri.args.values",
|
|
1329
|
+
"http.request.uri.path",
|
|
1330
|
+
"http.request.uri.path.extension",
|
|
1331
|
+
"http.request.uri.query",
|
|
1332
|
+
"http.user_agent",
|
|
1333
|
+
"raw.http.request.headers",
|
|
1334
|
+
"raw.http.request.headers.names",
|
|
1335
|
+
"raw.http.request.headers.truncated",
|
|
1336
|
+
"raw.http.request.headers.values",
|
|
1337
|
+
"raw.http.request.uri",
|
|
1338
|
+
"raw.http.request.uri.args",
|
|
1339
|
+
"raw.http.request.uri.args.names",
|
|
1340
|
+
"raw.http.request.uri.args.values",
|
|
1341
|
+
"raw.http.request.uri.path",
|
|
1342
|
+
"raw.http.request.uri.path.extension",
|
|
1343
|
+
"raw.http.request.uri.query"
|
|
1344
|
+
]
|
|
1345
|
+
}
|
|
1346
|
+
],
|
|
1347
|
+
"categories": [
|
|
1348
|
+
"Transformation functions"
|
|
1349
|
+
]
|
|
1350
|
+
},
|
|
1351
|
+
"regex_replace": {
|
|
1352
|
+
"summary": "Replaces a part of a source string matched by a regular expression with a replacement string, returning the result. The replacement string can contain references to regular expression capture groups (for example, ${1} and ${2}), up to eight replacement references.",
|
|
1353
|
+
"signature": "regex_replace(source String, regular_expression String, replacement String): String",
|
|
1354
|
+
"returnType": "String",
|
|
1355
|
+
"parameters": [
|
|
1356
|
+
{
|
|
1357
|
+
"name": "source",
|
|
1358
|
+
"types": [
|
|
1359
|
+
"String"
|
|
1360
|
+
],
|
|
1361
|
+
"notLiteral": true,
|
|
1362
|
+
"acceptsFieldUsageKinds": [
|
|
1363
|
+
"scalar",
|
|
1364
|
+
"array",
|
|
1365
|
+
"map-array"
|
|
1366
|
+
]
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
"name": "regular_expression",
|
|
1370
|
+
"types": [
|
|
1371
|
+
"String"
|
|
1372
|
+
],
|
|
1373
|
+
"literal": true
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
"name": "replacement",
|
|
1377
|
+
"types": [
|
|
1378
|
+
"String"
|
|
1379
|
+
],
|
|
1380
|
+
"literal": true
|
|
1381
|
+
}
|
|
1382
|
+
],
|
|
1383
|
+
"categories": [
|
|
1384
|
+
"Transformation functions"
|
|
1385
|
+
]
|
|
1386
|
+
},
|
|
1387
|
+
"remove_bytes": {
|
|
1388
|
+
"summary": "Returns a new byte array with all the occurrences of the given bytes removed.",
|
|
1389
|
+
"signature": "remove_bytes(source Bytes, bytes Bytes): Bytes",
|
|
1390
|
+
"returnType": "Bytes",
|
|
1391
|
+
"parameters": [
|
|
1392
|
+
{
|
|
1393
|
+
"name": "source",
|
|
1394
|
+
"types": [
|
|
1395
|
+
"Bytes"
|
|
1396
|
+
],
|
|
1397
|
+
"notLiteral": true,
|
|
1398
|
+
"acceptsFieldUsageKinds": [
|
|
1399
|
+
"scalar",
|
|
1400
|
+
"array",
|
|
1401
|
+
"map-array"
|
|
1402
|
+
]
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
"name": "bytes",
|
|
1406
|
+
"types": [
|
|
1407
|
+
"Bytes"
|
|
1408
|
+
],
|
|
1409
|
+
"literal": true,
|
|
1410
|
+
"nonEmpty": true,
|
|
1411
|
+
"distinctBytes": true
|
|
1412
|
+
}
|
|
1413
|
+
],
|
|
1414
|
+
"categories": [
|
|
1415
|
+
"Transformation functions"
|
|
1416
|
+
]
|
|
1417
|
+
},
|
|
1418
|
+
"remove_query_args": {
|
|
1419
|
+
"summary": "Removes one or more query string parameters from a URI query string. Returns a string without the specified parameters.",
|
|
1420
|
+
"signature": "remove_query_args(field String, query_param1 String, query_param2 String, ...): String",
|
|
1421
|
+
"returnType": "String",
|
|
1422
|
+
"parameters": [
|
|
1423
|
+
{
|
|
1424
|
+
"name": "field",
|
|
1425
|
+
"types": [
|
|
1426
|
+
"String"
|
|
1427
|
+
],
|
|
1428
|
+
"notLiteral": true,
|
|
1429
|
+
"role": "field",
|
|
1430
|
+
"allowedFields": [
|
|
1431
|
+
"http.request.uri.query",
|
|
1432
|
+
"raw.http.request.uri.query"
|
|
1433
|
+
],
|
|
1434
|
+
"acceptsFieldUsageKinds": [
|
|
1435
|
+
"scalar"
|
|
1436
|
+
]
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"name": "query_param",
|
|
1440
|
+
"types": [
|
|
1441
|
+
"String"
|
|
1442
|
+
],
|
|
1443
|
+
"variadic": true,
|
|
1444
|
+
"literal": true
|
|
1445
|
+
}
|
|
1446
|
+
],
|
|
1447
|
+
"categories": [
|
|
1448
|
+
"Transformation functions"
|
|
1449
|
+
]
|
|
1450
|
+
},
|
|
1451
|
+
"sha1": {
|
|
1452
|
+
"summary": "Computes the SHA-1 hash of the input string or byte array. Returns a 20-byte hash value.",
|
|
1453
|
+
"signature": "sha1(input String | Bytes): Bytes",
|
|
1454
|
+
"returnType": "Bytes",
|
|
1455
|
+
"parameters": [
|
|
1456
|
+
{
|
|
1457
|
+
"name": "input",
|
|
1458
|
+
"types": [
|
|
1459
|
+
"String",
|
|
1460
|
+
"Bytes"
|
|
1461
|
+
],
|
|
1462
|
+
"notLiteral": true,
|
|
1463
|
+
"acceptsFieldUsageKinds": [
|
|
1464
|
+
"scalar",
|
|
1465
|
+
"array",
|
|
1466
|
+
"map-array"
|
|
1467
|
+
],
|
|
1468
|
+
"allowedFields": [
|
|
1469
|
+
"http.request.cookies",
|
|
1470
|
+
"http.request.headers",
|
|
1471
|
+
"http.request.headers.names",
|
|
1472
|
+
"http.request.headers.truncated",
|
|
1473
|
+
"http.request.headers.values",
|
|
1474
|
+
"http.request.jwt.claims",
|
|
1475
|
+
"http.request.jwt.claims.aud",
|
|
1476
|
+
"http.request.jwt.claims.aud.names",
|
|
1477
|
+
"http.request.jwt.claims.aud.values",
|
|
1478
|
+
"http.request.jwt.claims.iat.sec",
|
|
1479
|
+
"http.request.jwt.claims.iat.sec.names",
|
|
1480
|
+
"http.request.jwt.claims.iat.sec.values",
|
|
1481
|
+
"http.request.jwt.claims.iss",
|
|
1482
|
+
"http.request.jwt.claims.iss.names",
|
|
1483
|
+
"http.request.jwt.claims.iss.values",
|
|
1484
|
+
"http.request.jwt.claims.jti",
|
|
1485
|
+
"http.request.jwt.claims.jti.names",
|
|
1486
|
+
"http.request.jwt.claims.jti.values",
|
|
1487
|
+
"http.request.jwt.claims.nbf.sec",
|
|
1488
|
+
"http.request.jwt.claims.nbf.sec.names",
|
|
1489
|
+
"http.request.jwt.claims.nbf.sec.values",
|
|
1490
|
+
"http.request.jwt.claims.sub",
|
|
1491
|
+
"http.request.jwt.claims.sub.names",
|
|
1492
|
+
"http.request.jwt.claims.sub.values",
|
|
1493
|
+
"http.request.method",
|
|
1494
|
+
"http.request.timestamp.sec",
|
|
1495
|
+
"http.request.uri",
|
|
1496
|
+
"http.request.uri.args",
|
|
1497
|
+
"http.request.uri.args.names",
|
|
1498
|
+
"http.request.uri.args.values",
|
|
1499
|
+
"http.request.uri.path",
|
|
1500
|
+
"http.request.uri.path.extension",
|
|
1501
|
+
"http.request.uri.query",
|
|
1502
|
+
"http.user_agent",
|
|
1503
|
+
"raw.http.request.headers",
|
|
1504
|
+
"raw.http.request.headers.names",
|
|
1505
|
+
"raw.http.request.headers.truncated",
|
|
1506
|
+
"raw.http.request.headers.values",
|
|
1507
|
+
"raw.http.request.uri",
|
|
1508
|
+
"raw.http.request.uri.args",
|
|
1509
|
+
"raw.http.request.uri.args.names",
|
|
1510
|
+
"raw.http.request.uri.args.values",
|
|
1511
|
+
"raw.http.request.uri.path",
|
|
1512
|
+
"raw.http.request.uri.path.extension",
|
|
1513
|
+
"raw.http.request.uri.query"
|
|
1514
|
+
]
|
|
1515
|
+
}
|
|
1516
|
+
],
|
|
1517
|
+
"categories": [
|
|
1518
|
+
"Transformation functions"
|
|
1519
|
+
]
|
|
1520
|
+
},
|
|
1521
|
+
"sha256": {
|
|
1522
|
+
"summary": "Computes the SHA-256 cryptographic hash of the input string or byte array. Returns a 32-byte hash value.",
|
|
1523
|
+
"signature": "sha256(input String | Bytes): Bytes",
|
|
1524
|
+
"returnType": "Bytes",
|
|
1525
|
+
"parameters": [
|
|
1526
|
+
{
|
|
1527
|
+
"name": "input",
|
|
1528
|
+
"types": [
|
|
1529
|
+
"String",
|
|
1530
|
+
"Bytes"
|
|
1531
|
+
],
|
|
1532
|
+
"notLiteral": true,
|
|
1533
|
+
"acceptsFieldUsageKinds": [
|
|
1534
|
+
"scalar",
|
|
1535
|
+
"array",
|
|
1536
|
+
"map-array"
|
|
1537
|
+
],
|
|
1538
|
+
"allowedFields": [
|
|
1539
|
+
"http.request.cookies",
|
|
1540
|
+
"http.request.headers",
|
|
1541
|
+
"http.request.headers.names",
|
|
1542
|
+
"http.request.headers.truncated",
|
|
1543
|
+
"http.request.headers.values",
|
|
1544
|
+
"http.request.jwt.claims",
|
|
1545
|
+
"http.request.jwt.claims.aud",
|
|
1546
|
+
"http.request.jwt.claims.aud.names",
|
|
1547
|
+
"http.request.jwt.claims.aud.values",
|
|
1548
|
+
"http.request.jwt.claims.iat.sec",
|
|
1549
|
+
"http.request.jwt.claims.iat.sec.names",
|
|
1550
|
+
"http.request.jwt.claims.iat.sec.values",
|
|
1551
|
+
"http.request.jwt.claims.iss",
|
|
1552
|
+
"http.request.jwt.claims.iss.names",
|
|
1553
|
+
"http.request.jwt.claims.iss.values",
|
|
1554
|
+
"http.request.jwt.claims.jti",
|
|
1555
|
+
"http.request.jwt.claims.jti.names",
|
|
1556
|
+
"http.request.jwt.claims.jti.values",
|
|
1557
|
+
"http.request.jwt.claims.nbf.sec",
|
|
1558
|
+
"http.request.jwt.claims.nbf.sec.names",
|
|
1559
|
+
"http.request.jwt.claims.nbf.sec.values",
|
|
1560
|
+
"http.request.jwt.claims.sub",
|
|
1561
|
+
"http.request.jwt.claims.sub.names",
|
|
1562
|
+
"http.request.jwt.claims.sub.values",
|
|
1563
|
+
"http.request.method",
|
|
1564
|
+
"http.request.timestamp.sec",
|
|
1565
|
+
"http.request.uri",
|
|
1566
|
+
"http.request.uri.args",
|
|
1567
|
+
"http.request.uri.args.names",
|
|
1568
|
+
"http.request.uri.args.values",
|
|
1569
|
+
"http.request.uri.path",
|
|
1570
|
+
"http.request.uri.path.extension",
|
|
1571
|
+
"http.request.uri.query",
|
|
1572
|
+
"http.user_agent",
|
|
1573
|
+
"raw.http.request.headers",
|
|
1574
|
+
"raw.http.request.headers.names",
|
|
1575
|
+
"raw.http.request.headers.truncated",
|
|
1576
|
+
"raw.http.request.headers.values",
|
|
1577
|
+
"raw.http.request.uri",
|
|
1578
|
+
"raw.http.request.uri.args",
|
|
1579
|
+
"raw.http.request.uri.args.names",
|
|
1580
|
+
"raw.http.request.uri.args.values",
|
|
1581
|
+
"raw.http.request.uri.path",
|
|
1582
|
+
"raw.http.request.uri.path.extension",
|
|
1583
|
+
"raw.http.request.uri.query"
|
|
1584
|
+
]
|
|
1585
|
+
}
|
|
1586
|
+
],
|
|
1587
|
+
"categories": [
|
|
1588
|
+
"Transformation functions"
|
|
1589
|
+
]
|
|
1590
|
+
},
|
|
1591
|
+
"sha512": {
|
|
1592
|
+
"summary": "Computes the SHA-512 hash of the input string or byte array. Returns a 64-byte hash value.",
|
|
1593
|
+
"signature": "sha512(input String | Bytes): Bytes",
|
|
1594
|
+
"returnType": "Bytes",
|
|
1595
|
+
"parameters": [
|
|
1596
|
+
{
|
|
1597
|
+
"name": "input",
|
|
1598
|
+
"types": [
|
|
1599
|
+
"String",
|
|
1600
|
+
"Bytes"
|
|
1601
|
+
],
|
|
1602
|
+
"notLiteral": true,
|
|
1603
|
+
"acceptsFieldUsageKinds": [
|
|
1604
|
+
"scalar",
|
|
1605
|
+
"array",
|
|
1606
|
+
"map-array"
|
|
1607
|
+
],
|
|
1608
|
+
"allowedFields": [
|
|
1609
|
+
"http.request.cookies",
|
|
1610
|
+
"http.request.headers",
|
|
1611
|
+
"http.request.headers.names",
|
|
1612
|
+
"http.request.headers.truncated",
|
|
1613
|
+
"http.request.headers.values",
|
|
1614
|
+
"http.request.jwt.claims",
|
|
1615
|
+
"http.request.jwt.claims.aud",
|
|
1616
|
+
"http.request.jwt.claims.aud.names",
|
|
1617
|
+
"http.request.jwt.claims.aud.values",
|
|
1618
|
+
"http.request.jwt.claims.iat.sec",
|
|
1619
|
+
"http.request.jwt.claims.iat.sec.names",
|
|
1620
|
+
"http.request.jwt.claims.iat.sec.values",
|
|
1621
|
+
"http.request.jwt.claims.iss",
|
|
1622
|
+
"http.request.jwt.claims.iss.names",
|
|
1623
|
+
"http.request.jwt.claims.iss.values",
|
|
1624
|
+
"http.request.jwt.claims.jti",
|
|
1625
|
+
"http.request.jwt.claims.jti.names",
|
|
1626
|
+
"http.request.jwt.claims.jti.values",
|
|
1627
|
+
"http.request.jwt.claims.nbf.sec",
|
|
1628
|
+
"http.request.jwt.claims.nbf.sec.names",
|
|
1629
|
+
"http.request.jwt.claims.nbf.sec.values",
|
|
1630
|
+
"http.request.jwt.claims.sub",
|
|
1631
|
+
"http.request.jwt.claims.sub.names",
|
|
1632
|
+
"http.request.jwt.claims.sub.values",
|
|
1633
|
+
"http.request.method",
|
|
1634
|
+
"http.request.timestamp.sec",
|
|
1635
|
+
"http.request.uri",
|
|
1636
|
+
"http.request.uri.args",
|
|
1637
|
+
"http.request.uri.args.names",
|
|
1638
|
+
"http.request.uri.args.values",
|
|
1639
|
+
"http.request.uri.path",
|
|
1640
|
+
"http.request.uri.path.extension",
|
|
1641
|
+
"http.request.uri.query",
|
|
1642
|
+
"http.user_agent",
|
|
1643
|
+
"raw.http.request.headers",
|
|
1644
|
+
"raw.http.request.headers.names",
|
|
1645
|
+
"raw.http.request.headers.truncated",
|
|
1646
|
+
"raw.http.request.headers.values",
|
|
1647
|
+
"raw.http.request.uri",
|
|
1648
|
+
"raw.http.request.uri.args",
|
|
1649
|
+
"raw.http.request.uri.args.names",
|
|
1650
|
+
"raw.http.request.uri.args.values",
|
|
1651
|
+
"raw.http.request.uri.path",
|
|
1652
|
+
"raw.http.request.uri.path.extension",
|
|
1653
|
+
"raw.http.request.uri.query"
|
|
1654
|
+
]
|
|
1655
|
+
}
|
|
1656
|
+
],
|
|
1657
|
+
"categories": [
|
|
1658
|
+
"Transformation functions"
|
|
1659
|
+
]
|
|
1660
|
+
},
|
|
1661
|
+
"sign_sigv4_hmac_sha256": {
|
|
1662
|
+
"summary": "Derives a Signature Version 4 (SigV4) signing key and signs input using HMAC-SHA256. Returns 64 lowercase hexadecimal characters. Do not wrap the result in encode_hex().",
|
|
1663
|
+
"signature": "sign_sigv4_hmac_sha256(input String | Bytes, secret String | Bytes, timestamp Integer, region String | Bytes, service String | Bytes, prefix String | Bytes, terminator String | Bytes): Bytes",
|
|
1664
|
+
"returnType": "Bytes",
|
|
1665
|
+
"parameters": [
|
|
1666
|
+
{
|
|
1667
|
+
"name": "input",
|
|
1668
|
+
"types": [
|
|
1669
|
+
"String",
|
|
1670
|
+
"Bytes"
|
|
1671
|
+
],
|
|
1672
|
+
"nonEmpty": true,
|
|
1673
|
+
"acceptsFieldUsageKinds": [
|
|
1674
|
+
"scalar",
|
|
1675
|
+
"array",
|
|
1676
|
+
"map-array"
|
|
1677
|
+
],
|
|
1678
|
+
"allowedFields": [
|
|
1679
|
+
"http.request.cookies",
|
|
1680
|
+
"http.request.headers",
|
|
1681
|
+
"http.request.headers.names",
|
|
1682
|
+
"http.request.headers.truncated",
|
|
1683
|
+
"http.request.headers.values",
|
|
1684
|
+
"http.request.jwt.claims",
|
|
1685
|
+
"http.request.jwt.claims.aud",
|
|
1686
|
+
"http.request.jwt.claims.aud.names",
|
|
1687
|
+
"http.request.jwt.claims.aud.values",
|
|
1688
|
+
"http.request.jwt.claims.iat.sec",
|
|
1689
|
+
"http.request.jwt.claims.iat.sec.names",
|
|
1690
|
+
"http.request.jwt.claims.iat.sec.values",
|
|
1691
|
+
"http.request.jwt.claims.iss",
|
|
1692
|
+
"http.request.jwt.claims.iss.names",
|
|
1693
|
+
"http.request.jwt.claims.iss.values",
|
|
1694
|
+
"http.request.jwt.claims.jti",
|
|
1695
|
+
"http.request.jwt.claims.jti.names",
|
|
1696
|
+
"http.request.jwt.claims.jti.values",
|
|
1697
|
+
"http.request.jwt.claims.nbf.sec",
|
|
1698
|
+
"http.request.jwt.claims.nbf.sec.names",
|
|
1699
|
+
"http.request.jwt.claims.nbf.sec.values",
|
|
1700
|
+
"http.request.jwt.claims.sub",
|
|
1701
|
+
"http.request.jwt.claims.sub.names",
|
|
1702
|
+
"http.request.jwt.claims.sub.values",
|
|
1703
|
+
"http.request.method",
|
|
1704
|
+
"http.request.timestamp.sec",
|
|
1705
|
+
"http.request.uri",
|
|
1706
|
+
"http.request.uri.args",
|
|
1707
|
+
"http.request.uri.args.names",
|
|
1708
|
+
"http.request.uri.args.values",
|
|
1709
|
+
"http.request.uri.path",
|
|
1710
|
+
"http.request.uri.path.extension",
|
|
1711
|
+
"http.request.uri.query",
|
|
1712
|
+
"http.user_agent",
|
|
1713
|
+
"raw.http.request.headers",
|
|
1714
|
+
"raw.http.request.headers.names",
|
|
1715
|
+
"raw.http.request.headers.truncated",
|
|
1716
|
+
"raw.http.request.headers.values",
|
|
1717
|
+
"raw.http.request.uri",
|
|
1718
|
+
"raw.http.request.uri.args",
|
|
1719
|
+
"raw.http.request.uri.args.names",
|
|
1720
|
+
"raw.http.request.uri.args.values",
|
|
1721
|
+
"raw.http.request.uri.path",
|
|
1722
|
+
"raw.http.request.uri.path.extension",
|
|
1723
|
+
"raw.http.request.uri.query"
|
|
1724
|
+
]
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
"name": "secret",
|
|
1728
|
+
"types": [
|
|
1729
|
+
"String",
|
|
1730
|
+
"Bytes"
|
|
1731
|
+
],
|
|
1732
|
+
"nonEmpty": true,
|
|
1733
|
+
"acceptsFieldUsageKinds": [
|
|
1734
|
+
"scalar"
|
|
1735
|
+
],
|
|
1736
|
+
"allowedFields": [
|
|
1737
|
+
"http.request.cookies",
|
|
1738
|
+
"http.request.headers",
|
|
1739
|
+
"http.request.headers.names",
|
|
1740
|
+
"http.request.headers.truncated",
|
|
1741
|
+
"http.request.headers.values",
|
|
1742
|
+
"http.request.jwt.claims",
|
|
1743
|
+
"http.request.jwt.claims.aud",
|
|
1744
|
+
"http.request.jwt.claims.aud.names",
|
|
1745
|
+
"http.request.jwt.claims.aud.values",
|
|
1746
|
+
"http.request.jwt.claims.iat.sec",
|
|
1747
|
+
"http.request.jwt.claims.iat.sec.names",
|
|
1748
|
+
"http.request.jwt.claims.iat.sec.values",
|
|
1749
|
+
"http.request.jwt.claims.iss",
|
|
1750
|
+
"http.request.jwt.claims.iss.names",
|
|
1751
|
+
"http.request.jwt.claims.iss.values",
|
|
1752
|
+
"http.request.jwt.claims.jti",
|
|
1753
|
+
"http.request.jwt.claims.jti.names",
|
|
1754
|
+
"http.request.jwt.claims.jti.values",
|
|
1755
|
+
"http.request.jwt.claims.nbf.sec",
|
|
1756
|
+
"http.request.jwt.claims.nbf.sec.names",
|
|
1757
|
+
"http.request.jwt.claims.nbf.sec.values",
|
|
1758
|
+
"http.request.jwt.claims.sub",
|
|
1759
|
+
"http.request.jwt.claims.sub.names",
|
|
1760
|
+
"http.request.jwt.claims.sub.values",
|
|
1761
|
+
"http.request.method",
|
|
1762
|
+
"http.request.timestamp.sec",
|
|
1763
|
+
"http.request.uri",
|
|
1764
|
+
"http.request.uri.args",
|
|
1765
|
+
"http.request.uri.args.names",
|
|
1766
|
+
"http.request.uri.args.values",
|
|
1767
|
+
"http.request.uri.path",
|
|
1768
|
+
"http.request.uri.path.extension",
|
|
1769
|
+
"http.request.uri.query",
|
|
1770
|
+
"http.user_agent",
|
|
1771
|
+
"raw.http.request.headers",
|
|
1772
|
+
"raw.http.request.headers.names",
|
|
1773
|
+
"raw.http.request.headers.truncated",
|
|
1774
|
+
"raw.http.request.headers.values",
|
|
1775
|
+
"raw.http.request.uri",
|
|
1776
|
+
"raw.http.request.uri.args",
|
|
1777
|
+
"raw.http.request.uri.args.names",
|
|
1778
|
+
"raw.http.request.uri.args.values",
|
|
1779
|
+
"raw.http.request.uri.path",
|
|
1780
|
+
"raw.http.request.uri.path.extension",
|
|
1781
|
+
"raw.http.request.uri.query"
|
|
1782
|
+
]
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"name": "timestamp",
|
|
1786
|
+
"types": [
|
|
1787
|
+
"Integer"
|
|
1788
|
+
],
|
|
1789
|
+
"acceptsFieldUsageKinds": [
|
|
1790
|
+
"scalar"
|
|
1791
|
+
],
|
|
1792
|
+
"allowedFields": [
|
|
1793
|
+
"http.request.cookies",
|
|
1794
|
+
"http.request.headers",
|
|
1795
|
+
"http.request.headers.names",
|
|
1796
|
+
"http.request.headers.truncated",
|
|
1797
|
+
"http.request.headers.values",
|
|
1798
|
+
"http.request.jwt.claims",
|
|
1799
|
+
"http.request.jwt.claims.aud",
|
|
1800
|
+
"http.request.jwt.claims.aud.names",
|
|
1801
|
+
"http.request.jwt.claims.aud.values",
|
|
1802
|
+
"http.request.jwt.claims.iat.sec",
|
|
1803
|
+
"http.request.jwt.claims.iat.sec.names",
|
|
1804
|
+
"http.request.jwt.claims.iat.sec.values",
|
|
1805
|
+
"http.request.jwt.claims.iss",
|
|
1806
|
+
"http.request.jwt.claims.iss.names",
|
|
1807
|
+
"http.request.jwt.claims.iss.values",
|
|
1808
|
+
"http.request.jwt.claims.jti",
|
|
1809
|
+
"http.request.jwt.claims.jti.names",
|
|
1810
|
+
"http.request.jwt.claims.jti.values",
|
|
1811
|
+
"http.request.jwt.claims.nbf.sec",
|
|
1812
|
+
"http.request.jwt.claims.nbf.sec.names",
|
|
1813
|
+
"http.request.jwt.claims.nbf.sec.values",
|
|
1814
|
+
"http.request.jwt.claims.sub",
|
|
1815
|
+
"http.request.jwt.claims.sub.names",
|
|
1816
|
+
"http.request.jwt.claims.sub.values",
|
|
1817
|
+
"http.request.method",
|
|
1818
|
+
"http.request.timestamp.sec",
|
|
1819
|
+
"http.request.uri",
|
|
1820
|
+
"http.request.uri.args",
|
|
1821
|
+
"http.request.uri.args.names",
|
|
1822
|
+
"http.request.uri.args.values",
|
|
1823
|
+
"http.request.uri.path",
|
|
1824
|
+
"http.request.uri.path.extension",
|
|
1825
|
+
"http.request.uri.query",
|
|
1826
|
+
"http.user_agent",
|
|
1827
|
+
"raw.http.request.headers",
|
|
1828
|
+
"raw.http.request.headers.names",
|
|
1829
|
+
"raw.http.request.headers.truncated",
|
|
1830
|
+
"raw.http.request.headers.values",
|
|
1831
|
+
"raw.http.request.uri",
|
|
1832
|
+
"raw.http.request.uri.args",
|
|
1833
|
+
"raw.http.request.uri.args.names",
|
|
1834
|
+
"raw.http.request.uri.args.values",
|
|
1835
|
+
"raw.http.request.uri.path",
|
|
1836
|
+
"raw.http.request.uri.path.extension",
|
|
1837
|
+
"raw.http.request.uri.query"
|
|
1838
|
+
]
|
|
1839
|
+
},
|
|
1840
|
+
{
|
|
1841
|
+
"name": "region",
|
|
1842
|
+
"types": [
|
|
1843
|
+
"String",
|
|
1844
|
+
"Bytes"
|
|
1845
|
+
],
|
|
1846
|
+
"nonEmpty": true,
|
|
1847
|
+
"acceptsFieldUsageKinds": [
|
|
1848
|
+
"scalar"
|
|
1849
|
+
],
|
|
1850
|
+
"allowedFields": [
|
|
1851
|
+
"http.request.cookies",
|
|
1852
|
+
"http.request.headers",
|
|
1853
|
+
"http.request.headers.names",
|
|
1854
|
+
"http.request.headers.truncated",
|
|
1855
|
+
"http.request.headers.values",
|
|
1856
|
+
"http.request.jwt.claims",
|
|
1857
|
+
"http.request.jwt.claims.aud",
|
|
1858
|
+
"http.request.jwt.claims.aud.names",
|
|
1859
|
+
"http.request.jwt.claims.aud.values",
|
|
1860
|
+
"http.request.jwt.claims.iat.sec",
|
|
1861
|
+
"http.request.jwt.claims.iat.sec.names",
|
|
1862
|
+
"http.request.jwt.claims.iat.sec.values",
|
|
1863
|
+
"http.request.jwt.claims.iss",
|
|
1864
|
+
"http.request.jwt.claims.iss.names",
|
|
1865
|
+
"http.request.jwt.claims.iss.values",
|
|
1866
|
+
"http.request.jwt.claims.jti",
|
|
1867
|
+
"http.request.jwt.claims.jti.names",
|
|
1868
|
+
"http.request.jwt.claims.jti.values",
|
|
1869
|
+
"http.request.jwt.claims.nbf.sec",
|
|
1870
|
+
"http.request.jwt.claims.nbf.sec.names",
|
|
1871
|
+
"http.request.jwt.claims.nbf.sec.values",
|
|
1872
|
+
"http.request.jwt.claims.sub",
|
|
1873
|
+
"http.request.jwt.claims.sub.names",
|
|
1874
|
+
"http.request.jwt.claims.sub.values",
|
|
1875
|
+
"http.request.method",
|
|
1876
|
+
"http.request.timestamp.sec",
|
|
1877
|
+
"http.request.uri",
|
|
1878
|
+
"http.request.uri.args",
|
|
1879
|
+
"http.request.uri.args.names",
|
|
1880
|
+
"http.request.uri.args.values",
|
|
1881
|
+
"http.request.uri.path",
|
|
1882
|
+
"http.request.uri.path.extension",
|
|
1883
|
+
"http.request.uri.query",
|
|
1884
|
+
"http.user_agent",
|
|
1885
|
+
"raw.http.request.headers",
|
|
1886
|
+
"raw.http.request.headers.names",
|
|
1887
|
+
"raw.http.request.headers.truncated",
|
|
1888
|
+
"raw.http.request.headers.values",
|
|
1889
|
+
"raw.http.request.uri",
|
|
1890
|
+
"raw.http.request.uri.args",
|
|
1891
|
+
"raw.http.request.uri.args.names",
|
|
1892
|
+
"raw.http.request.uri.args.values",
|
|
1893
|
+
"raw.http.request.uri.path",
|
|
1894
|
+
"raw.http.request.uri.path.extension",
|
|
1895
|
+
"raw.http.request.uri.query"
|
|
1896
|
+
]
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
"name": "service",
|
|
1900
|
+
"types": [
|
|
1901
|
+
"String",
|
|
1902
|
+
"Bytes"
|
|
1903
|
+
],
|
|
1904
|
+
"nonEmpty": true,
|
|
1905
|
+
"acceptsFieldUsageKinds": [
|
|
1906
|
+
"scalar"
|
|
1907
|
+
],
|
|
1908
|
+
"allowedFields": [
|
|
1909
|
+
"http.request.cookies",
|
|
1910
|
+
"http.request.headers",
|
|
1911
|
+
"http.request.headers.names",
|
|
1912
|
+
"http.request.headers.truncated",
|
|
1913
|
+
"http.request.headers.values",
|
|
1914
|
+
"http.request.jwt.claims",
|
|
1915
|
+
"http.request.jwt.claims.aud",
|
|
1916
|
+
"http.request.jwt.claims.aud.names",
|
|
1917
|
+
"http.request.jwt.claims.aud.values",
|
|
1918
|
+
"http.request.jwt.claims.iat.sec",
|
|
1919
|
+
"http.request.jwt.claims.iat.sec.names",
|
|
1920
|
+
"http.request.jwt.claims.iat.sec.values",
|
|
1921
|
+
"http.request.jwt.claims.iss",
|
|
1922
|
+
"http.request.jwt.claims.iss.names",
|
|
1923
|
+
"http.request.jwt.claims.iss.values",
|
|
1924
|
+
"http.request.jwt.claims.jti",
|
|
1925
|
+
"http.request.jwt.claims.jti.names",
|
|
1926
|
+
"http.request.jwt.claims.jti.values",
|
|
1927
|
+
"http.request.jwt.claims.nbf.sec",
|
|
1928
|
+
"http.request.jwt.claims.nbf.sec.names",
|
|
1929
|
+
"http.request.jwt.claims.nbf.sec.values",
|
|
1930
|
+
"http.request.jwt.claims.sub",
|
|
1931
|
+
"http.request.jwt.claims.sub.names",
|
|
1932
|
+
"http.request.jwt.claims.sub.values",
|
|
1933
|
+
"http.request.method",
|
|
1934
|
+
"http.request.timestamp.sec",
|
|
1935
|
+
"http.request.uri",
|
|
1936
|
+
"http.request.uri.args",
|
|
1937
|
+
"http.request.uri.args.names",
|
|
1938
|
+
"http.request.uri.args.values",
|
|
1939
|
+
"http.request.uri.path",
|
|
1940
|
+
"http.request.uri.path.extension",
|
|
1941
|
+
"http.request.uri.query",
|
|
1942
|
+
"http.user_agent",
|
|
1943
|
+
"raw.http.request.headers",
|
|
1944
|
+
"raw.http.request.headers.names",
|
|
1945
|
+
"raw.http.request.headers.truncated",
|
|
1946
|
+
"raw.http.request.headers.values",
|
|
1947
|
+
"raw.http.request.uri",
|
|
1948
|
+
"raw.http.request.uri.args",
|
|
1949
|
+
"raw.http.request.uri.args.names",
|
|
1950
|
+
"raw.http.request.uri.args.values",
|
|
1951
|
+
"raw.http.request.uri.path",
|
|
1952
|
+
"raw.http.request.uri.path.extension",
|
|
1953
|
+
"raw.http.request.uri.query"
|
|
1954
|
+
]
|
|
1955
|
+
},
|
|
1956
|
+
{
|
|
1957
|
+
"name": "prefix",
|
|
1958
|
+
"types": [
|
|
1959
|
+
"String",
|
|
1960
|
+
"Bytes"
|
|
1961
|
+
],
|
|
1962
|
+
"nonEmpty": true,
|
|
1963
|
+
"acceptsFieldUsageKinds": [
|
|
1964
|
+
"scalar"
|
|
1965
|
+
],
|
|
1966
|
+
"allowedFields": [
|
|
1967
|
+
"http.request.cookies",
|
|
1968
|
+
"http.request.headers",
|
|
1969
|
+
"http.request.headers.names",
|
|
1970
|
+
"http.request.headers.truncated",
|
|
1971
|
+
"http.request.headers.values",
|
|
1972
|
+
"http.request.jwt.claims",
|
|
1973
|
+
"http.request.jwt.claims.aud",
|
|
1974
|
+
"http.request.jwt.claims.aud.names",
|
|
1975
|
+
"http.request.jwt.claims.aud.values",
|
|
1976
|
+
"http.request.jwt.claims.iat.sec",
|
|
1977
|
+
"http.request.jwt.claims.iat.sec.names",
|
|
1978
|
+
"http.request.jwt.claims.iat.sec.values",
|
|
1979
|
+
"http.request.jwt.claims.iss",
|
|
1980
|
+
"http.request.jwt.claims.iss.names",
|
|
1981
|
+
"http.request.jwt.claims.iss.values",
|
|
1982
|
+
"http.request.jwt.claims.jti",
|
|
1983
|
+
"http.request.jwt.claims.jti.names",
|
|
1984
|
+
"http.request.jwt.claims.jti.values",
|
|
1985
|
+
"http.request.jwt.claims.nbf.sec",
|
|
1986
|
+
"http.request.jwt.claims.nbf.sec.names",
|
|
1987
|
+
"http.request.jwt.claims.nbf.sec.values",
|
|
1988
|
+
"http.request.jwt.claims.sub",
|
|
1989
|
+
"http.request.jwt.claims.sub.names",
|
|
1990
|
+
"http.request.jwt.claims.sub.values",
|
|
1991
|
+
"http.request.method",
|
|
1992
|
+
"http.request.timestamp.sec",
|
|
1993
|
+
"http.request.uri",
|
|
1994
|
+
"http.request.uri.args",
|
|
1995
|
+
"http.request.uri.args.names",
|
|
1996
|
+
"http.request.uri.args.values",
|
|
1997
|
+
"http.request.uri.path",
|
|
1998
|
+
"http.request.uri.path.extension",
|
|
1999
|
+
"http.request.uri.query",
|
|
2000
|
+
"http.user_agent",
|
|
2001
|
+
"raw.http.request.headers",
|
|
2002
|
+
"raw.http.request.headers.names",
|
|
2003
|
+
"raw.http.request.headers.truncated",
|
|
2004
|
+
"raw.http.request.headers.values",
|
|
2005
|
+
"raw.http.request.uri",
|
|
2006
|
+
"raw.http.request.uri.args",
|
|
2007
|
+
"raw.http.request.uri.args.names",
|
|
2008
|
+
"raw.http.request.uri.args.values",
|
|
2009
|
+
"raw.http.request.uri.path",
|
|
2010
|
+
"raw.http.request.uri.path.extension",
|
|
2011
|
+
"raw.http.request.uri.query"
|
|
2012
|
+
]
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"name": "terminator",
|
|
2016
|
+
"types": [
|
|
2017
|
+
"String",
|
|
2018
|
+
"Bytes"
|
|
2019
|
+
],
|
|
2020
|
+
"nonEmpty": true,
|
|
2021
|
+
"acceptsFieldUsageKinds": [
|
|
2022
|
+
"scalar"
|
|
1192
2023
|
],
|
|
1193
2024
|
"allowedFields": [
|
|
1194
2025
|
"http.request.cookies",
|
|
@@ -1215,6 +2046,7 @@ export const RULE_EXPRESSION_FUNCTION_DESCRIPTIONS = {
|
|
|
1215
2046
|
"http.request.jwt.claims.sub",
|
|
1216
2047
|
"http.request.jwt.claims.sub.names",
|
|
1217
2048
|
"http.request.jwt.claims.sub.values",
|
|
2049
|
+
"http.request.method",
|
|
1218
2050
|
"http.request.timestamp.sec",
|
|
1219
2051
|
"http.request.uri",
|
|
1220
2052
|
"http.request.uri.args",
|