-
Incident report
-
Resolution: Won't fix
-
Critical
-
None
-
1.8.14rc1, 2.1.0
Existing action: name => Action2
This method returns true (which is wrong) in any cases if something is wrong in request.
Request:
{"jsonrpc":"2.0","method":"action.exists","params":{"nasdsdfsdffme":"Action2w"},"id":0,"auth":"4fa77f1cd19429940ad7e8119b624739"} Response: { "jsonrpc":"2.0", "result":true, "id":0}
Request:
{"jsonrpc":"2.0","method":"action.exists","params":{"name":"Action2w"},"id":0,"auth":"4fa77f1cd19429940ad7e8119b624739"} Response: { "jsonrpc":"2.0", "result":false, "id":0}
Request:
{"jsonrpc":"2.0","method":"action.exists","params":{"name":"Action2"},"id":0,"auth":"4fa77f1cd19429940ad7e8119b624739"} Response: { "jsonrpc":"2.0", "result":true, "id":0}
EMPTY REQUEST:
Request:
{"jsonrpc":"2.0","method":"action.exists","params":{},"id":0,"auth":"4fa77f1cd19429940ad7e8119b624739"} Response: { "jsonrpc":"2.0", "result":true, "id":0}
- duplicates
-
ZBX-3783 Proper API validation
- Reopened