Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/microsoft/msticpy
/ functions
Functions
3,664 in github.com/microsoft/msticpy
⨍
Functions
3,664
◇
Types & classes
443
↳
Endpoints
149
↓ 3 callers
Function
fallback_devicecode_creds
Authenticate using device code as a fallback method. Parameters ---------- cloud : str, optional What Azure cloud to connect
msticpy/auth/azure_auth.py:162
↓ 3 callers
Function
format_alert
Get IPython displayable Security Alert. Parameters ---------- alert : Union[Mapping[str, Any], SecurityAlert] The alert to d
msticpy/vis/nbdisplay.py:56
↓ 3 callers
Method
get_attacks
Return list of Mitre attack classifications. Returns ------- List[MitreAttack] List of MitreAttack defin
msticpy/data/drivers/mordor_driver.py:469
↓ 3 callers
Function
get_color_palette
Return palette based on series size.
msticpy/vis/timeline_common.py:170
↓ 3 callers
Method
get_data
Fetch the file behavior data from VT.
tests/context/test_vtlookupv3.py:130
↓ 3 callers
Method
get_database_schema
Get table names and schema from the connected cluster/database. Parameters ---------- database : str | None
msticpy/data/drivers/azure_kusto_driver.py:563
↓ 3 callers
Function
get_def_source_cols
Get default set of columns (backward compat).
msticpy/vis/timeline_common.py:158
↓ 3 callers
Method
get_dynamic_summary
Retrieve dynamic summary from MS Sentinel table.
msticpy/context/azure/sentinel_dynamic_summary.py:564
↓ 3 callers
Function
get_event_subset
Return a subset of the events matching type event_type. Parameters ---------- data : pd.DataFrame The input data event_t
msticpy/transform/auditdextract.py:369
↓ 3 callers
Method
get_indicator
Get a specific indicator by its ID. Parameters ---------- indicator_id : str The GUID of the indicator t
msticpy/context/azure/sentinel_ti.py:294
↓ 3 callers
Method
get_kv_secret
Return secret from linked service.
msticpy/init/azure_synapse_tools.py:428
↓ 3 callers
Function
get_kv_settings
(config_file)
tests/auth/test_provider_secrets.py:337
↓ 3 callers
Function
get_mpconfig_definitions
Return the current msticpyconfig definition dictionary. Returns ------- Dict[str, Any] msticpyconfig definition dictionary
msticpy/config/mp_config_control.py:427
↓ 3 callers
Method
get_pivot_list
Return list of current pivot functions. Returns ------- List[str] List of pivot functions assigned to en
msticpy/datamodel/entities/entity.py:595
↓ 3 callers
Function
get_protected_setting
Return a potentially protected setting value.
msticpy/common/provider_settings.py:228
↓ 3 callers
Function
get_ref_event_time
Extract the reference time from kwargs.
msticpy/vis/timeline_common.py:391
↓ 3 callers
Method
get_remaining
Get the current remaining count.
msticpy/context/lookup.py:76
↓ 3 callers
Function
get_sentinel_queries_from_github
r""" Download Microsoft Sentinel Github archive and extract detection and hunting queries. Parameters ---------- git_url : str, optio
msticpy/data/drivers/sentinel_query_reader.py:96
↓ 3 callers
Method
get_service
Return named linked service. Returns ------- Optional[LinkedService] Named service service.
msticpy/init/azure_synapse_tools.py:396
↓ 3 callers
Method
get_tenant_authority_host
Return tenant authority URI with no leading scheme. Parameters ---------- authority_uri : str, optional
msticpy/auth/keyvault_settings.py:180
↓ 3 callers
Method
get_tenant_authority_uri
Return authority URI for tenant. Parameters ---------- authority_uri : str, optional The authority URI -
msticpy/auth/keyvault_settings.py:143
↓ 3 callers
Function
get_whois_df
Retrieve Whois ASN information for DataFrame of IP Addresses. Parameters ---------- data : pd.DataFrame Input DataFrame
msticpy/context/ip_utils.py:333
↓ 3 callers
Method
get_workspace_id
Return the workspace ID given workspace name. Parameters ---------- workspace_name : str Workspace name
msticpy/context/azure/sentinel_workspaces.py:153
↓ 3 callers
Function
hash_item
Hash a simple string. Parameters ---------- input_item : str The input string delim: str, optional A string of d
msticpy/data/data_obfus.py:63
↓ 3 callers
Method
help
Print help for query.
msticpy/data/core/query_source.py:419
↓ 3 callers
Method
hide
Hide the controls.
msticpy/nbwidgets/progress.py:99
↓ 3 callers
Function
init_notebook
Initialize the notebook environment. Parameters ---------- namespace : Dict[str, Any], optional Namespace (usually globals()
msticpy/init/nbinit.py:235
↓ 3 callers
Function
ip_whois
Lookup IP Whois information. Parameters ---------- ip : Union[IpAddress, str, List] An IP address or list of IP addresses to
msticpy/context/ip_utils.py:397
↓ 3 callers
Method
is_equivalent
Return True if the entities are equivalent. Parameters ---------- other : Any The entity to check
msticpy/datamodel/entities/entity.py:327
↓ 3 callers
Function
laplace_smooth_cmd_counts
Apply laplace smoothing to the input counts for the cmds. In particular, add 1 to each of the counts, including the unk_token. By including
msticpy/analysis/anomalous_sequence/utils/laplace_smooth.py:12
↓ 3 callers
Method
list_bookmarks
Return a list of Bookmarks from a Sentinel workspace. Returns ------- pd.DataFrame A set of bookmarks.
msticpy/context/azure/sentinel_bookmarks.py:45
↓ 3 callers
Method
list_connections
Return a list of current connections. Returns ------- list[str] The alias and connection string for each
msticpy/data/core/query_provider_connections_mixin.py:142
↓ 3 callers
Method
list_workspaces
Return list of available workspaces. Returns ------- Dict Dictionary of workspaces with workspace and te
msticpy/common/wsconfig.py:332
↓ 3 callers
Method
load_default
Load default settings specified by MSTICPYCONFIG env var.
msticpy/config/mp_config_file.py:180
↓ 3 callers
Method
load_from_file
Load settings from `file`.
msticpy/config/mp_config_file.py:193
↓ 3 callers
Method
lookup_ioc
Lookup Threat Intelligence reports for a single IoC in active providers. Parameters ---------- ioc : str
msticpy/context/tilookup.py:57
↓ 3 callers
Method
lookup_ioc_relationships
Look up single IoC observable relationship links. Parameters ---------- observable: str The observable v
msticpy/context/vtlookupv3/vtlookupv3.py:551
↓ 3 callers
Method
lookup_ip
Lookup IP location abstract method. Parameters ---------- ip_address : str, optional a single address to
msticpy/context/geoip.py:83
↓ 3 callers
Method
lookup_ip
Lookup IP location from GeoLite2 data created by MaxMind. Parameters ---------- ip_address : str, optional
msticpy/context/geoip.py:535
↓ 3 callers
Method
lookup_threat
Lookup a Threat name in the Pulsedive API. Parameters ---------- observable : str The IOC to lookup.
msticpy/context/tiproviders/pulsedive.py:143
↓ 3 callers
Method
map_json_to_mp_ws
Map config.json settings to MSTICPy settings.
msticpy/config/mp_config_file.py:342
↓ 3 callers
Method
parse_pipeline
Parse single pipeline from dictionary. Parameters ---------- pipeline : Dict[str, Dict[str, Any]] Single
msticpy/init/pivot_core/pivot_pipeline.py:190
↓ 3 callers
Function
plot_map
Plot folium map from DataFrame. Parameters ---------- data : pd.DataFrame The input DataFrame, must have either an IP addres
msticpy/vis/foliummap.py:633
↓ 3 callers
Function
plot_ref_events
Plot reference lines/labels.
msticpy/vis/timeline_common.py:357
↓ 3 callers
Method
provider_usage
Print usage of loaded providers.
msticpy/context/lookup.py:309
↓ 3 callers
Method
reload_providers
Reload settings and provider classes.
msticpy/context/lookup.py:336
↓ 3 callers
Function
remove_ignored_uris
Remove any URLS in the ignore list.
tools/toollib/url_checker_async.py:226
↓ 3 callers
Method
rename_path
Rename a setting from `old_path` to `new_path`.
msticpy/config/mp_config_control.py:144
↓ 3 callers
Method
required_fields
Return required fields for Observation instance. Returns ------- List[str] List of field names.
msticpy/analysis/observationlist.py:77
↓ 3 callers
Method
reset_changed_data
Reset changed data flag.
msticpy/config/query_editor.py:478
↓ 3 callers
Method
save_metadata
Save the values to the Metadata object.
msticpy/config/query_editor.py:750
↓ 3 callers
Method
scan
Scan an observable in the Pulsedive API. Parameters ---------- observable : str The observable to scan.
msticpy/context/tiproviders/pulsedive.py:181
↓ 3 callers
Method
search
Search queries for match properties. Parameters ---------- search : Union[str, Iterable[str]], optional
msticpy/data/core/query_provider_utils_mixin.py:186
↓ 3 callers
Function
set_config
Set setting value for path. Parameters ---------- setting_path : str Path to setting item expressed as dot-separated
msticpy/common/pkg_config.py:175
↓ 3 callers
Method
set_help
Set the help string (HTML) and URIs.
msticpy/config/comp_edit.py:111
↓ 3 callers
Function
test_notebook
Test single notebook. Parameters ---------- notebook_file : str Source path for notebook out_path : str Path to
tools/run_all_notebooks.py:164
↓ 3 callers
Method
to_dataframe
Mock to_dataframe.
tests/data/drivers/test_azure_kusto_driver.py:420
↓ 3 callers
Function
unit_testing
Return True if in unit testing. Returns ------- bool True if in unit testing
msticpy/common/utility/package.py:284
↓ 3 callers
Method
usage
Print usage of provider.
msticpy/context/provider_base.py:322
↓ 3 callers
Method
validate_tld
Validate if a domain's TLD is valid. Parameters ---------- url_domain : str The url or domain to validat
msticpy/context/domain_utils.py:199
↓ 3 callers
Method
view_settings
View the current settings as text.
msticpy/config/mp_config_file.py:198
↓ 3 callers
Function
x_dodge
(x_offset)
msticpy/vis/process_tree.py:288
↓ 3 callers
Function
y_dodge
(y_offset)
msticpy/vis/process_tree.py:291
↓ 2 callers
Method
__init__
Instantiate RiskIQ class.
msticpy/context/tiproviders/riskiq.py:141
↓ 2 callers
Method
__init__
Initialize the class. Set the controls and retrieve settings.
msticpy/config/comp_edit.py:225
↓ 2 callers
Method
_add_additional_data
Populate additional alert properties.
msticpy/datamodel/entities/alert.py:159
↓ 2 callers
Method
_add_alert_node
Add an alert entity to the graph.
msticpy/vis/entity_graph_tools.py:359
↓ 2 callers
Function
_add_call_edge
( call_graph: nx.DiGraph, call_name: str, func_span: dict[str, Any], call_lines, call_type
tools/toollib/module_tree.py:84
↓ 2 callers
Method
_add_control_to_map
Set a value at dotted path location in self.control_map dict.
msticpy/config/compound_ctrls.py:445
↓ 2 callers
Function
_add_func_to_entities
Create the pivot function and add to entities.
msticpy/init/pivot_core/pivot_register_reader.py:168
↓ 2 callers
Method
_add_query_functions
(self)
msticpy/data/core/query_provider_utils_mixin.py:36
↓ 2 callers
Method
_adjust_max_before_after
Adjust the max values so the are always bigger than the defaults.
msticpy/nbwidgets/query_time.py:345
↓ 2 callers
Function
_analyze_module_imports
Analyze imports from a Python file and categorize them.
tools/toollib/import_analyzer.py:314
↓ 2 callers
Function
_analyze_module_local_imports
Analyze local package imports from a Python file.
tools/toollib/import_analyzer.py:350
↓ 2 callers
Method
_app_auth
Conduct authentication against the application.
msticpy/auth/msal_auth.py:102
↓ 2 callers
Method
_apply_filter
(self, btn)
msticpy/vis/data_viewer.py:162
↓ 2 callers
Function
_asn_results
Get ASN details from ASN number.
msticpy/context/ip_utils.py:780
↓ 2 callers
Function
_asn_whois_query
Connect to whois server and send query.
msticpy/context/ip_utils.py:713
↓ 2 callers
Function
_assign_proc_key
Create process and parent keys for unambiguous par-child relation.
msticpy/transform/proc_tree_build_winlx.py:268
↓ 2 callers
Function
_build_additional_indicator_items
Add in additional data items for indicators.
msticpy/context/azure/sentinel_ti.py:628
↓ 2 callers
Function
_build_cli_client
Build a credential from Azure CLI.
msticpy/auth/azure_auth_core.py:140
↓ 2 callers
Function
_build_env_client
Build a credential from environment variables.
msticpy/auth/azure_auth_core.py:125
↓ 2 callers
Function
_build_msi_client
Build a credential from Managed Identity.
msticpy/auth/azure_auth_core.py:164
↓ 2 callers
Method
_calc_df_height
(self, data)
msticpy/vis/data_viewer.py:129
↓ 2 callers
Method
_calc_timeoffset
Calculate date from offset specification.
msticpy/data/core/query_source.py:343
↓ 2 callers
Method
_check_index
Check if index exists in Splunk host.
msticpy/data/uploaders/splunk_uploader.py:316
↓ 2 callers
Method
_check_initialized
Return True if valid API key available.
msticpy/context/geoip.py:261
↓ 2 callers
Function
_check_proc_tree_schema
Return true if expected process tree columns are present.
msticpy/vis/process_tree.py:611
↓ 2 callers
Method
_check_provider_settings
(self, sec_settings)
tests/auth/test_provider_secrets.py:313
↓ 2 callers
Function
_check_tab_state
Check the current lazy-load status of the tabs.
tests/config/test_mp_config_edit.py:37
↓ 2 callers
Method
_clear_df_display
(self)
msticpy/vis/mordor_browser.py:96
↓ 2 callers
Method
_col_operators
(self, col)
msticpy/vis/data_viewer.py:422
↓ 2 callers
Function
_combine_extras
(extras: list)
setup.py:23
↓ 2 callers
Method
_combine_results
Combine dataframe results into single DF.
msticpy/context/lookup.py:862
↓ 2 callers
Method
_convert_mp_config_dict
Recursively convert definition dictionary to extract definitions.
msticpy/config/mp_config_control.py:400
↓ 2 callers
Method
_convert_mp_config_list
Recursively convert definition list to extract definitions.
msticpy/config/mp_config_control.py:413
↓ 2 callers
Function
_create_and_capture_exception
(ex_cls, *args, html_repr=True, **kwargs)
tests/common/test_exceptions.py:66
↓ 2 callers
Method
_create_button_callbacks
Set up buttons.
msticpy/nbwidgets/option_buttons.py:107
↓ 2 callers
Method
_create_dynamic_summary
Create a Dynamic Summary in the Sentinel Workspace. Parameters ---------- summary : DynamicSummary Dynam
msticpy/context/azure/sentinel_dynamic_summary.py:270
↓ 2 callers
Method
_create_entities
Create alert entities from returned dicts.
msticpy/datamodel/entities/alert.py:292
← previous
next →
401–500 of 3,664, ranked by callers