Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ BUG ] Get-FalconHorizonIom with All is not paginating properly #295

Closed
bk-cs opened this issue Mar 29, 2023 · 2 comments
Closed

[ BUG ] Get-FalconHorizonIom with All is not paginating properly #295

bk-cs opened this issue Mar 29, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@bk-cs
Copy link
Collaborator

bk-cs commented Mar 29, 2023

Describe the bug
When using Get-FalconHorizonIom with All, various errors are encountered, including:

Write-Result : [{"code":400,"message":"Invalid Request limit, maximum allowed is 1000"}]
Write-Result : [{"code":400,"message":"cannot provide both nextToken and cloud_provider parameters"}]

These same errors will likely apply to Get-FalconHorizonIoa due to their similarities.

Environment (please complete the following information):

  • OS: Windows 11
  • PowerShell: 5.1
  • PSFalcon: 2.2.4
@bk-cs bk-cs added the bug Something isn't working label Mar 29, 2023
@bk-cs bk-cs self-assigned this Mar 29, 2023
@bk-cs
Copy link
Collaborator Author

bk-cs commented Apr 11, 2023

This has been fixed for the 2.2.5 release. If you'd like to fix it in your local module before release, please update the following files with those from the 2.2.5 repo:

Public\detects.ps1

(Invoke-WebRequest https://raw.githubusercontent.com/CrowdStrike/psfalcon/2.2.5/public/detects.ps1).content > $HOME\Documents\WindowsPowerShell\Modules\2.2.4\Public\detects.ps1

Private\Private.ps1

(Invoke-WebRequest https://raw.githubusercontent.com/CrowdStrike/psfalcon/2.2.5/private/Private.ps1).content > $HOME\Documents\WindowsPowerShell\Modules\2.2.4\Private\Private.ps1

@bk-cs bk-cs mentioned this issue Apr 28, 2023
@bk-cs
Copy link
Collaborator Author

bk-cs commented May 1, 2023

2.2.5 release

@bk-cs bk-cs closed this as completed May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant