SophosFirewall.Core
1.4.4
Core helper functions for Sophos Firewall API modules. Provides session management, API communication, XML escaping, and response validation.
Minimum PowerShell version
5.1
Installation Options
Owners
Package Details
Author(s)
- Jan Weis
Tags
Sophos Firewall XGS SFOS API Core Helper
Functions
Connect-SfosFirewall Disconnect-SfosFirewall Get-SfosSession Invoke-SfosApi Get-SfosApiStatus Assert-SfosApiReturnSuccess Resolve-SfosParameters ConvertTo-SfosXmlEscaped ConvertFrom-SfosArchive Connect-SfosWebAdmin Invoke-SfosWebAdminRequest Invoke-SfosWebAdminRestRequest Connect-SfosCliConsole Send-SfosCliConsoleInput Receive-SfosCliConsoleOutput Disconnect-SfosCliConsole
PSEditions
Dependencies
This module has no dependencies.
Release Notes
1.4.4: Assert-SfosApiReturnSuccess now includes the element path(s) the firewall names in an InvalidParams block, where the response carries one, in the message it throws. A rejection such as code 501 often names the exact field it refused there, undocumented by every other source; the block was previously read and discarded, so the caller only ever saw "validation failed" without the field name. An empty InvalidParams block changes nothing. The warning about a status found outside the path -ObjectName expects is no longer limited to codes 200 and 216: it is raised for every code treated as success, so a write answering 201 no longer hides a wrong path.
FileList
- SophosFirewall.Core.nuspec
- LICENSE.txt
- README.md
- SophosFirewall.Core.psd1
- SophosFirewall.Core.psm1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.4.4 (current version) | 100 | 8/27/2026 |
| 1.4.0 | 100 | 8/22/2026 |
| 1.3.5 | 49 | 8/18/2026 |
| 1.3.0 | 43 | 8/13/2026 |
| 1.1.0 | 9 | 8/11/2026 |