-
Notifications
You must be signed in to change notification settings - Fork 321
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
Ianhelle/velociraptor provider 2023 05 19 #668
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ses to allow for old and new format.
rcobb-scwx
reviewed
May 25, 2023
petebryan
approved these changes
Jun 2, 2023
juju4
reviewed
Jun 4, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @ianhelle and thanks for the multiple reviews.
Fixed bug in azure_kusto_driver and test_azure_kusto_driver Fixed some doc references.
This was referenced Jul 3, 2023
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Velociraptor data provider
The
Velociraptor
data provider can read Velociraptor log files and provide convenient query functions for each data set in the output logs.The provider can read files from one or more hosts, stored in in separate folders. The files are read, converted to pandas DataFrames and grouped by table/event. Multiple log files of the same type (when reading in data from multiple hosts) are concatenated into a single DataFrame.
To use the Velociraptor provider, you need to create an
QueryProvider
instance, passing the string "Velociraptor" (or "VelociraptorLogs") as thedata_environment
parameter. You also need to add thedata_paths
parameter to specify specific folders that you want to search for log file (although you can set these paths in msticpyconfig.yaml, if you do this frequently).You can specify multiple folders to have the logs from different hosts.
Calling the
connect
method triggers the provider to read the locations of thelog files (although the contents are not read until a query function is run).
Each query returns the table of data types retrieved from the logs.