az sentinel entity-query
Note
This reference is part of the sentinel extension for the Azure CLI (version 2.37.0 or higher). The extension will automatically install the first time you run an az sentinel entity-query command. Learn more about extensions.
Manage entity query with sentinel.
Commands
Name | Description | Type | Status |
---|---|---|---|
az sentinel entity-query create |
Create the entity query. |
Extension | Experimental |
az sentinel entity-query delete |
Delete the entity query. |
Extension | Experimental |
az sentinel entity-query list |
Get all entity queries. |
Extension | Experimental |
az sentinel entity-query show |
Get an entity query. |
Extension | Experimental |
az sentinel entity-query template |
Manage entity query template with sentinel. |
Extension | GA |
az sentinel entity-query template list |
Get all entity query templates. |
Extension | Experimental |
az sentinel entity-query template show |
Get an entity query. |
Extension | Experimental |
az sentinel entity-query update |
Update the entity query. |
Extension | Experimental |
az sentinel entity-query create
This command is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Create the entity query.
az sentinel entity-query create --entity-query-id
--resource-group
--workspace-name
[--activity]
[--etag]
Required Parameters
Entity query ID.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the workspace.
Optional Parameters
Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Etag of the azure resource.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sentinel entity-query delete
This command is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete the entity query.
az sentinel entity-query delete [--entity-query-id]
[--ids]
[--resource-group]
[--subscription]
[--workspace-name]
[--yes]
Optional Parameters
Entity query ID.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
The name of the workspace.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sentinel entity-query list
This command is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get all entity queries.
az sentinel entity-query list --resource-group
--workspace-name
[--kind {Activity, Expansion}]
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the workspace.
Optional Parameters
The entity query kind we want to fetch.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sentinel entity-query show
This command is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get an entity query.
az sentinel entity-query show [--entity-query-id]
[--ids]
[--resource-group]
[--subscription]
[--workspace-name]
Optional Parameters
Entity query ID.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
The name of the workspace.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sentinel entity-query update
This command is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update the entity query.
az sentinel entity-query update [--activity]
[--add]
[--entity-query-id]
[--etag]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--remove]
[--resource-group]
[--set]
[--subscription]
[--workspace-name]
Optional Parameters
Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>
.
Entity query ID.
Etag of the azure resource.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
The name of the workspace.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.