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
↓ 1 callers
Method
lookup_item
Lookup from a value. Parameters ---------- item : str item to lookup item_type : str, optional
msticpy/context/provider_base.py:55
↓ 1 callers
Method
lookup_items_async
Lookup collection of items. Parameters ---------- data : Union[pd.DataFrame, dict[str, str], Iterable[str]]
msticpy/context/provider_base.py:219
↓ 1 callers
Method
lookup_observable
Lookup a single observable. Parameters ---------- observable : str Observable value to lookup ob
msticpy/context/contextproviders/context_provider_base.py:145
↓ 1 callers
Method
lookup_observables
Lookup a collection of Observables. Parameters ---------- data : Union[pd.DataFrame, Mapping[str, str], Iterable[str
msticpy/context/contextlookup.py:107
↓ 1 callers
Method
lookup_observables_sync
Lookup a collection of IoCs. Parameters ---------- data : Union[pd.DataFrame, Mapping[str, str], Iterable[str]]
msticpy/context/contextlookup.py:183
↓ 1 callers
Function
make_dist
Create distrib at `path`.
tools/test_mp_extras.py:199
↓ 1 callers
Method
mask
Obfuscate the data in columns of a pandas dataframe. Parameters ---------- data : pd.DataFrame dataframe
msticpy/init/mp_pandas_accessors.py:200
↓ 1 callers
Function
mask_df
Obfuscate columns of a DataFrame. Parameters ---------- data : pd.DataFrame Input dataframe column_map : Mapping[str, An
msticpy/data/data_obfus.py:392
↓ 1 callers
Function
md_warn
Return string as a warning - orange text prefixed by "Warning". Parameters ---------- string : str The warning message.
msticpy/common/utility/ipython.py:80
↓ 1 callers
Method
mount
Mock mounting a storage location.
tests/init/mssparkutils_fixtures.py:40
↓ 1 callers
Function
mount_container
Mount Azure file container to Synapse file system. Parameters ---------- store_acct_name : str Storage account container
msticpy/init/azure_synapse_tools.py:163
↓ 1 callers
Method
new_dynamic_summary
Return a new DynamicSummary object. Notes ----- See the DynamicSummary class documentation for details of ex
msticpy/context/azure/sentinel_dynamic_summary_types.py:298
↓ 1 callers
Method
oneshot
(query, **kwargs)
tests/data/drivers/test_splunk_driver.py:109
↓ 1 callers
Method
parse_pipelines
Parse dict of pipelines. Parameters ---------- pipelines : Dict[str, Dict[str, Any]] Dict of pipelines.
msticpy/init/pivot_core/pivot_pipeline.py:218
↓ 1 callers
Method
parse_results
Return the details of the response. Parameters ---------- response : Dict The returned data response
msticpy/context/tiproviders/riskiq.py:288
↓ 1 callers
Method
parse_results
Return the details of the response. Parameters ---------- response : Dict The returned data response
msticpy/context/contextproviders/servicenow.py:98
↓ 1 callers
Method
plot
Display time series anomalies visualization. Parameters ---------- value_column : str, optional Name
msticpy/analysis/timeseries.py:152
↓ 1 callers
Function
plot_entity_graph
Plot entity graph with Bokeh. Parameters ---------- entity_graph : nx.Graph The entity graph as a networkX graph node_si
msticpy/vis/network_plot.py:272
↓ 1 callers
Function
plot_entitygraph
Plot entity graph with Bokeh. Parameters ---------- entity_graph : nx.Graph The entity graph as a networkX graph node_si
msticpy/vis/entity_graph_tools.py:419
↓ 1 callers
Function
plot_nx_graph
Plot entity graph with Bokeh. Parameters ---------- nx_graph : nx.Graph The entity graph as a networkX graph title : str
msticpy/vis/network_plot.py:66
↓ 1 callers
Function
plot_process_tree
Plot a Process Tree Visualization. Parameters ---------- data : pd.DataFrame DataFrame containing one or more Process Trees
msticpy/vis/process_tree.py:161
↓ 1 callers
Function
populate_config_to_mp_config
Populate new or existing msticpyconfig with settings from config.json.
msticpy/init/azure_ml_tools.py:272
↓ 1 callers
Method
post_comment
Write a comment for an incident. Parameters ---------- incident_id : str Incident ID GUID. comme
msticpy/context/azure/sentinel_incidents.py:499
↓ 1 callers
Function
print_call_tree
Print out the call tree. Parameters ---------- call_graph : [type] [description] level : str, optional [descript
tools/toollib/module_tree.py:144
↓ 1 callers
Method
prompt_for_ws
Display an interactive prompt for Workspace details.
msticpy/common/wsconfig.py:355
↓ 1 callers
Method
query
Return the query template. Returns ------- str The template query.
msticpy/data/core/query_source.py:159
↓ 1 callers
Method
query
Execute query string and return DataFrame of results. Parameters ---------- query : str The query to exe
msticpy/data/drivers/local_osquery_driver.py:152
↓ 1 callers
Method
query
Execute query string and return DataFrame of results. Parameters ---------- query : str The query to exe
msticpy/data/drivers/local_velociraptor_driver.py:125
↓ 1 callers
Method
query
Execute query string and return DataFrame of results. Parameters ---------- query : str The query to exe
msticpy/data/drivers/mordor_driver.py:123
↓ 1 callers
Method
query
Execute Sumologic query and retrieve results. Parameters ---------- query : str Sumologic query to execu
msticpy/data/drivers/sumologic_driver.py:402
↓ 1 callers
Method
query_help
Print help for query.
tools/mp_demo_data.py:166
↓ 1 callers
Method
query_indicators
Query for indicators in a Sentinel workspace. Parameters ---------- include_disabled : bool, optional Pa
msticpy/context/azure/sentinel_ti.py:516
↓ 1 callers
Method
query_usable
Return True if query should be exposed for this driver.
msticpy/data/drivers/driver_base.py:294
↓ 1 callers
Method
query_usable
Return True if query source is valid for current cluster.
msticpy/data/drivers/azure_kusto_driver.py:805
↓ 1 callers
Method
query_with_results
Return results with optional status object.
tests/testdata/plugins/data_prov.py:39
↓ 1 callers
Method
query_with_results
Execute query string and return DataFrame of results. Parameters ---------- query : str The kql query to
msticpy/data/drivers/azure_monitor_driver.py:317
↓ 1 callers
Method
query_with_results
Execute query string and return DataFrame of results. Parameters ---------- query : str Query to execute
msticpy/data/drivers/resource_graph_driver.py:139
↓ 1 callers
Method
query_with_results
Return query results as a DataFrame and the result status. Parameters ---------- query : str The query s
msticpy/data/drivers/azure_kusto_driver.py:451
↓ 1 callers
Method
query_workspace
Mock query_workspace method.
tests/data/drivers/test_azure_monitor_driver.py:346
↓ 1 callers
Function
raw_results
Create pre-formatted details for raw results.
msticpy/vis/ti_browser.py:142
↓ 1 callers
Method
read_folder
Return folder contents. Parameters ---------- folder : str Folder path. Returns -------
msticpy/config/file_browser.py:147
↓ 1 callers
Function
read_from_file
r""" Extract Audit events from a log file. Parameters ---------- filepath : str path to the input file event_type : str,
msticpy/transform/auditdextract.py:391
↓ 1 callers
Method
refresh_keyring
Reload keyring values from Key Vault.
msticpy/auth/secret_settings.py:218
↓ 1 callers
Method
refresh_mp_config
Refresh global MSTICPy settings from config file.
msticpy/config/mp_config_file.py:356
↓ 1 callers
Method
refresh_token
Refresh the authentication token.
msticpy/auth/msal_auth.py:91
↓ 1 callers
Method
register_pivots
Register pivot functions for the TI Provider. Parameters ---------- pivot_reg : PivotRegistration Pivot
msticpy/context/tiproviders/riskiq.py:374
↓ 1 callers
Function
register_ti_pivot_providers
Register pivot functions from TI providers.
msticpy/init/pivot_init/pivot_ti_provider.py:83
↓ 1 callers
Method
relationships_to_graph
Generate nodes and edges from relationships. Parameters ---------- relationship_dfs : list[pd.DataFrame]
msticpy/context/vtlookupv3/vtlookupv3.py:1060
↓ 1 callers
Method
remove_link
Remove a link between 2 nodes on the graph. Parameters ---------- source : str Name of node to remove li
msticpy/vis/entity_graph_tools.py:287
↓ 1 callers
Method
remove_node
Remove a node from the graph. Parameters ---------- name : str The name of the node to remove.
msticpy/vis/entity_graph_tools.py:313
↓ 1 callers
Method
report
Print report of analysis. Parameters ---------- node_types : list[str] | None, optional Optional list of
tools/toollib/ast_parser.py:137
↓ 1 callers
Function
reset_pkgs
Reset enviroment - remove all non-core msticpy packages.
tools/test_mp_extras.py:134
↓ 1 callers
Function
resolve_pkg_path
Resolve a path relative to the package. Parameters ---------- part_path : str Absolute or relative path to resolve.
msticpy/common/utility/package.py:37
↓ 1 callers
Method
resources
Mock response to query.
tests/data/drivers/test_resource_graph_driver.py:42
↓ 1 callers
Method
result_to_df
Convert IoC results to DataFrame.
tools/mp_demo_data.py:224
↓ 1 callers
Method
results
Return dictionary of results. Returns ------- dict[str, Any] Dictionary of results keyed by node_type.
tools/toollib/ast_parser.py:153
↓ 1 callers
Method
run_line_magic
Mock run_line_magic.
tests/context/test_tiprovider_kql.py:130
↓ 1 callers
Function
run_tests
Run pytest on `path`.
tools/test_mp_extras.py:166
↓ 1 callers
Function
save_obj_to_cell
Save a pickle-able object to a new cell. Parameters ---------- obj : Any The object to be stored. Must be pickle-able. v
msticpy/common/utility/ipython.py:181
↓ 1 callers
Function
score_sessions
Model sessions using a sliding window approach within a markov model. Parameters ---------- data: pd.DataFrame Dataframe whi
msticpy/analysis/anomalous_sequence/anomalous.py:21
↓ 1 callers
Method
search_job
Create a search job.
tests/data/drivers/test_sumologic_driver.py:102
↓ 1 callers
Method
search_job_messages
Return the message results.
tests/data/drivers/test_sumologic_driver.py:138
↓ 1 callers
Function
search_module
Return MSTICPy modules that match `pattern`. Parameters ---------- pattern : str Substring or regular expression Return
msticpy/common/utility/package.py:208
↓ 1 callers
Method
search_queries
Search queries for matching attributes. Parameters ---------- search : str Search string. Substrings sep
msticpy/data/drivers/mordor_driver.py:236
↓ 1 callers
Method
set_cluster
Set the current cluster to `cluster` and connect.
msticpy/data/drivers/azure_kusto_driver.py:269
↓ 1 callers
Method
set_database
Set the default database to `database`.
msticpy/data/drivers/azure_kusto_driver.py:273
↓ 1 callers
Method
set_done
(cls)
tests/data/drivers/test_splunk_driver.py:99
↓ 1 callers
Method
set_metadata
Set the metadata object.
msticpy/config/query_editor.py:728
↓ 1 callers
Function
set_new_anomaly_threshold
Return DataFrame with anomalies calculated based on new threshold. Parameters ---------- data : pd.DataFrame Input DataFrame
msticpy/analysis/timeseries.py:447
↓ 1 callers
Method
set_param_container
Set the parameter container.
msticpy/config/query_editor.py:271
↓ 1 callers
Method
set_password
(self, service, username, password=None)
tests/auth/test_provider_secrets.py:63
↓ 1 callers
Method
set_query_collection
Set the query collection.
msticpy/config/query_editor.py:484
↓ 1 callers
Method
set_secret
Set a secret in the Vault. Parameters ---------- secret_name : str Name of the secret value: str
msticpy/auth/keyvault_client.py:333
↓ 1 callers
Method
set_tab
Programatically set the tab by name or index.
msticpy/config/comp_edit.py:332
↓ 1 callers
Method
set_token
Ask the azure-core BearerTokenCredentialPolicy policy to get a token. Using the policy gives us for free the caching system of azure
msticpy/auth/cred_wrapper.py:52
↓ 1 callers
Function
set_unit_testing
Set flag env var to indicated that code is being unit-tested. Parameters ---------- on : bool, optional Turn unit testing fl
msticpy/common/utility/package.py:299
↓ 1 callers
Function
setup_logging
Initiate logging.
msticpy/init/logging.py:59
↓ 1 callers
Method
show
Display the data table control.
msticpy/vis/data_viewer.py:133
↓ 1 callers
Function
show_dist
List current distributions.
tools/test_mp_extras.py:159
↓ 1 callers
Function
solve_all
Solve conflicts in both directions.
tools/misc/chk_pkgs.py:61
↓ 1 callers
Method
start
Return current start time for queries.
msticpy/init/pivot.py:251
↓ 1 callers
Method
submit
Mock submit call.
tests/data/uploaders/test_splunk_uploader.py:30
↓ 1 callers
Method
tee_exec
Run a dataframe method on the dataframe without changing it. Parameters ---------- df_func : str The nam
msticpy/init/pivot_core/pivot_pd_accessor.py:173
↓ 1 callers
Function
test_all_notebooks
Run notebooks. Parameters ---------- src_path : str Source path for notebooks out_path : str Path to save failed
tools/run_all_notebooks.py:49
↓ 1 callers
Function
test_all_notebooks_mp
Run notebooks. Parameters ---------- src_path : str Source path for notebooks out_path : str Path to save failed
tools/run_all_notebooks.py:97
↓ 1 callers
Method
to_api_dict
Return attributes as a JSON-serializable dictionary.
msticpy/context/azure/sentinel_dynamic_summary_types.py:138
↓ 1 callers
Function
to_html
Return Pygments-highlighted code for specified language. Parameters ---------- code : str Input code as string. language
msticpy/vis/code_view.py:17
↓ 1 callers
Method
to_html
Return the item as HTML string.
msticpy/nbtools/security_base.py:453
↓ 1 callers
Method
to_html
Return HTML representation of entity. Returns ------- str HTML representation of entity
msticpy/datamodel/entities/entity.py:279
↓ 1 callers
Method
to_json_api
Return API-ready JSON representation of DynamicSummary.
msticpy/context/azure/sentinel_dynamic_summary_types.py:596
↓ 1 callers
Method
to_yaml
Return yaml representation of pipeline. Returns ------- str Pipeline as yaml.
msticpy/init/pivot_core/pivot_pipeline.py:255
↓ 1 callers
Function
token_count
Return count of delimiter-separated tokens pd.Series column. Parameters ---------- value : str Data to process delimiter
msticpy/analysis/eventcluster.py:468
↓ 1 callers
Function
token_count_df
Return count of delimiter-separated tokens pd.Series column. Parameters ---------- data : pd.DataFrame The DataFrame to proc
msticpy/analysis/eventcluster.py:579
↓ 1 callers
Function
ts_anomalies_stl
Return anomalies in Timeseries using STL. Parameters ---------- data : pd.DataFrame DataFrame as a time series data set retr
msticpy/analysis/timeseries.py:222
↓ 1 callers
Function
txt_to_dict
Return dict from string of "key:val; key2:val2" pairs. Parameters ---------- txt_val : str The key/value string (items separ
msticpy/config/ce_common.py:246
↓ 1 callers
Function
unpack
Base64 decode an input string. Parameters ---------- input_string : str, optional single string to decode (the default is No
msticpy/transform/base64unpack.py:224
↓ 1 callers
Function
unpack_auditd
Unpack an Audit message and returns a dictionary of fields. Parameters ---------- audit_str : str The auditd raw record
msticpy/transform/auditdextract.py:113
↓ 1 callers
Method
update_incident
Update properties of an incident. Parameters ---------- incident_id : str Incident ID GUID. upda
msticpy/context/azure/sentinel_incidents.py:278
↓ 1 callers
Method
upload_blob
(self, blob, overwrite)
tests/data/storage/test_azure_blob_storage.py:102
↓ 1 callers
Method
upload_to_blob
Upload a blob of data. Parameters ---------- blob : Any The data to upload. container_name : str
msticpy/data/storage/azure_blob_storage.py:128
← previous
next →
1,601–1,700 of 3,664, ranked by callers