I have played around with the Sophos SG a bit, and found that the config is not really displayed over SSH in a format, that NCM can properly understand.
Can you list the commands with screenshots how you would obtain the config on the XG?
Maybe the XG is a bit more friendly than the SG.
From the web interface you can export/import the (Selective) configuration files resulting in a .tar file containing XML.
These XML files would be readable by NCM and a good base to check on differences and select which version to import to restore a "good" situation.
I have looked for possibilities to run the export from the console/Advanced Shell and the location of the config files on the Sophos firewall, but have not found any
So I know what I want, but not how to get it. I guess no one else before me did either
Unfortunately, this is not how NCM works. We need to get the config somehow via SSH.
would there be any other form of scripted way to get the xml config? I know the SG has an API but I haven’t looked into that.