From ae8448de055635d9f9e8e786a8a7ae0c998b699c Mon Sep 17 00:00:00 2001 From: Guilherme Cassolato Date: Fri, 15 Nov 2024 11:28:07 -0700 Subject: [PATCH] Descriptions for the CEL fields of the API Signed-off-by: Guilherme Cassolato --- api/v1beta3/auth_config_types.go | 8 + .../authorino.kuadrant.io_authconfigs.yaml | 159 ++++++++++++++++++ install/manifests.yaml | 159 ++++++++++++++++++ 3 files changed, 326 insertions(+) diff --git a/api/v1beta3/auth_config_types.go b/api/v1beta3/auth_config_types.go index 53a9eae7..ec162ffa 100644 --- a/api/v1beta3/auth_config_types.go +++ b/api/v1beta3/auth_config_types.go @@ -167,6 +167,8 @@ type PatternExpression struct { type CelExpression string type CelPredicate struct { + // A Common Expression Language (CEL) expression that evaluates to a boolean. + // String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). Predicate string `json:"predicate,omitempty"` } @@ -206,6 +208,8 @@ type ValueOrSelector struct { // The following Authorino custom modifiers are supported: @extract:{sep:" ",pos:0}, @replace{old:"",new:""}, @case:upper|lower, @base64:encode|decode and @strip. Selector string `json:"selector,omitempty"` + // A Common Expression Language (CEL) expression that evaluates to a value. + // String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). Expression CelExpression `json:"expression,omitempty"` } @@ -411,6 +415,8 @@ type PlainIdentitySpec struct { // The following Authorino custom modifiers are supported: @extract:{sep:" ",pos:0}, @replace{old:"",new:""}, @case:upper|lower, @base64:encode|decode and @strip. Selector string `json:"selector,omitempty"` + // A Common Expression Language (CEL) expression that evaluates to a value that represents an identity. + // String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). Expression CelExpression `json:"expression,omitempty"` } @@ -449,6 +455,8 @@ type HttpEndpointSpec struct { // E.g. https://ext-auth-server.io/metadata?p={request.path} Url string `json:"url,omitempty"` + // A Common Expression Language (CEL) expression that evaluates to a string endpoint URL of the HTTP service to call. + // String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). UrlExpression CelExpression `json:"urlExpression,omitempty"` // HTTP verb used in the request to the service. Accepted values: GET (default), POST. diff --git a/install/crd/authorino.kuadrant.io_authconfigs.yaml b/install/crd/authorino.kuadrant.io_authconfigs.yaml index c658c8f8..242ba008 100644 --- a/install/crd/authorino.kuadrant.io_authconfigs.yaml +++ b/install/crd/authorino.kuadrant.io_authconfigs.yaml @@ -2453,6 +2453,9 @@ spec: The resolved key must be unique within the scope of this particular config. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -2508,6 +2511,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -2590,6 +2596,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -2613,6 +2622,9 @@ spec: Use this method when authentication is performed beforehand by a proxy and the resulting object passed to Authorino as JSON in the auth request. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value that represents an identity. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -2663,6 +2675,9 @@ spec: description: Reference to a named set of pattern expressions type: string predicate: + description: |- + A Common Expression Language (CEL) expression that evaluates to a boolean. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -2756,6 +2771,9 @@ spec: The resolved key must be unique within the scope of this particular config. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -2796,6 +2814,9 @@ spec: Use '*' for all API groups. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -2813,6 +2834,9 @@ spec: Omit it to check for authorization on all resources of the specified kind. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -2829,6 +2853,9 @@ spec: on the resource. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -2846,6 +2873,9 @@ spec: Use '*' for all resource kinds. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -2861,6 +2891,9 @@ spec: description: Subresource kind properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -2878,6 +2911,9 @@ spec: Use '*' for all verbs. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -2896,6 +2932,9 @@ spec: Omit it to check for group authorization only. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -2937,6 +2976,9 @@ spec: Use it with method=POST; for GET requests, set parameters as query string in the 'endpoint' (placeholders can be used). properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -2952,6 +2994,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3013,6 +3058,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3122,6 +3170,9 @@ spec: E.g. https://ext-auth-server.io/metadata?p={request.path} type: string urlExpression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a string endpoint URL of the HTTP service to call. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string type: object rego: @@ -3166,6 +3217,9 @@ spec: description: Reference to a named set of pattern expressions type: string predicate: + description: |- + A Common Expression Language (CEL) expression that evaluates to a boolean. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3206,6 +3260,9 @@ spec: which to execute the check. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3224,6 +3281,9 @@ spec: kind: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3238,6 +3298,9 @@ spec: name: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3274,6 +3337,9 @@ spec: kind: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3288,6 +3354,9 @@ spec: name: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3339,6 +3408,9 @@ spec: description: Reference to a named set of pattern expressions type: string predicate: + description: |- + A Common Expression Language (CEL) expression that evaluates to a boolean. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3372,6 +3444,9 @@ spec: The resolved key must be unique within the scope of this particular config. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3401,6 +3476,9 @@ spec: Use it with method=POST; for GET requests, set parameters as query string in the 'endpoint' (placeholders can be used). properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3416,6 +3494,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3477,6 +3558,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3582,6 +3666,9 @@ spec: E.g. https://ext-auth-server.io/metadata?p={request.path} type: string urlExpression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a string endpoint URL of the HTTP service to call. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string type: object metrics: @@ -3631,6 +3718,9 @@ spec: description: Reference to a named set of pattern expressions type: string predicate: + description: |- + A Common Expression Language (CEL) expression that evaluates to a boolean. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3673,6 +3763,9 @@ spec: The resolved key must be unique within the scope of this particular config. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3702,6 +3795,9 @@ spec: Use it with method=POST; for GET requests, set parameters as query string in the 'endpoint' (placeholders can be used). properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3717,6 +3813,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3778,6 +3877,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3883,6 +3985,9 @@ spec: E.g. https://ext-auth-server.io/metadata?p={request.path} type: string urlExpression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a string endpoint URL of the HTTP service to call. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string type: object metrics: @@ -3969,6 +4074,9 @@ spec: description: Reference to a named set of pattern expressions type: string predicate: + description: |- + A Common Expression Language (CEL) expression that evaluates to a boolean. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4044,6 +4152,9 @@ spec: The resolved key must be unique within the scope of this particular config. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4073,6 +4184,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4102,6 +4216,9 @@ spec: description: Plain text content properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4156,6 +4273,9 @@ spec: expressions type: string predicate: + description: |- + A Common Expression Language (CEL) expression that evaluates to a boolean. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4177,6 +4297,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4253,6 +4376,9 @@ spec: The resolved key must be unique within the scope of this particular config. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4282,6 +4408,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4311,6 +4440,9 @@ spec: description: Plain text content properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4365,6 +4497,9 @@ spec: expressions type: string predicate: + description: |- + A Common Expression Language (CEL) expression that evaluates to a boolean. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4386,6 +4521,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4459,6 +4597,9 @@ spec: body. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4481,6 +4622,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4499,6 +4643,9 @@ spec: description: HTTP message to override the default denial message. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4522,6 +4669,9 @@ spec: body. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4544,6 +4694,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4562,6 +4715,9 @@ spec: description: HTTP message to override the default denial message. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4611,6 +4767,9 @@ spec: description: Reference to a named set of pattern expressions type: string predicate: + description: |- + A Common Expression Language (CEL) expression that evaluates to a boolean. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- diff --git a/install/manifests.yaml b/install/manifests.yaml index a0ed239b..46761613 100644 --- a/install/manifests.yaml +++ b/install/manifests.yaml @@ -2720,6 +2720,9 @@ spec: The resolved key must be unique within the scope of this particular config. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -2775,6 +2778,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -2857,6 +2863,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -2880,6 +2889,9 @@ spec: Use this method when authentication is performed beforehand by a proxy and the resulting object passed to Authorino as JSON in the auth request. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value that represents an identity. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -2954,6 +2966,9 @@ spec: description: Reference to a named set of pattern expressions type: string predicate: + description: |- + A Common Expression Language (CEL) expression that evaluates to a boolean. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3064,6 +3079,9 @@ spec: The resolved key must be unique within the scope of this particular config. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3104,6 +3122,9 @@ spec: Use '*' for all API groups. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3121,6 +3142,9 @@ spec: Omit it to check for authorization on all resources of the specified kind. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3137,6 +3161,9 @@ spec: on the resource. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3154,6 +3181,9 @@ spec: Use '*' for all resource kinds. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3169,6 +3199,9 @@ spec: description: Subresource kind properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3186,6 +3219,9 @@ spec: Use '*' for all verbs. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3204,6 +3240,9 @@ spec: Omit it to check for group authorization only. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3245,6 +3284,9 @@ spec: Use it with method=POST; for GET requests, set parameters as query string in the 'endpoint' (placeholders can be used). properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3260,6 +3302,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3321,6 +3366,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3430,6 +3478,9 @@ spec: E.g. https://ext-auth-server.io/metadata?p={request.path} type: string urlExpression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a string endpoint URL of the HTTP service to call. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string type: object rego: @@ -3498,6 +3549,9 @@ spec: description: Reference to a named set of pattern expressions type: string predicate: + description: |- + A Common Expression Language (CEL) expression that evaluates to a boolean. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3538,6 +3592,9 @@ spec: which to execute the check. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3556,6 +3613,9 @@ spec: kind: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3570,6 +3630,9 @@ spec: name: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3606,6 +3669,9 @@ spec: kind: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3620,6 +3686,9 @@ spec: name: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3695,6 +3764,9 @@ spec: description: Reference to a named set of pattern expressions type: string predicate: + description: |- + A Common Expression Language (CEL) expression that evaluates to a boolean. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3728,6 +3800,9 @@ spec: The resolved key must be unique within the scope of this particular config. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3757,6 +3832,9 @@ spec: Use it with method=POST; for GET requests, set parameters as query string in the 'endpoint' (placeholders can be used). properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3772,6 +3850,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3833,6 +3914,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -3938,6 +4022,9 @@ spec: E.g. https://ext-auth-server.io/metadata?p={request.path} type: string urlExpression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a string endpoint URL of the HTTP service to call. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string type: object metrics: @@ -3987,6 +4074,9 @@ spec: description: Reference to a named set of pattern expressions type: string predicate: + description: |- + A Common Expression Language (CEL) expression that evaluates to a boolean. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4042,6 +4132,9 @@ spec: The resolved key must be unique within the scope of this particular config. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4071,6 +4164,9 @@ spec: Use it with method=POST; for GET requests, set parameters as query string in the 'endpoint' (placeholders can be used). properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4086,6 +4182,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4147,6 +4246,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4252,6 +4354,9 @@ spec: E.g. https://ext-auth-server.io/metadata?p={request.path} type: string urlExpression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a string endpoint URL of the HTTP service to call. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string type: object metrics: @@ -4362,6 +4467,9 @@ spec: description: Reference to a named set of pattern expressions type: string predicate: + description: |- + A Common Expression Language (CEL) expression that evaluates to a boolean. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4450,6 +4558,9 @@ spec: The resolved key must be unique within the scope of this particular config. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4479,6 +4590,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4508,6 +4622,9 @@ spec: description: Plain text content properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4586,6 +4703,9 @@ spec: expressions type: string predicate: + description: |- + A Common Expression Language (CEL) expression that evaluates to a boolean. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4607,6 +4727,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4696,6 +4819,9 @@ spec: The resolved key must be unique within the scope of this particular config. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4725,6 +4851,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4754,6 +4883,9 @@ spec: description: Plain text content properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4832,6 +4964,9 @@ spec: expressions type: string predicate: + description: |- + A Common Expression Language (CEL) expression that evaluates to a boolean. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4853,6 +4988,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4926,6 +5064,9 @@ spec: body. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4948,6 +5089,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4966,6 +5110,9 @@ spec: description: HTTP message to override the default denial message. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -4989,6 +5136,9 @@ spec: body. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -5011,6 +5161,9 @@ spec: additionalProperties: properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -5029,6 +5182,9 @@ spec: description: HTTP message to override the default denial message. properties: expression: + description: |- + A Common Expression Language (CEL) expression that evaluates to a value. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |- @@ -5102,6 +5258,9 @@ spec: description: Reference to a named set of pattern expressions type: string predicate: + description: |- + A Common Expression Language (CEL) expression that evaluates to a boolean. + String expressions are supported (https://pkg.go.dev/github.com/google/cel-go/ext#Strings). type: string selector: description: |-