Open marcelamelara opened 1 year ago
Update: Looks like this is a possible tool we could use for this https://github.com/bufbuild/protovalidate, which uses CEL rules for custom protobuf validation.
@in-toto/attestation-maintainers thoughts on switching to something like this, rather than implementing language specific validators (as we do now)?
Currently, we implement separate validator functions for the Statement and predicate layer language bindings. In the future, we may be able to replace these per-language validators with something more portable.
Opening this issue to not lose track of this option.
Originally posted by @marcelamelara in https://github.com/in-toto/attestation/issues/220#issuecomment-1548577499