Skip to content
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

Sentinel and Kusto new providers #656

Merged
merged 18 commits into from
May 10, 2023
Merged

Commits on Mar 28, 2023

  1. Initial code for az_monitor_driver.py

    Added provider_settings.py for global proxy config
    Add settings.py as a facade module for common setttings functions
    Added lazy_import function and generic functions for implementing dynamic __getattr__ and __dir__ functions for __init__ modules
    Added ability to create (partial) WorkspaceConfig from connection string.
    Moved MpConfigEdit and MpConfigFile to dynamic imports in config/__init__.py
    Changed MSSentinel import in ce_azure_sentinel.py to be imported on demand
    Extended _execute_query to extract and supply timespan parameters to driver query functions
    Removed deprecated imports or nbtools and sectools from nbinit.py
    Importing get_config to msticpy/__init__.py
    ianhelle committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    b3ddae9 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2023

  1. Configuration menu
    Copy the full SHA
    9a19cd5 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2023

  1. Adding workaround protection for process tree NA values for Bokeh 3.0

    Moving bokeh 3.0 requirements back to 2.4.3 for compat with panel.
    ianhelle committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    14f1328 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2023

  1. Configuration menu
    Copy the full SHA
    bf99abc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    98ed367 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6fb01ba View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2023

  1. Azure Kusto driver and Azure monitor updates:

    - Adding to DataEnvironments and drivers/__init__.py
    Adding raw Kusto response test data
    ianhelle committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    cc22c6c View commit details
    Browse the repository at this point in the history
  2. Merge branch 'ianhelle/data_providers-refactor-2023-04-04' into ianhe…

    …lle/azure-kusto-driver-2023-04-04
    ianhelle committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    8625c75 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. Finished unit tests for test_azure_monitor_driver.py / azure_monitor_…

    …driver.py
    
    Implemented driver properties dictionary and use of DriverProps class to normalize naming in multiple drivers.
    Added code to allow driver to override environment name for reading queries.
    ianhelle committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    bd9fa80 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2023

  1. Added documentation and fixed unit tests.

    Updated config documentation
    Fixed keyring_client.py test for valid backend
    Merged several global settings (proxies, http timeout) into "msticpy" section of config
    Added settings editor support for msticpy global settings in ce_msticpy.py
    Some Mypy fixes in file_browser.py
    Removed some commented-out code from query_source.py
    Added filtering for queries to query_source.py and data_providers.py - this allows individual kusto providers
    to show only queries that are relevant for the connected cluster. Additional test files and unit tests to support this.
    Added consistent support for proxy settings and timeout in azure_kusto_driver.py and azure_monitor_driver.py
    Updated setup.py, requirements-all.txt and conda-reqs.txt to add azure-kusto-data and azure-monitor-query packages.
    Added alternative to custom_mp_config test utility. This patches get_config calls in specified modules - more complex to set up but does not rely on a lock file, so allows more unit tests to run in parallel.
    ianhelle committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    dc734a3 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2023

  1. Configuration menu
    Copy the full SHA
    2541b28 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eefd09a View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2023

  1. Configuration menu
    Copy the full SHA
    ed2de79 View commit details
    Browse the repository at this point in the history
  2. Fixing settings source for test_sentinel_core.py

    Change folder name for test_azure_monitor_driver.py (not sure why but seems to have an effect on linux)
    ianhelle committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    7a80fe0 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'ianhelle/azure-kusto-driver-2023-04-04' of https://gith…

    …ub.com/microsoft/msticpy into ianhelle/azure-kusto-driver-2023-04-04
    ianhelle committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    c54e3e0 View commit details
    Browse the repository at this point in the history
  4. isort fixes in polling_detection.py

    pylint check name change in azure_auth_core.py
    adding validate_config to settings.py
    added ability to get workspace using case-insensitive ws name, ID or key name in wsconfig.py
    removed some debugging lines from sentinel_utils.py
    suppressed pylint error in data_providers.py
    fixed field initializer in query_template.py
    adding more logging to azure_monitor_driver.py
    adding more logging to azure_kusto_driver.py
    removing matplotlib import in nbinit, simplifying config loading code if config is already loaded.
    Moving matplotlib to extra in requirements.txt, setup.py
    Black re-format of test_periodogram_polling_detector.py
    Added tests for WorkspaceConfig to test_wsconfig.py
    Fixed test_azure_monitor_driver.py to use consistent settings.
    Fixed test_nbinit.py to avoid using default loaded settings.
    ianhelle committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    bd54f7b View commit details
    Browse the repository at this point in the history

Commits on May 10, 2023

  1. Configuration menu
    Copy the full SHA
    68fab0b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    affe79e View commit details
    Browse the repository at this point in the history