-
Problem report
-
Resolution: Unresolved
-
Major
-
None
-
6.0.29, 6.4.14
-
None
-
Support backlog
Since Zabbix 5.4, "Application" is depreciated, however, it is still possible to create an API call using application filter.
Steps to reproduce:
Create an API call with item.get method using params : application filter:
curl --request POST \ --url 'http://127.0.0.1/api_jsonrpc.php' \ --header 'Authorization: Bearer 62596ff9348d59428acd4d7d01b3710ef8618ba72956c0743400941402569io2' \ --header 'Content-Type: application/json-rpc' \ --data '{"jsonrpc":"2.0","method":"item.get","params":{"application":"test"},"id":1}'
Result:
API call is successful.
Expected:
API call fails with 'invalid parameter'