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
When passing a json inventory as input for evaluation, the data validation is very basic (it loads or not according to if it can be parsed into the correct struct).
The error message may not be helpful to the user.
Solution
Investigate a more elaborate validation (likely using / producing a json schema) and validating against it.
Problem
When passing a json inventory as input for evaluation, the data validation is very basic (it loads or not according to if it can be parsed into the correct struct).
The error message may not be helpful to the user.
Solution
Investigate a more elaborate validation (likely using / producing a json schema) and validating against it.
Alternatives
Additional context or elements
https://blog.logrocket.com/json-input-validation-in-rust-web-services/
The text was updated successfully, but these errors were encountered: