CrowdStrike / psfalcon

PowerShell for CrowdStrike's OAuth2 APIs
The Unlicense
369 stars 70 forks source link

[ BUG ] `Exception calling "Create" with "1" argument(s)` error when using `Import-FalconConfig` #430

Open bk-cs opened 1 month ago

bk-cs commented 1 month ago

Describe the bug When evaluating the names of objects that exist in a CID, Import-FalconConfig uses a single quote-based (') FilterScript to compare existing items against those in the ZIP import. If you use a single quote in the name of your object, it will generate an error.

To Reproduce Create a Custom IOA group called John Doe's Test Group and try to import new IoaGroup items into your CID

Expected behavior Evaluation of the existing groups without failure.

Environment (please complete the following information):