az neuroshield protected-resource mitigation
Note
This reference is part of the neuroshield extension for the Azure CLI (version 2.75.0 or higher). The extension will automatically install the first time you run an az neuroshield protected-resource mitigation command. Learn more about extensions.
Manage Mitigation.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az neuroshield protected-resource mitigation execute |
Approves and queues a mitigation for execution. |
Extension | GA |
| az neuroshield protected-resource mitigation list |
List mitigations under a protected resource. |
Extension | GA |
| az neuroshield protected-resource mitigation rollback |
Rolls back a mitigation when rollback is available. |
Extension | GA |
| az neuroshield protected-resource mitigation show |
Get a mitigation under a protected resource. |
Extension | GA |
az neuroshield protected-resource mitigation execute
Approves and queues a mitigation for execution.
az neuroshield protected-resource mitigation execute [--acquire-policy-token]
[--change-reference]
[--ids]
[--mitigation-id]
[--neuroshield-name]
[--protected-resource --protected-resource-name]
[--resource-group]
[--subscription]
Examples
Execute mitigation
az neuroshield protected-resource mitigation execute --resource-group myResourceGroup --neuroshield-name myNeuroShield --protected-resource-name vm-01 --mitigation-id mitigation-01
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
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.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The system-generated identifier of the mitigation.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The name of the NeuroShield resource.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The name of the protected resource.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az neuroshield protected-resource mitigation list
List mitigations under a protected resource.
az neuroshield protected-resource mitigation list --neuroshield-name
--protected-resource --protected-resource-name
--resource-group
[--max-items]
[--next-token]
[--skip-token]
[--top]
Examples
List mitigations
az neuroshield protected-resource mitigation list --resource-group myResourceGroup --neuroshield-name myNeuroShield --protected-resource-name vm-01
Required Parameters
The name of the NeuroShield resource.
The name of the protected resource.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.
| Property | Value |
|---|---|
| Parameter group: | Pagination Arguments |
Token to specify where to start paginating. This is the token value from a previously truncated response.
| Property | Value |
|---|---|
| Parameter group: | Pagination Arguments |
The continuation token used to retrieve the next page.
The maximum number of items to return.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az neuroshield protected-resource mitigation rollback
Rolls back a mitigation when rollback is available.
az neuroshield protected-resource mitigation rollback [--acquire-policy-token]
[--change-reference]
[--ids]
[--mitigation-id]
[--neuroshield-name]
[--protected-resource --protected-resource-name]
[--resource-group]
[--subscription]
Examples
Rollback mitigation
az neuroshield protected-resource mitigation rollback --resource-group myResourceGroup --neuroshield-name myNeuroShield --protected-resource-name vm-01 --mitigation-id mitigation-01
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
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.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The system-generated identifier of the mitigation.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The name of the NeuroShield resource.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The name of the protected resource.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az neuroshield protected-resource mitigation show
Get a mitigation under a protected resource.
az neuroshield protected-resource mitigation show [--ids]
[--mitigation-id --name]
[--neuroshield-name]
[--protected-resource --protected-resource-name]
[--resource-group]
[--subscription]
Examples
Get mitigation
az neuroshield protected-resource mitigation show --resource-group myResourceGroup --neuroshield-name myNeuroShield --protected-resource-name vm-01 --mitigation-id mitigation-01
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The system-generated identifier of the mitigation.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The name of the NeuroShield resource.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The name of the protected resource.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |