Hi everyone - basic question, is it possible to get the current version # through an API call to Sophos XG? I'm looking through the API documentation, and I don't see it.
This thread was automatically locked due to age.
Hi everyone - basic question, is it possible to get the current version # through an API call to Sophos XG? I'm looking through the API documentation, and I don't see it.
what would a CLI login script look like? We'd really like to do this.
what would a CLI login script look like? We'd really like to do this.
Most CLI programs can work with the "expect" function. https://hostadvice.com/how-to/how-to-automate-tasks-in-ssh/
So you can use the login to CLI via SSH (SSH key preferable).
Then you use the output, which gets back to you and "expect" your way through CLI (advanced shell).
XG also present directly: Sophos Firmware Version SFOS 18.0.3 MR-3
So you can actually use this output print as a variable and paste it into your desired format.