CrowdStrike / psfalcon

PowerShell for CrowdStrike's OAuth2 APIs
The Unlicense
350 stars 66 forks source link

[ BUG ] `Get-FalconAsset` does not append `login_event` when using `Include` with a single result #360

Closed bk-cs closed 9 months ago

bk-cs commented 11 months ago

Describe the bug Get-FalconAsset does not append login_event when using Include with a single result

To Reproduce Get-FalconAsset -Filter "hostname:'my_host'" -Limit 1 -Include login_event

Expected behavior login_event should be appended when single results are returned.

Environment (please complete the following information):

bk-cs commented 11 months ago

Fixed in the 2.2.6 future release: https://github.com/CrowdStrike/psfalcon/commit/047145505b8e5cd1762039c275da6652eaa3007c

bk-cs commented 9 months ago

Resolved in 2.2.6 release which has been published to GitHub and will be published on the PowerShell Gallery soon.