Files
teleport/lib/utils/typical
Dan Upton a79ad40713 lib/utils/typical: support == and != operators for integers (#52521)
* lib/utils/typical: support `==` and `!=` operators for integers

In #52460, we're adopting the Teleport predicate language for Workload Identity
rules. We currently allow you to match on the equality/inequality of the attested
process' PID, GID, and UID, but this wasn't supported in the predicate language.

We now check the operand types at compile-time and choose the correct
booleanOperator. If both operands are dynamically typed (e.g. `ifelse`) we do
not allow you to use the `==` or `!=` operators.

* Fix compile/parse time nomenclature

* Rename type parameters for clarity
2025-03-11 19:18:57 +00:00
..
2025-01-01 15:27:05 +00:00