MCPcopy Create free account

hub / github.com/microsoft/msticpy / functions

Functions3,664 in github.com/microsoft/msticpy

↓ 1 callersMethoddisplay
Display in IPython.
msticpy/vis/data_viewer.py:323
↓ 1 callersMethoddisplay_observations
Display the current observations using IPython.display.
msticpy/analysis/observationlist.py:176
↓ 1 callersFunctiondns_resolve
Validate if a domain or URL be be resolved to an IP address. Parameters ---------- url_domain : str The url or domain to val
msticpy/context/domain_utils.py:314
↓ 1 callersMethoddownload_blob
(self)
tests/data/storage/test_azure_blob_storage.py:108
↓ 1 callersFunctiondownload_python_package
Download a Python package and its dependencies for local use. Parameters ---------- python_version: str Python version to us
tools/download_python_package.py:22
↓ 1 callersMethodedit_query_time
Display a QueryTime widget to get the timespan. Parameters ---------- timespan : Optional[TimeSpan], optional
msticpy/init/pivot.py:225
↓ 1 callersMethodenable_layer_control
Enable Layer Control on the map. Parameters ---------- None
msticpy/vis/foliummap.py:401
↓ 1 callersMethodexec_query
Execute simple query string. Parameters ---------- query : str [description] use_connections : U
msticpy/data/core/query_provider_connections_mixin.py:69
↓ 1 callersMethodexecute
Mock execute.
tests/data/drivers/test_azure_kusto_driver.py:446
↓ 1 callersFunctionextract_query_params
Get the parameters needed for the query. Parameters ---------- query_source : QuerySource Query source args : Tuple[Quer
msticpy/data/core/param_extractor.py:21
↓ 1 callersMethodfield_list
Return field names as a list.
msticpy/vis/timeline_duration.py:73
↓ 1 callersMethodfield_list
Return field names as a list.
msticpy/vis/matrix_plot.py:68
↓ 1 callersMethodfield_list
Return field names as a list.
msticpy/vis/timeline.py:88
↓ 1 callersMethodfile_hash_type
Return specific IoCType based on hash length. Parameters ---------- file_hash : str File hash string
msticpy/transform/iocextract.py:604
↓ 1 callersFunctionfind_anomaly_periods
Return list of anomaly period as TimeSpans. Parameters ---------- data : pd.DataFrame The data to process time_column :
msticpy/analysis/timeseries.py:379
↓ 1 callersFunctionfind_yaml_files
Return iterable of yaml files found in `source_path`. Parameters ---------- source_path : str The source path to search in.
msticpy/data/core/data_query_reader.py:24
↓ 1 callersMethodfolium_map
Plot folium map from DataFrame. Parameters ---------- ip_column : Optional[str], optional The name of th
msticpy/vis/mp_pandas_plot.py:417
↓ 1 callersFunctionformat_logon
Return logon data for one or more events as HTML table. Parameters ---------- logon_event : Union[pd.DataFrame, pd.Series] D
msticpy/vis/nbdisplay.py:194
↓ 1 callersMethodfrom_resource_id
Return SentinelInstanceDetails from a resource ID.
msticpy/context/azure/sentinel_utils.py:73
↓ 1 callersMethodfrom_yaml
Parse pipelines from yaml string. Parameters ---------- yml_str : str Yaml dict of pipelines. Y
msticpy/init/pivot_core/pivot_pipeline.py:237
↓ 1 callersFunctiongenerate_document
Generate query list document.
docs/generate_query_docs.py:77
↓ 1 callersFunctiongenerate_process_tree
Generate process tree data from auditd logs. Parameters ---------- audit_data : pd.DataFrame The Audit data containing proce
msticpy/transform/auditdextract.py:502
↓ 1 callersFunctiongeo_distance
Calculate the Haversine distance. Parameters ---------- origin : tuple[float, float] Latitude, Longitude of origin of distan
msticpy/context/geoip.py:975
↓ 1 callersMethodgetJobId
Return job ID.
tests/init/mssparkutils_fixtures.py:75
↓ 1 callersMethodgetSecret
Return mocked value from KV.
tests/init/mssparkutils_fixtures.py:91
↓ 1 callersMethodgetWorkspaceName
Return workspace name.
tests/init/mssparkutils_fixtures.py:79
↓ 1 callersMethodget_all_indicators
Return all TI indicators in a Microsoft Sentinel workspace. Parameters ---------- limit: int, optional I
msticpy/context/azure/sentinel_ti.py:67
↓ 1 callersMethodget_all_services_of_type
Return list of Linked services of `svc_type`. Parameters ---------- svc_type : str Service Type (AzureBl
msticpy/init/azure_synapse_tools.py:356
↓ 1 callersFunctionget_arg_ctrl
Create the ArgControl based on the current value of the setting.
msticpy/config/compound_ctrls.py:227
↓ 1 callersFunctionget_asn_details
Get details about an ASN(s) from its number. Parameters ---------- asns : Union[str, List] A single ASN or list of ASNs to l
msticpy/context/ip_utils.py:456
↓ 1 callersFunctionget_asn_from_name
Get a list of ASNs that match a name. Parameters ---------- name : str The name of the ASN to search for Returns --
msticpy/context/ip_utils.py:478
↓ 1 callersMethodget_blob
Get a blob from the Azure Blob Storage account. Parameters ---------- container_name : str The name of t
msticpy/data/storage/azure_blob_storage.py:163
↓ 1 callersFunctionget_children
Return the child processes for the source process. Parameters ---------- procs : pd.DataFrame Process events (with process t
msticpy/transform/process_tree_utils.py:206
↓ 1 callersFunctionget_cloud_endpoints
Get the cloud endpoints for a specific cloud. If resource_manager_url is supplied, it will be used instead of the cloud name. Parameter
msticpy/auth/cloud_mappings.py:68
↓ 1 callersFunctionget_cloud_endpoints_by_cloud
Get the cloud endpoints for a specific cloud. Parameters ---------- cloud : str The name of the cloud to get endpoints for.
msticpy/auth/cloud_mappings.py:107
↓ 1 callersFunctionget_cluster_name
Return the cluster name from the cluster uri.
msticpy/data/drivers/azure_kusto_driver.py:1006
↓ 1 callersMethodget_container_properties
(self)
tests/data/storage/test_azure_blob_storage.py:94
↓ 1 callersFunctionget_def_tenant_id
Get the tenant ID for a subscription. Parameters ---------- sub_id : str Subscription ID Returns ------- Option
msticpy/config/ce_common.py:203
↓ 1 callersFunctionget_defender_endpoint
Get the URI of the applicable Defender for Endpoint API.
msticpy/auth/cloud_mappings.py:178
↓ 1 callersFunctionget_extras_from_setup
Return list of extras from setup.py. Parameters ---------- extra : str, optional The name of the extra to return, by default
tools/toollib/import_analyzer.py:286
↓ 1 callersMethodget_file_behavior
Return a VTFileBehavior object with file detonation results. Parameters ---------- file_id : Optional[str], optional
msticpy/context/vtlookupv3/vtlookupv3.py:900
↓ 1 callersMethodget_file_behavior
Retrieve the file behavior data. Parameters ---------- sandbox : str, optional Name of specific sandbox
msticpy/context/vtlookupv3/vtfile_behavior.py:183
↓ 1 callersMethodget_folder_list
Return sorted list of folders with '..' inserted if not root.
msticpy/config/file_browser.py:173
↓ 1 callersMethodget_http_timeout
Get http timeout from settings or kwargs.
msticpy/data/uploaders/uploader_base.py:80
↓ 1 callersMethodget_ioc_type
Return first matching type. Parameters ---------- observable : str The IoC Observable to check
msticpy/transform/iocextract.py:627
↓ 1 callersFunctionget_items_from_gzip
Return decompressed gzip contents. Parameters ---------- binary : bytes byte array of gz file Returns ------- T
msticpy/transform/base64unpack.py:728
↓ 1 callersFunctionget_items_from_tar
Return dictionary of tar file contents. Parameters ---------- binary : bytes byte array of zip file Returns -------
msticpy/transform/base64unpack.py:773
↓ 1 callersFunctionget_items_from_zip
Return dictionary of zip contents. Parameters ---------- binary : bytes byte array of zip file Returns -------
msticpy/transform/base64unpack.py:748
↓ 1 callersFunctionget_m365d_login_endpoint
Get M365 login URL.
msticpy/auth/cloud_mappings.py:188
↓ 1 callersFunctionget_map_center
Calculate median point between Entity IP locations. Parameters ---------- entities : Iterable[Entity] An iterable of entitie
msticpy/vis/foliummap.py:965
↓ 1 callersFunctionget_mdr_data_paths
Mock get_mdr_data_paths.
tests/data/drivers/test_mordor_driver.py:62
↓ 1 callersFunctionget_mdr_data_paths
Generate Mordor data sets from GitHub repo. Parameters ---------- item_type : str, optional The type of item required, by de
msticpy/data/drivers/mordor_driver.py:519
↓ 1 callersMethodget_object
Fetch the object from VT.
tests/context/test_vtlookupv3.py:111
↓ 1 callersMethodget_param_attrs
Get the attributes for a parameter name. Parameters ---------- param_name : str Parameter name
msticpy/init/pivot_init/pivot_data_queries.py:310
↓ 1 callersMethodget_params
Get the parameters for a query function. Parameters ---------- query_func_name : str Query name - the na
msticpy/init/pivot_init/pivot_data_queries.py:291
↓ 1 callersFunctionget_parent
Return the parent of the source process. Parameters ---------- procs : pd.DataFrame Process events (with process tree metada
msticpy/transform/process_tree_utils.py:120
↓ 1 callersMethodget_password
(self, service, username)
tests/auth/test_provider_secrets.py:60
↓ 1 callersMethodget_queries_and_types_for_param
Get queries and parameter data types for `param`. Parameters ---------- param : str The parameter name.
msticpy/init/pivot_init/pivot_data_queries.py:232
↓ 1 callersFunctionget_queries_schema
Get queries schema.
tests/unit_test_lib.py:35
↓ 1 callersFunctionget_query_list
Return the query list as a DataFrame.
docs/generate_query_docs.py:34
↓ 1 callersMethodget_query_pivot_settings
Get Pivot settings metadata for a query. Parameters ---------- family : str Data family query :
msticpy/init/pivot_init/pivot_data_queries.py:203
↓ 1 callersMethodget_query_settings
Get the QuerySource for the named `family` and `query`. Parameters ---------- family : str Data family n
msticpy/init/pivot_init/pivot_data_queries.py:176
↓ 1 callersMethodget_resource_details
Return the details of a specific Azure resource. Parameters ---------- resource_id: str, optional The ID
msticpy/context/azure/azure_data.py:486
↓ 1 callersMethodget_resources
Return details on all resources in a subscription or Resource Group. Parameters ---------- sub_id: str T
msticpy/context/azure/azure_data.py:384
↓ 1 callersMethodget_sas_token
Generate a shared access string (SAS) token for a blob. Parameters ---------- container_name : str The n
msticpy/data/storage/azure_blob_storage.py:220
↓ 1 callersFunctionget_schema_and_host
Return URL scheme and host and cleaned URL. Parameters ---------- url : str Input URL require_url_encoding : bool
msticpy/context/preprocess_observable.py:112
↓ 1 callersFunctionget_secrets_client_func
Return function to get or create secrets client. Returns ------- Callable Function to get, replace or create a SecretsClient
msticpy/common/provider_settings.py:60
↓ 1 callersFunctionget_test_df
()
tests/data/drivers/test_azure_kusto_driver.py:90
↓ 1 callersMethodget_ti_metrics
Return metrics about TI indicators in a Microsoft Sentinel workspace. Returns ------- pd.DataFrame A tab
msticpy/context/azure/sentinel_ti.py:99
↓ 1 callersMethodget_token_info
Return raw token.
tests/auth/test_azure_auth_core.py:126
↓ 1 callersMethodget_vault_uri
Return the URI for a vault name. Parameters ---------- vault_name : str The Vault name. Returns
msticpy/auth/keyvault_client.py:458
↓ 1 callersMethodget_workspace_from_url
Return workspace settings from Sentinel portal URL. Parameters ---------- url : str The URL of the Azure
msticpy/config/mp_config_file.py:288
↓ 1 callersFunctionhas_config
Return True if a settings path exists.
msticpy/common/pkg_config.py:120
↓ 1 callersFunctionhash_dict
Hash dictionary values. Parameters ---------- item_dict : Dict[str, Union[Dict[str, Any], List[Any], str]] Input item can be
msticpy/data/data_obfus.py:224
↓ 1 callersFunctionhash_list
Hash list of strings. Parameters ---------- item_list : List[str] Input list Returns ------- List[Any]
msticpy/data/data_obfus.py:196
↓ 1 callersMethodimport_file
Import a yaml data source definition. Parameters ---------- query_file : str Path to the file to import
msticpy/data/core/query_store.py:209
↓ 1 callersMethodimport_files
Import multiple query definition files from directory path. Parameters ---------- source_path : str The
msticpy/data/core/query_store.py:251
↓ 1 callersFunctioninit_synapse
Initialize Synapse Spark notebook pipeline. Parameters ---------- identity_type : IdentityType, optional The authentication
msticpy/init/azure_synapse_tools.py:66
↓ 1 callersMethodinitiate_device_flow
(self, **kwargs)
tests/auth/test_msal_auth.py:42
↓ 1 callersFunctioninstall_all_whl_files
Install all wheel files in a directory. Parameters ---------- directory: str Directory containing wheel files
tools/install_all_whl_files.py:17
↓ 1 callersFunctioninstall_pkg
Install msticpy with extra from distrib path. Parameters ---------- extra : str extra to install (default none) path : s
tools/test_mp_extras.py:91
↓ 1 callersFunctionip_rev_resolve
Reverse lookup for IP Address. Parameters ---------- ip_address : str The IP address to query. Returns -------
msticpy/context/domain_utils.py:371
↓ 1 callersFunctionis_benign_ioc
Return True if benign.
tests/context/test_tiproviders.py:67
↓ 1 callersFunctionis_in_aml_pyspark
Return True if running in Spark on Azure Machine Learning.
msticpy/init/azure_ml_tools.py:105
↓ 1 callersMethodis_ready
(self)
tests/data/drivers/test_splunk_driver.py:95
↓ 1 callersMethodis_supported_type
Return True if the passed type is supported. Parameters ---------- item_type : Union[str, IoCType] type
msticpy/context/provider_base.py:332
↓ 1 callersMethodkql_periods
Return KQL filter expression for anomaly time periods. Parameters ---------- time_column : str, optional
msticpy/analysis/timeseries.py:127
↓ 1 callersFunctionlaplace_smooth_value_counts
Apply laplace smoothing to the input counts for the values. In particular, add 1 to each of the counts, including the unk_token. By includin
msticpy/analysis/anomalous_sequence/utils/laplace_smooth.py:102
↓ 1 callersMethodlist_alert_rules
Return all Microsoft Sentinel alert rules for a workspace. Returns ------- pd.DataFrame A table of the w
msticpy/context/azure/sentinel_analytics.py:83
↓ 1 callersMethodlist_blobs
(self)
tests/data/storage/test_azure_blob_storage.py:97
↓ 1 callersMethodlist_hunting_queries
Return all custom hunting queries in a Microsoft Sentinel workspace. Returns ------- pd.DataFrame A tabl
msticpy/context/azure/sentinel_analytics.py:45
↓ 1 callersMethodlist_saved_queries
Return all saved queries in a Microsoft Sentinel workspace. Returns ------- pd.DataFrame A table of the
msticpy/context/azure/sentinel_analytics.py:63
↓ 1 callersFunctionload_plugins_from_path
Load all compatible plugins found in plugin_path.
msticpy/init/mp_plugins.py:84
↓ 1 callersFunctionload_user_defaults
Load providers from user defaults in msticpyconfig.yaml. Returns ------- Dict[str, object] Dict of object name and provider
msticpy/init/user_config.py:62
↓ 1 callersMethodlookup_ioc
Lookup a single IoC observable. Parameters ---------- ioc : str IoC Observable value ioc_type :
msticpy/context/tiproviders/ti_provider_base.py:185
↓ 1 callersMethodlookup_ioc_related
Look single IoC observable related items. Parameters ---------- observable: str The observable value
msticpy/context/vtlookupv3/vtlookupv3.py:604
↓ 1 callersMethodlookup_iocs
Lookup collection of IoC observables. Parameters ---------- data : Union[pd.DataFrame, dict[str, str], Iterable[str]
msticpy/context/tiproviders/kql_base.py:133
↓ 1 callersMethodlookup_iocs_relationships
Look up and single IoC observable relationships. Parameters ---------- observables_df: pd.DataFrame A Pa
msticpy/context/vtlookupv3/vtlookupv3.py:725
↓ 1 callersMethodlookup_iocs_sync
Lookup a collection of IoCs. Parameters ---------- data : Union[pd.DataFrame, Mapping[str, str], Iterable[str]]
msticpy/context/tilookup.py:248
↓ 1 callersMethodlookup_ip
Lookup IP location from IPStack web service. Parameters ---------- ip_address : str, optional a single a
msticpy/context/geoip.py:280
← previousnext →1,501–1,600 of 3,664, ranked by callers