To prevent Log injection, I need to validate the query parameters (country, pesticide and crop) in WSO2 AM. the API looks like below,
http://172.17.100.149/api/mrldatabase/v1/reports?country=AUS&pesticide=ABew30000&crop=22020347
Really appreciate if someone can show me a way of validation.