So last week I finally had a chance to put some of api magic to good use .
Our environment runs multiple R80.10 gateway clusters with R80.30 management server (NOT mds ) .
Following recent to and fro with auditors we decided to tweak few things , re-group a lot of hosts and adjust how we log things .
Rule shifting , group management , adding and removing bunch of hosts , editing colors etc. Sounds like ideal case for API to be used .
Yours truly gleefully opened Smart console cli and went to api the **bleep** out of it (thank you Mark Watney).
It went smoothly and was genuine fun right until the logging bit .
Either I am missing something , or not getting the method but it seems like there is no api means to adjust the logging level on specific rule .
Create rule - check
enable track (log) - check
But whatever I could think of setting LOG to cover connection and session nothing seems to do it .
I wonder if there is a way to capture specific command issued by GUI version of Smartconsole to replicate in API .
Thoughts and suggestions welcomed.