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
Method
end
Return the end of the timeperiod. Returns ------- datetime End datetime.
msticpy/common/timespan.py:123
Method
entities
Return a list of the Security Alert entities.
msticpy/nbtools/security_alert.py:57
Method
entities
Return a list of the Alert or Event entities. Returns ------- List[Entity] List of the Alert or Event en
msticpy/nbtools/security_base.py:136
Method
entities
Return the list of entities extracted from the event. Returns ------- List[Entity] The list of entities
msticpy/nbtools/security_event.py:49
Function
entity_classes
Return a list of all entity classes.
msticpy/datamodel/entities/__init__.py:150
Function
entity_distance
Return distance between two IP Entities. Parameters ---------- ip_src : IpAddress Source/Origin IpAddress Entity ip_dest
msticpy/context/geoip.py:939
Method
environment
Return the environment name.
msticpy/data/core/data_providers.py:189
Method
event_filter
Return the event type/ID to process for the current schema. Returns ------- Any The value of the event I
msticpy/transform/proc_tree_schema.py:133
Method
event_type_col
Return the column name containing the event identifier. Returns ------- str The name of the event ID col
msticpy/transform/proc_tree_schema.py:111
Function
exec_remaining_cells
Execute all cells below currently selected cell.
msticpy/vis/nbdisplay.py:92
Function
export
(obj: type[T])
msticpy/common/utility/types.py:30
Function
extract_process_tree
Build process trees from the process events. Parameters ---------- procs : pd.DataFrame Process events (Windows 4688 or Linu
msticpy/transform/proc_tree_build_winlx.py:24
Function
extract_process_tree
Build a process tree from raw MDE process logs. Parameters ---------- data : pd.DataFrame DataFrame of process events. d
msticpy/transform/proc_tree_build_mde.py:44
Function
extras_from_setup
Read extras packages from setup.py.
tests/test_pkg_imports.py:53
Method
file_hash
Return the first defined file hash. Returns ------- Optional[str] Returns first-defined file hash in ord
msticpy/datamodel/entities/file.py:178
Method
filtered_data
Return filtered dataframe.
msticpy/vis/data_viewer.py:105
Method
filtered_data
Apply filtering to data if it is a DataFrame.
msticpy/analysis/observationlist.py:122
Method
filtered_dataframe
Return current filtered DataFrame.
msticpy/vis/data_viewer.py:357
Method
filters
Return current filters as a dict.
msticpy/vis/data_viewer.py:110
Function
find_entity
Find entity name.
msticpy/datamodel/entities/__init__.py:116
Method
find_magic
Mock find_magic.
tests/context/test_tiprovider_kql.py:136
Method
fired_alerts
Mock method.
tests/data/drivers/test_splunk_driver.py:133
Method
fmt_title
Return formatted title.
msticpy/vis/timeline.py:93
Function
format_powershell
Cleanup obfuscated powershell. Parameters ---------- code : str Powershell code segment. Returns ------- str
msticpy/analysis/code_cleanup.py:16
Method
fqdn
Construct FQDN from host + dns.
msticpy/datamodel/entities/host.py:105
Method
fs_mounts
Return a dictionary of mount points and targets.
msticpy/init/azure_synapse_tools.py:321
Function
geo_loc_df
Return dataframe of IP addresses.
tests/vis/test_folium.py:42
Method
get_all_entities
Return a DataFrame of the Alert or Event entities. Returns ------- DataFrame Pandas DataFrame of the Ale
msticpy/nbtools/security_base.py:422
Function
get_ancestors
Return the ancestor processes of the source process. Parameters ---------- procs : pd.DataFrame Process events (with process
msticpy/transform/process_tree_utils.py:299
Function
get_config
Get mocked setting item for path.
tests/unit_test_lib.py:200
Method
get_cscb
Query Code Signing Certificate Blocklist (CSCB).
msticpy/context/tiproviders/mblookup.py:160
Function
get_descendents
Return the descendents of the source process. Parameters ---------- procs : pd.DataFrame Process events (with process tree m
msticpy/transform/process_tree_utils.py:237
Method
get_df_cols
Return the subset of columns that are present in `data`.
msticpy/transform/proc_tree_schema.py:101
Method
get_dynamic_summaries
Return dynamic summaries for date range.
msticpy/context/azure/sentinel_dynamic_summary.py:569
Method
get_dynamic_summary
Return DynamicSummary for ID. Parameters ---------- summary_id : str The ID of the Dynamic summary objec
msticpy/context/azure/sentinel_dynamic_summary.py:115
Function
get_except_cases
Pytest fixture for parameterized tests.
tests/common/test_exceptions.py:76
Function
get_instance
(*args, **kwargs)
msticpy/common/utility/types.py:284
Function
get_m365d_endpoint
Get the URI of the applicable Defender for Endpoint API.
msticpy/auth/cloud_mappings.py:183
Function
get_managed_tenant_id
Get the tenant IDs that are managing a subscription. Parameters ---------- sub_id :str Subscription ID Returns ----
msticpy/config/ce_common.py:226
Method
get_metrics
Return specified metrics on Azure Resource. Parameters ---------- metrics: str A string list of metrics
msticpy/context/azure/azure_data.py:826
Method
get_network_details
Return details related to an Azure network interface and associated NSG. Parameters ---------- network_id: str
msticpy/context/azure/azure_data.py:711
Method
get_notebooks
Return the list of notebooks for the dataset. Returns ------- List[Tuple[str, str, str]] Tuples of (name
msticpy/data/drivers/mordor_driver.py:454
Function
get_params_to_model_values
Determine using heuristics which params take categoricals vs arbitrary strings. This function helps us decide which params we should model
msticpy/analysis/anomalous_sequence/utils/cmds_params_values.py:229
Function
get_process_key
Return the process key of the process given its source_index. Parameters ---------- procs : pd.DataFrame Process events
msticpy/transform/process_tree_utils.py:24
Method
get_query
Return the raw query text for `query_name`. Parameters ---------- query_name : str The name of the query
msticpy/data/core/query_provider_utils_mixin.py:262
Function
get_query_doc
Return doc string and query as HTML.
msticpy/vis/query_browser.py:89
Method
get_raw_token
Return raw token.
tests/auth/test_azure_auth_core.py:122
Method
get_recent
Get the recent MB additions. Parameters ---------- selector : str Get the latest sample from the l
msticpy/context/tiproviders/mblookup.py:143
Function
get_root
Return the root process for the source process. Parameters ---------- procs : pd.DataFrame Process events (with process tree
msticpy/transform/process_tree_utils.py:143
Function
get_root_tree
Return the process tree to which the source process belongs. Parameters ---------- procs : pd.DataFrame Process events (with
msticpy/transform/process_tree_utils.py:166
Function
get_roots
Return the process tree roots for the current data set. Parameters ---------- procs : pd.DataFrame Process events (with proc
msticpy/transform/process_tree_utils.py:73
Method
get_secret
(self, name, *args, **kwargs)
tests/auth/test_provider_secrets.py:80
Function
get_settings
Return the current settings.
msticpy/common/pkg_config.py:105
Function
get_siblings
Return the processes that share the parent of the source process. Parameters ---------- procs : pd.DataFrame Process events
msticpy/transform/process_tree_utils.py:325
Function
get_sql_cases
Pytest fixture for parameterized tests.
tests/data/test_sql_to_kql.py:184
Method
get_subscription_info
Get information on a specific subscription. Parameters ---------- sub_id : str The ID of the subscriptio
msticpy/context/azure/azure_data.py:287
Method
get_subscriptions
Get details of all subscriptions within the tenant. Returns ------- pd.DataFrame Details of the subscrip
msticpy/context/azure/azure_data.py:237
Function
get_test_ids
Return test ids for parameterized tests.
tests/data/drivers/test_azure_monitor_driver.py:59
Function
get_ti_details
Display TI records from individual TI entry.
msticpy/vis/ti_browser.py:108
Method
get_timespan
Return the timespan as a TimeSpan object.
msticpy/init/pivot.py:317
Method
get_token
Mock get_token.
tests/data/drivers/test_azure_monitor_driver.py:96
Method
get_token
(self, *args, **kwargs)
tests/data/drivers/test_azure_search_driver.py:47
Method
get_train_samples
Accessor to training datasets. Parameters ---------- None Returns ------- np.ndarray
msticpy/analysis/outliers.py:398
Function
get_tree_depth
Return the depth of the process tree. Parameters ---------- procs : pd.DataFrame Process events (with process tree metadata)
msticpy/transform/process_tree_utils.py:188
Function
get_whois_info
Retrieve whois ASN information for given IP address using IPWhois python package. Parameters ---------- ip : str IP Address
msticpy/context/ip_utils.py:279
Function
get_whois_info_demo
Lookup Whois data from dataframe.
tools/mp_demo_data.py:257
Method
graph
Return the raw NetworkX graph.
msticpy/vis/entity_graph_tools.py:391
Function
graph_property
Property factory for graph_property.
msticpy/datamodel/entities/graph_property.py:20
Method
has_behavior_data
Return true if file behavior data available.
msticpy/context/vtlookupv3/vtfile_behavior.py:270
Method
has_evtx
Return True if EVTX data is available (Enterprise only).
msticpy/context/vtlookupv3/vtfile_behavior.py:169
Method
has_memdump
Return True if memory dump data is available (Enterprise only).
msticpy/context/vtlookupv3/vtfile_behavior.py:174
Method
has_pcap
Return True if PCAP data is available (Enterprise only).
msticpy/context/vtlookupv3/vtfile_behavior.py:179
Function
hash_account
Hash an Account to something recognizable. Parameters ---------- account : str Account name (UPN, NT or simple name) Re
msticpy/data/data_obfus.py:296
Function
hash_ip
Hash IP address or list of IP addresses. Parameters ---------- input_item : Union[List[str], str] List of IP addresses or si
msticpy/data/data_obfus.py:173
Function
hash_sid
Hash a SID preserving well-known SIDs and the RID. Parameters ---------- sid : str SID string Returns ------- s
msticpy/data/data_obfus.py:257
Method
help_uri
Get the default help URI.
msticpy/common/exceptions.py:141
Method
host_name
Return host name column.
msticpy/transform/proc_tree_schema.py:106
Method
hostname
Return the Hostname (not FQDN) of the host associated with the alert.
msticpy/nbtools/security_base.py:162
Function
icon_map_func
Test function for plot_map.
tests/vis/test_folium.py:239
Function
identify_outliers
Identify outlier items using SkLearn IsolationForest. Parameters ---------- x : np.ndarray Input data x_predict : np.nda
msticpy/analysis/outliers.py:64
Function
identify_outliers_rrcf
Identify outlier items using RobustRandomCutForest. MIT License Copyright (c) 2018 kLabUM. (https://klabum.github.io/rrcf/). Parame
msticpy/analysis/outliers.py:416
Method
ids
Return a collection of Identity properties for the alert.
msticpy/nbtools/security_base.py:176
Method
ids
Return a collection of Identity properties for the alert.
msticpy/datamodel/soc/sentinel_alert.py:119
Function
ignored_urls
()
tests/test_doc_links.py:21
Method
import_filters
Import filter set replacing current filters. Parameters ---------- filters : Dict[str, FilterExpr] dict
msticpy/vis/data_viewer.py:114
Method
import_filters
Replace the current filters with `filters`. Parameters ---------- filters : Dict[str, FilterExpr] dict o
msticpy/vis/data_viewer.py:331
Function
import_item
Return the attribute, importing module if needed.
msticpy/common/utility/package.py:332
Method
import_query_file
Import a yaml data source definition. Parameters ---------- query_file : str Path to the file to import
msticpy/data/core/query_provider_utils_mixin.py:127
Method
incident
Return any incident details associated with the alert.
msticpy/datamodel/soc/sentinel_alert.py:147
Function
init
Load VT3 Pivots if vt library is available.
msticpy/init/pivot_init/vt_pivot.py:123
Function
init_dir
Return list of available attributes.
msticpy/common/utility/package.py:323
Function
init_getattr
Import and return dynamic attribute.
msticpy/common/utility/package.py:315
Method
inject_fixtures
(self, caplog: pytest.LogCaptureFixture)
tests/data/test_dataqueries.py:103
Method
instance
Return instance name, if any for provider. Returns ------- Optional[str] The instance name or None for d
msticpy/data/core/query_provider_utils_mixin.py:114
Method
instance
Return instance name, if one is set. Returns ------- Optional[str] The name of driver instance or None i
msticpy/data/drivers/driver_base.py:152
Method
instance_name
Return instance name, if any for provider. Returns ------- Optional[str] The instance name or None for d
msticpy/init/pivot_init/pivot_data_queries.py:163
Method
ioc
Ioc Extract IPython magic extension. Parameters ---------- line : str, optional Line
msticpy/init/nbmagics.py:132
Method
ioc_df_types
Return current set of IoC types and regular expressions for defanged IoCs. Returns ------- dict dict of
msticpy/transform/iocextract.py:320
Function
ioc_extract
Return IoCExtract instance.
tests/transform/test_ioc_extractor.py:22
Method
ioc_extract
Extract IoCs from either a pandas DataFrame. Parameters ---------- columns : list The list of columns to
msticpy/init/mp_pandas_accessors.py:92
← previous
next →
2,401–2,500 of 3,664, ranked by callers