Open jashley92 opened 7 months ago
Forgot to mention, API Key works when using API directly via Postman.
Forgot to mention, API Key works when using API directly via Postman.
Thanks for the added detail! Are you submitting the same fields when creating the rule using Postman?
It appears that PSFalcon is incorrectly sending your single rule as an individual object, instead of forcing it into an array (expected by the API). You can work around the problem by creating your rule using the example below until I fix it:
[PSCustomObject]@{ filter = "phrase:'psfalcon_example_phrase'"; priority = 'low'; name = 'psfalcon_example_1'; permissions = 'public'; topic = 'SA_VIP' } | New-FalconReconRule
Excellent! The workaround works perfect. Thank you so much!
Describe the bug The documented examples for
New-FalconReconRule
generate anInvalid Request
errorTo Reproduce Attempt to create a rule with
New-FalconReconRule
Environment (please complete the following information):
Additional context Tried multiple different devices, multiple api keys
Transcript content