[Fleet] Add validation to package policy input variables #136945
Labels
enhancement
New value added to drive a business result
Team:Fleet
Team label for Observability Data Collection Fleet team
We had some occurrences when it was hard to debug what is wrong with the package policy create request.
Input variables have a type, and Fleet could do a validation that the value is valid for that type.
For example, integer type variable should have a valid integer value.
This would help debugging when the package policy creation fails on an invalid value.
E.g. trying to create a package policy with an input var
max_agents
of type integer would give a meaningful error when trying to use value12,000
The text was updated successfully, but these errors were encountered: