-
Hello, I'm using FalconPy to get data from Discovery module and trying to use wildcard, but it does not return any result in resources field.
Result: If I will use hardcoded value in 'hostname' - it will work as expected
Result: Could you please explain why wildcard does not work in this case? BR |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @zjuka - This seems a little counter-intuitive, but add another asterisk before your first single quote to hint that you are passing a wildcard. response = falcon.query_hosts(filter=f"hostname:*'{hostname}*'")['body'] Thank you for pointing out this documentation gap! I'll make sure our FQL page gets updated to properly reflect this usage quirk. 😄 |
Beta Was this translation helpful? Give feedback.
Hi @zjuka -
This seems a little counter-intuitive, but add another asterisk before your first single quote to hint that you are passing a wildcard.
Thank you for pointing out this documentation gap! I'll make sure our FQL page gets updated to properly reflect this usage quirk. 😄