MCPcopy Create free account

hub / github.com/microsoft/msticpy / functions

Functions3,664 in github.com/microsoft/msticpy

Methodend
Return the end of the timeperiod. Returns ------- datetime End datetime.
msticpy/common/timespan.py:123
Methodentities
Return a list of the Security Alert entities.
msticpy/nbtools/security_alert.py:57
Methodentities
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
Methodentities
Return the list of entities extracted from the event. Returns ------- List[Entity] The list of entities
msticpy/nbtools/security_event.py:49
Functionentity_classes
Return a list of all entity classes.
msticpy/datamodel/entities/__init__.py:150
Functionentity_distance
Return distance between two IP Entities. Parameters ---------- ip_src : IpAddress Source/Origin IpAddress Entity ip_dest
msticpy/context/geoip.py:939
Methodenvironment
Return the environment name.
msticpy/data/core/data_providers.py:189
Methodevent_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
Methodevent_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
Functionexec_remaining_cells
Execute all cells below currently selected cell.
msticpy/vis/nbdisplay.py:92
Functionexport
(obj: type[T])
msticpy/common/utility/types.py:30
Functionextract_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
Functionextract_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
Functionextras_from_setup
Read extras packages from setup.py.
tests/test_pkg_imports.py:53
Methodfile_hash
Return the first defined file hash. Returns ------- Optional[str] Returns first-defined file hash in ord
msticpy/datamodel/entities/file.py:178
Methodfiltered_data
Return filtered dataframe.
msticpy/vis/data_viewer.py:105
Methodfiltered_data
Apply filtering to data if it is a DataFrame.
msticpy/analysis/observationlist.py:122
Methodfiltered_dataframe
Return current filtered DataFrame.
msticpy/vis/data_viewer.py:357
Methodfilters
Return current filters as a dict.
msticpy/vis/data_viewer.py:110
Functionfind_entity
Find entity name.
msticpy/datamodel/entities/__init__.py:116
Methodfind_magic
Mock find_magic.
tests/context/test_tiprovider_kql.py:136
Methodfired_alerts
Mock method.
tests/data/drivers/test_splunk_driver.py:133
Methodfmt_title
Return formatted title.
msticpy/vis/timeline.py:93
Functionformat_powershell
Cleanup obfuscated powershell. Parameters ---------- code : str Powershell code segment. Returns ------- str
msticpy/analysis/code_cleanup.py:16
Methodfqdn
Construct FQDN from host + dns.
msticpy/datamodel/entities/host.py:105
Methodfs_mounts
Return a dictionary of mount points and targets.
msticpy/init/azure_synapse_tools.py:321
Functiongeo_loc_df
Return dataframe of IP addresses.
tests/vis/test_folium.py:42
Methodget_all_entities
Return a DataFrame of the Alert or Event entities. Returns ------- DataFrame Pandas DataFrame of the Ale
msticpy/nbtools/security_base.py:422
Functionget_ancestors
Return the ancestor processes of the source process. Parameters ---------- procs : pd.DataFrame Process events (with process
msticpy/transform/process_tree_utils.py:299
Functionget_config
Get mocked setting item for path.
tests/unit_test_lib.py:200
Methodget_cscb
Query Code Signing Certificate Blocklist (CSCB).
msticpy/context/tiproviders/mblookup.py:160
Functionget_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
Methodget_df_cols
Return the subset of columns that are present in `data`.
msticpy/transform/proc_tree_schema.py:101
Methodget_dynamic_summaries
Return dynamic summaries for date range.
msticpy/context/azure/sentinel_dynamic_summary.py:569
Methodget_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
Functionget_except_cases
Pytest fixture for parameterized tests.
tests/common/test_exceptions.py:76
Functionget_instance
(*args, **kwargs)
msticpy/common/utility/types.py:284
Functionget_m365d_endpoint
Get the URI of the applicable Defender for Endpoint API.
msticpy/auth/cloud_mappings.py:183
Functionget_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
Methodget_metrics
Return specified metrics on Azure Resource. Parameters ---------- metrics: str A string list of metrics
msticpy/context/azure/azure_data.py:826
Methodget_network_details
Return details related to an Azure network interface and associated NSG. Parameters ---------- network_id: str
msticpy/context/azure/azure_data.py:711
Methodget_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
Functionget_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
Functionget_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
Methodget_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
Functionget_query_doc
Return doc string and query as HTML.
msticpy/vis/query_browser.py:89
Methodget_raw_token
Return raw token.
tests/auth/test_azure_auth_core.py:122
Methodget_recent
Get the recent MB additions. Parameters ---------- selector : str Get the latest sample from the l
msticpy/context/tiproviders/mblookup.py:143
Functionget_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
Functionget_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
Functionget_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
Methodget_secret
(self, name, *args, **kwargs)
tests/auth/test_provider_secrets.py:80
Functionget_settings
Return the current settings.
msticpy/common/pkg_config.py:105
Functionget_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
Functionget_sql_cases
Pytest fixture for parameterized tests.
tests/data/test_sql_to_kql.py:184
Methodget_subscription_info
Get information on a specific subscription. Parameters ---------- sub_id : str The ID of the subscriptio
msticpy/context/azure/azure_data.py:287
Methodget_subscriptions
Get details of all subscriptions within the tenant. Returns ------- pd.DataFrame Details of the subscrip
msticpy/context/azure/azure_data.py:237
Functionget_test_ids
Return test ids for parameterized tests.
tests/data/drivers/test_azure_monitor_driver.py:59
Functionget_ti_details
Display TI records from individual TI entry.
msticpy/vis/ti_browser.py:108
Methodget_timespan
Return the timespan as a TimeSpan object.
msticpy/init/pivot.py:317
Methodget_token
Mock get_token.
tests/data/drivers/test_azure_monitor_driver.py:96
Methodget_token
(self, *args, **kwargs)
tests/data/drivers/test_azure_search_driver.py:47
Methodget_train_samples
Accessor to training datasets. Parameters ---------- None Returns ------- np.ndarray
msticpy/analysis/outliers.py:398
Functionget_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
Functionget_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
Functionget_whois_info_demo
Lookup Whois data from dataframe.
tools/mp_demo_data.py:257
Methodgraph
Return the raw NetworkX graph.
msticpy/vis/entity_graph_tools.py:391
Functiongraph_property
Property factory for graph_property.
msticpy/datamodel/entities/graph_property.py:20
Methodhas_behavior_data
Return true if file behavior data available.
msticpy/context/vtlookupv3/vtfile_behavior.py:270
Methodhas_evtx
Return True if EVTX data is available (Enterprise only).
msticpy/context/vtlookupv3/vtfile_behavior.py:169
Methodhas_memdump
Return True if memory dump data is available (Enterprise only).
msticpy/context/vtlookupv3/vtfile_behavior.py:174
Methodhas_pcap
Return True if PCAP data is available (Enterprise only).
msticpy/context/vtlookupv3/vtfile_behavior.py:179
Functionhash_account
Hash an Account to something recognizable. Parameters ---------- account : str Account name (UPN, NT or simple name) Re
msticpy/data/data_obfus.py:296
Functionhash_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
Functionhash_sid
Hash a SID preserving well-known SIDs and the RID. Parameters ---------- sid : str SID string Returns ------- s
msticpy/data/data_obfus.py:257
Methodhelp_uri
Get the default help URI.
msticpy/common/exceptions.py:141
Methodhost_name
Return host name column.
msticpy/transform/proc_tree_schema.py:106
Methodhostname
Return the Hostname (not FQDN) of the host associated with the alert.
msticpy/nbtools/security_base.py:162
Functionicon_map_func
Test function for plot_map.
tests/vis/test_folium.py:239
Functionidentify_outliers
Identify outlier items using SkLearn IsolationForest. Parameters ---------- x : np.ndarray Input data x_predict : np.nda
msticpy/analysis/outliers.py:64
Functionidentify_outliers_rrcf
Identify outlier items using RobustRandomCutForest. MIT License Copyright (c) 2018 kLabUM. (https://klabum.github.io/rrcf/). Parame
msticpy/analysis/outliers.py:416
Methodids
Return a collection of Identity properties for the alert.
msticpy/nbtools/security_base.py:176
Methodids
Return a collection of Identity properties for the alert.
msticpy/datamodel/soc/sentinel_alert.py:119
Functionignored_urls
()
tests/test_doc_links.py:21
Methodimport_filters
Import filter set replacing current filters. Parameters ---------- filters : Dict[str, FilterExpr] dict
msticpy/vis/data_viewer.py:114
Methodimport_filters
Replace the current filters with `filters`. Parameters ---------- filters : Dict[str, FilterExpr] dict o
msticpy/vis/data_viewer.py:331
Functionimport_item
Return the attribute, importing module if needed.
msticpy/common/utility/package.py:332
Methodimport_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
Methodincident
Return any incident details associated with the alert.
msticpy/datamodel/soc/sentinel_alert.py:147
Functioninit
Load VT3 Pivots if vt library is available.
msticpy/init/pivot_init/vt_pivot.py:123
Functioninit_dir
Return list of available attributes.
msticpy/common/utility/package.py:323
Functioninit_getattr
Import and return dynamic attribute.
msticpy/common/utility/package.py:315
Methodinject_fixtures
(self, caplog: pytest.LogCaptureFixture)
tests/data/test_dataqueries.py:103
Methodinstance
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
Methodinstance
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
Methodinstance_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
Methodioc
Ioc Extract IPython magic extension. Parameters ---------- line : str, optional Line
msticpy/init/nbmagics.py:132
Methodioc_df_types
Return current set of IoC types and regular expressions for defanged IoCs. Returns ------- dict dict of
msticpy/transform/iocextract.py:320
Functionioc_extract
Return IoCExtract instance.
tests/transform/test_ioc_extractor.py:22
Methodioc_extract
Extract IoCs from either a pandas DataFrame. Parameters ---------- columns : list The list of columns to
msticpy/init/mp_pandas_accessors.py:92
← previousnext →2,401–2,500 of 3,664, ranked by callers