Skip to content

Bug: SecureString Arguments do not work with Icinga for Windows 1.4.0 #222

@LordHepipud

Description

@LordHepipud

With updating Icinga for Windows to v1.4.0, there is an issue with plugins using [Secure.String] variables. By default, we convert string values with the function ConvertTo-IcingaSecureString to a [Secure.String] for PowerShell for better usage. Because of the plugin execution change, this function is no longer available with Use-Icinga -Minimal

This only affects environments with udpated configuration

Expected Behavior

This should work out of the box.

Current Behavior

The Cmdlet is not found during plugin execuction

Possible Solution

Pre-Load ConvertTo-IcingaSecureString in icinga-powershell-framework.psd1

Metadata

Metadata

Assignees

Labels

BugThere is an issue present

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions