🛒 More SmartTasks
👍 Tested to be working with R81.20+
SmartTask to verify if the Gaia Clish configuration of the security management was saved via save config.
Script code
Copy the code below into a new script 'Task_ConfigSaveState' of your SmartConsole script repository.
test "$(clish -c 'show config-state' | grep -i '^unsaved$')" && echo '{"result":"failure","message":"Gaia Clish configuration changes are not saved on the security management."}' || echo '{"result":"success"}'
SmartTask
Create a new SmartTask in SmartConsole > Manage & Settings > SmartTasks and install policy to activate the new task.
| Name |
Description |
Trigger |
Action |
Enabled |
| Detect Unsaved Config State |
Check for unsaved Gaia Clish config states on the security management. |
Before Publish |
Run Script |
✔️ |