-
Notifications
You must be signed in to change notification settings - Fork 15
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
Suggestion - add a command that reports the connected hosts. #42
Comments
Adding @kenoel to this ticket, who has been building out this functionality. She needs to get some support for this merged into Caracara first, after which this project will be updated with the functionality. Thank you for your patience here! |
Some bits of context, not exactly related to implementing this feature, but that will explain the reasoning behind it. We're trying to build an RTR automation system that ensures that eventually some RTR command is executed on a host (re-queuing after 7 days if the queued session expired). This involves providing a proper diagnostic to RTR session establishment failures. Part of our tests involved manual batch operations done with falcon-toolkit on some hosts. It's still not clear on our side how the online/unknown=4m/offline=40m system interacts with the RTR session live/queued system, and we are yet to discover a way to properly explain why a live RTR session will not be created when a host is online and reported as online. Thanks again for the good work, all that lib (+caracara) has introduced our team to numerous modern Python features and modules. |
@59e5aaf4 sorry I did not see this comment before! I have spoken to the RTR engineering team about this question and can share that queueing will be instigated automatically if the message to start the session cannot reach the Sensor. Therefore, connecting with a relatively short timeout (60 seconds or so) and queueing enabled should help you to get these commands queued up in a fairly reliable manner. Where you may face issues is where systems have unreliable Internet connectivity. If you are happy to do more work to get closer to some level of guarantee that commands will eventually be executed, it may be helpful to leverage the work that @kenoel is currently working on to filter only by hosts confirmed to be highly likely online (i.e., checked in within the past five minutes) and not queue for those offline. You could then run your code in a loop every 5 minutes to check for new systems and execute commands on them when they're online. I hope this helps you to figure this out. If you have more complex or technical questions, please feel free to reach out to us by email. Chris.Hammond at crowdstrike .com will get me, or alternatively if you have a TAM or contact in our Developer Experience team, etc. feel free to reach out there. |
When connecting to numerous hosts, it isn't clear how much are offline and if some have disconnected, etc. Could there be some "session_status" command reporting which hosts got connected to ?
Thanks !
The text was updated successfully, but these errors were encountered: