-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LocalDataDriver for using CSV and pickled DF files as a QueryProvider (…
…#64) * LocalDataDriver for using CSV and pickled DF files as a QueryProvider Removed deprecated kql.py, query_builtin_queries, query_mgr.py, query_schema.py Changed location of query_defns.py and made pkg reference updates in several modules and notebooks. Some fixes to support local_data_driver in query_store.py, driver_base.py and data_providers.py Unit test - test_localdata_queries.yaml and supporting data and query files. Fixed test in test_utils.py to work on Linux Add documentation for LocalDataDriver to DataProviders.rst and updated section on creating query files. Reduced warnings produced during pytest run to something more reasonable. * Added "AzureSentinel" alias for LogAnalytics DataEnvironment Changed tilookup and kql_base/kql_driver so that handling failure to load is a bit friendlier. E.g. running TILookup in a non-IPython environment (with ASTI provider) will now just cause a warning, not an exception. kql_driver.py also updated to check for get_ipython() returning None and output friendlier message. Change driver_base.py and derived class to take additional QuerySource parameter for query() method - not yet used but required so that we can implement driver-specific checks on query parameters. * Fixing PR comments for docs (plus a few other things I saw) Updated DataQueries.rst with new queries Checked in notebook to create DataQueries.rst Removed deprecated class from query_defns.py * Typo in warning * Missing parenthesis in DataProviders.rst
- Loading branch information
Showing
58 changed files
with
3,498 additions
and
5,151 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
QueryDefinitions: | ||
|
||
TIProviders: | ||
OTX: | ||
Args: | ||
AuthKey: "***REMOVED***" | ||
Primary: True | ||
Provider: "OTX" # Explicitly name provider to override | ||
VirusTotal: | ||
Args: | ||
AuthKey: "***REMOVED***" | ||
Primary: True | ||
Provider: "VirusTotal" | ||
XForce: | ||
Args: | ||
ApiID: "d99c9637-3049-4c1e-b608-18c3bad769f9" | ||
AuthKey: "f3531662-7849-4080-9e79-b728daadc2e8" | ||
Primary: True | ||
Provider: "XForce" | ||
AzureSentinel: | ||
Args: | ||
WorkspaceID: "a927809c-8142-43e1-96b3-4ad87cfe95a3" | ||
TenantID: "35a9e601-82db-42da-b521-efc4a2f6783c" | ||
Primary: False | ||
Provider: "AzSTI" |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
"""Version file.""" | ||
VERSION = "0.5.0" | ||
VERSION = "0.5.1" |
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
Oops, something went wrong.