Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/msticpy
/ functions
Functions
3,664 in github.com/microsoft/msticpy
⨍
Functions
3,664
◇
Types & classes
443
↳
Endpoints
149
Function
query_collection
Return a QueryCollection instance.
tests/config/test_query_editor.py:204
Function
query_defaults
Return a QueryDefaults object.
tests/config/test_query_editor.py:58
Function
query_editor
Return a QueryEditor instance.
tests/config/test_query_editor.py:213
Method
query_help
Print help for `query_name`. Parameters ---------- query_name : str The name of the query.
msticpy/data/core/query_provider_utils_mixin.py:250
Function
query_metadata
Return a QueryMetadata instance.
tests/config/test_query_editor.py:158
Method
query_names
Return list of family.query in the store. Returns ------- Iterable[str] List of queries
msticpy/data/core/query_store.py:102
Method
query_params
Query parameters derived from alert. Returns ------- dict(str, str) -- Dictionary of parameter names
msticpy/nbwidgets/select_alert.py:321
Method
query_params
Query parameters derived from alert. Returns ------- Dict[str, Any] Dictionary of parameter name
msticpy/nbtools/security_alert.py:62
Method
query_params
Query parameters derived from alert. Returns ------- Dict[str, Any] Dictionary of parameter names/values
msticpy/nbtools/security_base.py:264
Method
query_params
Query parameters derived from alert. Returns ------- Dict[str, Any] Dictionary of parameter name
msticpy/nbtools/security_event.py:62
Method
query_params
Return dict of query parameters. These parameters are sourced in the object implementing this method. Returns
msticpy/data/core/query_defns.py:166
Function
query_prov
Test fixture to create query provider.
tests/vis/test_query_browser.py:20
Function
query_provider
Query provider.
tests/context/test_tiprovider_kql.py:150
Method
query_time
Return the default QueryTime control for queries.
msticpy/data/core/data_providers.py:232
Method
query_with_results
Mock query_with_results.
tests/context/test_tiprovider_kql.py:117
Method
query_with_results
Test method.
tests/data/test_query_source.py:53
Method
query_with_results
()
tests/data/test_dataqueries.py:717
Method
query_with_results
Return query with fake results.
msticpy/data/drivers/local_osquery_driver.py:189
Method
query_with_results
Return query with fake results.
msticpy/data/drivers/local_velociraptor_driver.py:168
Method
query_with_results
Execute query string and return DataFrame plus native results. Parameters ---------- query : str The que
msticpy/data/drivers/driver_base.py:219
Method
query_with_results
Execute query string and return DataFrame plus native results. Parameters ---------- query : str The que
msticpy/data/drivers/mordor_driver.py:165
Method
query_with_results
Execute query string and return DataFrame of results. Parameters ---------- query : str Query to execute
msticpy/data/drivers/elastic_driver.py:145
Method
query_with_results
Return query with fake results.
msticpy/data/drivers/local_data_driver.py:144
Method
query_with_results
Place holder.Not used.
msticpy/data/drivers/prismacloud_driver.py:1114
Method
query_with_results
Execute query string and return DataFrame of results. Parameters ---------- query : str Query to execute
msticpy/data/drivers/splunk_driver.py:323
Method
query_with_results
Execute query string and return DataFrame of results. Parameters ---------- query : str The kql query to
msticpy/data/drivers/cybereason_driver.py:834
Method
query_with_results
Execute query string and return DataFrame of results. Parameters ---------- query : str Query to execute
msticpy/data/drivers/sumologic_driver.py:517
Method
query_with_results
Execute query string and return DataFrame of results. Parameters ---------- query : str Query to execute
msticpy/data/drivers/openobserve_driver.py:376
Function
rarest_window_session
Find and compute likelihood of the rarest window of `window_len` in the session. Parameters ---------- session: List[Cmd] li
msticpy/analysis/anomalous_sequence/utils/cmds_params_values.py:538
Function
rarest_window_session
Find and compute the likelihood of the rarest window of `window_len` in the session. Parameters ---------- session: List[Cmd]
msticpy/analysis/anomalous_sequence/utils/cmds_params_only.py:408
Function
rarest_window_session
Find and compute likelihood of the rarest window in the session. Parameters ---------- session: List[str] list of commands (
msticpy/analysis/anomalous_sequence/utils/cmds_only.py:278
Function
read_query_response
Read query file.
tests/data/drivers/test_azure_monitor_driver.py:51
Function
read_schema
Read schema file.
tests/data/drivers/test_azure_monitor_driver.py:38
Function
read_schema
Read a mock schema file for testing.
tests/data/drivers/test_azure_search_driver.py:30
Function
refresh_keyring
Refresh local keyring secrets cache from Key Vault.
msticpy/common/provider_settings.py:165
Method
refresh_token
Refresh the authentication token.
msticpy/data/drivers/prismacloud_driver.py:397
Method
register_pivot_providers
Register pivot functions from configuration file. Parameters ---------- pivot_reg_path : str Path to con
msticpy/init/pivot.py:330
Method
register_pivots
Register pivot functions for a Provider. Parameters ---------- pivot_reg : PivotRegistration Pivot regis
msticpy/context/provider_base.py:425
Method
register_pivots
Register pivot functions for the TI Provider. Parameters ---------- pivot_reg : PivotRegistration Pivot
msticpy/context/tiproviders/ti_provider_base.py:354
Method
relationships
Return relationships dict.
tests/context/test_vtlookupv3.py:83
Method
reload_provider_settings
Reload provider settings from config.
msticpy/context/lookup.py:329
Function
remove_common_items
Remove rows from input DataFrame. Parameters ---------- data : pd.DataFrame Input dataframe columns : list[str]
msticpy/analysis/outliers.py:622
Method
render_vt_graph
Display a VTGraph in a Jupyter Notebook. Parameters ---------- graph_id: Graph ID width
msticpy/context/vtlookupv3/vtlookupv3.py:1139
Function
replace_in_query
Replace a parameter in a query string with a formatted string. Parameters ---------- param_name : str The name of the parame
msticpy/config/query_editor.py:343
Method
required_columns
Return columns required for Init.
msticpy/transform/proc_tree_schema.py:72
Method
required_params
Return the set of parameters with no default values. Returns ------- Iterable[dict] List of parameters
msticpy/data/core/query_source.py:187
Method
reset_changed_data
Reset changed data flag.
msticpy/config/query_editor.py:267
Method
reset_changed_data
Reset changed data flag.
msticpy/config/query_editor.py:724
Function
reset_ipython_exception_handler
Remove MSTICPy custom exception handler.
msticpy/init/nbinit.py:930
Method
reset_timespan
Reset the time range used to [now - 1day] - [now].
msticpy/init/pivot.py:321
Method
resolve_cloud_alias
Return match of cloud alias or name.
msticpy/auth/cloud_mappings.py:237
Method
resolve_ioc_type
Return IoCType determined by IoCExtract. Parameters ---------- observable : str IoC observable string
msticpy/context/tiproviders/ti_provider_base.py:332
Method
resource_id
Return the resource ID for the workspace.
msticpy/context/azure/sentinel_utils.py:64
Method
resource_manager
Return the resource manager URI.
msticpy/auth/cloud_mappings.py:285
Method
result
(self)
tests/auth/test_provider_secrets.py:145
Method
result_to_df
Return DataFrame representation of Lookup response. Parameters ---------- item_lookup : pd.DataFrame Out
msticpy/context/lookup.py:503
Method
results
(self, **kwargs)
tests/data/drivers/test_splunk_driver.py:89
Function
rgd
Pytest fixture to create ResourceGraphDriver for other tests.
tests/data/drivers/test_resource_graph_driver.py:97
Function
risky_cmd_line
Detect patterns of risky commands in syslog messages. Risky patterns are defined in a json format file. Parameters ---------- e
msticpy/transform/cmd_line.py:39
Function
risky_sudo_sessions
Detect if a sudo session occurs at the point of a suspicious event. Parameters ---------- sudo_sessions: dict Dictionary of
msticpy/analysis/syslog_utils.py:193
Method
run
Run a pivot function on the current DataFrame. Parameters ---------- func : Callable[..., pd.DataFrame]
msticpy/init/pivot_core/pivot_pd_accessor.py:54
Method
run_cell_magic
Mock run_cell_magic.
tests/context/test_tiprovider_kql.py:126
Method
sandbox_id
Return sandbox ID of detonation.
msticpy/context/vtlookupv3/vtfile_behavior.py:164
Function
save_folder
Query Provider fixture.
tests/data/drivers/test_mordor_driver.py:42
Method
save_map
Save the map to `path`. Parameters ---------- path: str File path to save the current map
msticpy/vis/foliummap.py:276
Function
save_to_cell
Msticpy SaveToCell IPython magic extension. Parameters ---------- line : str, optional Line contents, by
msticpy/init/nbmagics.py:207
Method
saved_searches
Mock method.
tests/data/drivers/test_splunk_driver.py:128
Method
schema
Return current data schema of connection. Returns ------- Dict[str, Dict] Data schema of current connect
tools/mp_demo_data.py:110
Method
schema
Mock schema property.
tests/context/test_tiprovider_kql.py:72
Method
schema
Return current data schema of connection. Returns ------- Dict[str, Dict] Data schema of current connect
msticpy/data/core/query_provider_utils_mixin.py:88
Method
schema
Return current data schema of connection. Returns ------- Dict[str, Dict] Data schema of current connect
msticpy/data/drivers/local_osquery_driver.py:133
Method
schema
Return current data schema of connection. Returns ------- dict[str, dict] Data schema of current connect
msticpy/data/drivers/azure_monitor_driver.py:271
Method
schema
Return current data schema of connection. Returns ------- Dict[str, Dict] Data schema of current connect
msticpy/data/drivers/local_velociraptor_driver.py:96
Method
schema
Return current data schema of connection. Returns ------- Dict[str, Dict] Data schema of current connect
msticpy/data/drivers/driver_base.py:166
Method
schema
Return current data schema of connection. Returns ------- Dict[str, Dict] Data schema of current connect
msticpy/data/drivers/local_data_driver.py:86
Method
schema
Return schema for current database.
msticpy/data/drivers/azure_kusto_driver.py:251
Method
schema_tables
Return list of tables in the data schema of the connection. Returns ------- List[str] Tables in the of c
tools/mp_demo_data.py:123
Method
schema_tables
Return list of tables in the data schema of the connection. Returns ------- List[str] Tables in the of c
msticpy/data/core/query_provider_utils_mixin.py:101
Function
score_and_visualise_sessions
Model sessions and then produces an interactive timeline visualisation plot. In particular, the sessions are modelled using a sliding window
msticpy/analysis/anomalous_sequence/anomalous.py:150
Function
screenshot
Get a screenshot of a url with Browshot. Parameters ---------- url : str The url a screenshot is wanted for. api_key : s
msticpy/context/domain_utils.py:57
Method
search_items
Return searchable metadata and query for all queries.
msticpy/data/core/query_store.py:120
Function
search_name
Display matching modules as list or HTML table. Parameters ---------- pattern : str Substring or regular expression
msticpy/common/utility/package.py:243
Method
secrets
Return the list of secret names from the vault.
msticpy/auth/keyvault_client.py:276
Method
selected_columns
Return a list of Bokeh column definitions for the DataFrame.
msticpy/vis/data_viewer_panel.py:209
Method
selected_columns
Return the selected columns.
msticpy/vis/data_viewer.py:215
Method
selected_dset
Return the ID of the selected data set.
msticpy/vis/mordor_browser.py:92
Method
selected_items
Return a list of the selected items. If the input list is a list of tuples, this returns a list of the selected tuples.
msticpy/nbwidgets/select_subset.py:110
Method
selected_values
Return list of selected values. If the input list is a list of tuples, this returns a list of values of the items.
msticpy/nbwidgets/select_subset.py:126
Function
sent_loader
Generate MicrosoftSentinel instance for testing.
tests/context/azure/sentinel_test_fixtures.py:48
Function
sentinel_inst_loader
Generate MicrosoftSentinel for testing.
tests/context/azure/test_sentinel_core.py:112
Function
sentinel_loader
Generate MicrosoftSentinel for testing.
tests/context/azure/test_sentinel_dynamic_summary.py:259
Function
sentinel_qry_prov
Return initialized query provider.
tests/data/test_dataqueries.py:633
Method
service_queries
Return queries retrieved from the service after connecting. Returns ------- Tuple[Dict[str, str], str] D
msticpy/data/drivers/driver_base.py:236
Method
service_queries
Return dynamic queries available on connection to service. Returns ------- Tuple[Dict[str, str], str] Di
msticpy/data/drivers/splunk_driver.py:342
Function
sessionize_data
Sessionize the input data. In particular, the resulting dataframe will have 1 row per session. It will contain the following columns: th
msticpy/analysis/anomalous_sequence/sessionize.py:27
Method
setUp
Setup test.
tests/nbtools/test_security_event.py:27
Method
setUp
Setup test.
tests/nbtools/test_security_alert.py:191
Method
setUp
Create keyring for tests.
tests/auth/test_provider_secrets.py:153
Method
setUp
Intialize test.
tests/data/test_query_source.py:72
Method
setUp
Test initialization.
tests/data/test_dataqueries.py:106
← previous
next →
2,701–2,800 of 3,664, ranked by callers