Configuration changes are logged in the Audit protocol and can be exported via a script. The script can be used in the LMC to create Add-in scripts.

1) In the Unified Firewall navigate to the menu item Monitoring & Statistics → Logs → Audit log.

2) Filter the Audit log via the Action field for Update, so that only configuration changes are shown.

The whole Audit protocol will be exported if it isn't filtered, i.e. logins to the Unified Firewall. In this case the scripts are still functional, as the superfluous components are commented out, but the overview is reduced greatly.

3) Export the script via one of the following methods: 

Depending on the used export method, the script can be imported into the LMC or copied to an existing Add-in.

If the third method is used (exporting a code snippet of a configuration change), the following rows have to be addded to an Add-in manually:

const fwVersion = context.device.firmwareVersionObject;
const ufApi = config.getUfApi();

  • Export → Export for LMC Import: Exports the displayed Audit log as a *.json file. This file can then be imported into the LMC.

  • Export → Copy Script to Clipboard: Copies the displayed Audit log to the clipboard as a script. The content of the clipboard can then be copied into an LMC Add-in manually.

  • LMC button next to a configuration change: Copies a code snippet of the configuration change to the clipboard.