-
Notifications
You must be signed in to change notification settings - Fork 71
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-FalconCloudIom
and Get-FalconCloudIoa
- Cannot convert JSON because of duplicated keys
#309
Comments
Get-FalconHorizonIom
and Get-FalconHorizonIoa
- Cannot convert JSON because of duplicated keys
Thanks for the report, and I'm sorry for the trouble this has caused. This error is caused by the results returned from the APIs below, and it's not strictly a PSFalcon problem.
Some of the individual results are returning with varying case, which causes an error when PowerShell attempts to convert the result from JSON to an object. The API shouldn't be doing this, so I'm going to investigate this within CrowdStrike. Additionally, I'll investigate whether there's a way to correct the problem using PSFalcon. |
Thank you – my CISO wants to present the data to the business so I need to be able to get access to the data asap 👍
I have also raised a support case (01055899 ) if you want to also reference that. Thought a support case from a customer might help get resource time assigned to the issue.
Much apprecited
|
Thanks for your patience as I worked with internal teams to resolve this issue. We believe this is fixed and you should have been asked to re-test. Please let me know if this is still a problem. |
Unfortunately I am still seeing the same errors originally reported for both IOA and IOM: IOA: Cannot convert the JSON string because a dictionary that was converted from the string contains the duplicated keys 'Tagging' and 'tagging'. IOM: Cannot convert the JSON string because a dictionary that was converted from the string contains the duplicated keys 'Name' and 'name'. |
After doing some investigating with CrowdStrike support and the development team, the core issue seems to be that the data we're receiving with varying case is coming directly from the cloud provider (AWS in this case). CrowdStrike isn't in control of the case provided in the results, because it's passing the data through. PowerShell Core includes the ability to |
Let me know if you have a beta version I can try out 👍 |
Hi there - do you have any sort of indication on how long a fix might take? Just want to have a feel how much longer we may be impacted on this one so I can report to mgmt. I realise anything you can indicate here is not a commitment or guarantee of any sort. |
Unfortunately, no. PSFalcon uses Between regular PSFalcon updates/fixes and my preparation for Fal.Con in September, I'm not sure when this will be complete. |
I still have this on my to-do list if I can figure out a way to solve it... |
Get-FalconHorizonIom
and Get-FalconHorizonIoa
- Cannot convert JSON because of duplicated keysGet-FalconCloudIom
and Get-FalconCloudIoa
- Cannot convert JSON because of duplicated keys
Describe the bug
When I run
Get-FalconHorizonIom -All -Detailed
, the following error is produced. The same behavior occurs when usingGet-FalconHorizonIoa
, but the affected fields may be different.Environment (please complete the following information):
OS Name: Microsoft Windows Server 2016 Standard
OS Version: 10.0.14393 N/A Build 14393
PowerShell: 5.1.14393.5582
PSFalcon: 2.2.5
PowerShell_transcript.YYY.aVhUzt8n.20230510224339.txt
The text was updated successfully, but these errors were encountered: