Commits

Andris Zeila authored e1abf351285
...G...... [ZBX-17759] aliased EnableRemoteCommands to Allow/DenyKey=system.run[*], added default DenyKey=system.run[*] rule for backwards compatibility * commit 'e83cf076c05bc67b074bbd2237060d9a6f0d9adb': (21 commits) .D........ [ZBX-17759] added changelog entry ...G...... [ZBX-17759] ignore system.run rules when removing trailing AllowKey (redundant) rules .......... [ZBX-17759] fixed tests .......... [ZBX-17759] updated agent2 key access rule tests ...G...... [ZBX-17759] fixed default system.run[*] deny rule applying for agent2 .......... [ZBX-17769] updated tests because defaault system.run[*] deny rule is not added if any 'match all' rule is present ...G...... [ZBX-17759] fixed default system.run[*] deny rule handling ...G...... [ZBX-17759] ignore key access rules when processing local checks (Host*Item configuration parameters) ...G...... [ZBX-17759] added warnings about unreachable/redundant key access rules for agent2 ...G...... [ZBX-17759] fixed crash in key access rule parsing ...G...... [ZBX-17759] changed printed ryle types from allow/deny to AllowKey/DenyKey to match other messages ...G...... [ZBX-17759] added warning message when removing unreachable/redundant key access rules ...G...... [ZBX-17759] fixed warning message ...G...... [ZBX-17759] style fix, skip code block that is not used when there are no parameters defined .......... [ZBX-17759] updated configuration files ...G...... [ZBX-17759] style fix, const .......... [ZBX-17759] update agent configuration files ...G...... [ZBX-17759] removed redundant variable, fixed missing prototype warning ...G...... [ZBX-17759] removed EnableRemoteCommands parameter from agent2, updated warning message about duplicated rules ...G...... [ZBX-17759] update allow/deny key rule processing to match C agent logic ... (cherry picked from commit a8e00c66959392d3308028345787566fd0df7a45)