mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2026-02-03 04:09:29 -05:00
REST API: in the Server header, identify the software, not the machine
This commit is contained in:
parent
fa88a224d7
commit
4dbb128b2b
2 changed files with 3 additions and 2 deletions
|
|
@ -16,6 +16,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
|
|||
* [#729](https://github.com/Icinga/icinga-powershell-framework/issues/729) Fixes `Update-Icinga` to print an error in case a component is not installed, instead of silently continue
|
||||
* [#734](https://github.com/Icinga/icinga-powershell-framework/issues/734) Fixes a scenario on which a JEA service could become orphaned while manually stopping the Icinga for Windows service, without gracefully shutting down JEA
|
||||
* [#735](https://github.com/Icinga/icinga-powershell-framework/pull/735) Fixes an issue with filter for EventLog events, which did not properly handle multiple event id includes, causing empty results
|
||||
* [#743](https://github.com/Icinga/icinga-powershell-framework/pull/743) In the REST API response header `Server`, tell the software version, not the machine name (RFC 9110)
|
||||
* [#745](https://github.com/Icinga/icinga-powershell-framework/pull/745) Fixes an issue for service provider with service names not interpreted correctly in case it contains `[]`
|
||||
|
||||
### Enhancements
|
||||
|
|
|
|||
|
|
@ -39,8 +39,8 @@ function New-IcingaTCPClientRESTMessage()
|
|||
(New-IcingaNewLine)
|
||||
),
|
||||
[string]::Format(
|
||||
'Server: {0}{1}',
|
||||
(Get-IcingaHostname -LowerCase $TRUE -AutoUseFQDN $TRUE),
|
||||
'Server: IcingaForWindows/{0}{1}',
|
||||
(Get-Module -Name icinga-powershell-framework).Version,
|
||||
(New-IcingaNewLine)
|
||||
),
|
||||
[string]::Format(
|
||||
|
|
|
|||
Loading…
Reference in a new issue