You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be valid: https://local.com:8080/kas/v2/kas_public_key but instead gives:
public_key.remote: URI must be a valid URL (e.g., 'https://demo.com/') followed by additional segments. Each segment must start and end with an alphanumeric character, can contain hyphens, alphanumeric characters, and slashes. [uri_format]
Acceptance Criteria
consider if this.isUri() is a better CEL validator for this need
port numbers are allowed
unit tests added to proto validation for this scenario:
This line of regex denies a port number in a registered KAS's remote public key URI: https://github.com/opentdf/platform/blob/main/service/policy/objects.proto#L302
This should be valid:
https://local.com:8080/kas/v2/kas_public_key
but instead gives:public_key.remote: URI must be a valid URL (e.g., 'https://demo.com/') followed by additional segments. Each segment must start and end with an alphanumeric character, can contain hyphens, alphanumeric characters, and slashes. [uri_format]
Acceptance Criteria
this.isUri()
is a better CEL validator for this needplatform/service/policy/kasregistry/key_access_server_registry_test.go
Line 208 in ec46a3a
The text was updated successfully, but these errors were encountered: