Skip to content

Commit 314be22

Browse files
author
Eduardo Rivera (eduardori)
committed
added deprecation warning in non-restricted rde for restricted commands
1 parent 8dff057 commit 314be22

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

articles/operator-nexus/howto-baremetal-run-data-extract.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ The current list of supported commands are
7474
- `TTYLog` - Storage TTYLog data
7575
- `Debug` - debug logs
7676

77+
> [!WARNING]
78+
> As of the `v20250701preview` API version and above, this command will no longer be supported by the non-restricted `run-data-extract` command. To run `mde-agent-information`, See [Executing a run-data-extracts-restricted Command](#Executing-a-run-data-extracts-restricted-Command)
79+
7780
- [Collect Microsoft Defender for Endpoints (MDE) agent information](#collect-mde-agent-information)\
7881
Command Name: `mde-agent-information`\
7982
Arguments: None
@@ -86,6 +89,9 @@ The current list of supported commands are
8689
Command Name: `hardware-rollup-status`\
8790
Arguments: None
8891

92+
> [!WARNING]
93+
> As of the `v20250701preview` API version and above, this command will no longer be supported by the non-restricted `run-data-extract` command. To run `cluster-cve-report`, See [Executing a run-data-extracts-restricted Command](#Executing-a-run-data-extracts-restricted-Command)
94+
8995
- [Generate Cluster Common Vulnerabilities and Exposures (CVE) Report](#generate-cluster-cve-report)\
9096
Command Name: `cluster-cve-report`\
9197
Arguments: None
@@ -714,6 +720,13 @@ The command provides a link (if using cluster manager storage) or another comman
714720
715721
## Executing a run-data-extracts-restricted Command
716722

723+
### Prerequisites
724+
* minimum supported API of v20250701preview` or `v20250901` and above
725+
* Storage Blob Container has been configured
726+
* The target bare metal machine is on and ready.
727+
* The syntax for these commands is based on the <TODO: need to confirm az networkcloud CLI version>+ version of the az networkcloud CLI.
728+
* Get the Cluster Managed Resource group name (cluster_MRG) that you created for Cluster resource.
729+
717730
The `run-data-extracts-restricted` command functionality mirrors non-restricted run-data-extracts command and includes fine-grained access control via RBAC (Role-Based Access Control). It allows customers to run sensitive data extraction operations on BareMetalMachines with elevated privileges.
718731

719732
The `run-data-extracts-restricted` is implemented as a new and separate API action. The action is to be introduced in the `v20250701preview` and `v20250901` GA API, and is designed to mirror the behavior of the original command but with restricted access to specific sub-commands.The following list contains the allowed sub commands for`run-data-extracts-restricted`:
@@ -726,13 +739,6 @@ The `run-data-extracts-restricted` is implemented as a new and separate API acti
726739
Command Name: `cluster-cve-report`\
727740
Arguments: None
728741

729-
## Prerequisites
730-
* minimum supported API of v20250701preview` or `v20250901` and above
731-
* Storage Blob Container has been configured
732-
* The target bare metal machine is on and ready.
733-
* The syntax for these commands is based on the <TODO: need to confirm az networkcloud cli version>+ version of the az networkcloud CLI.
734-
* Get the Cluster Managed Resource group name (cluster_MRG) that you created for Cluster resource.
735-
736742
Command execution can be performed using `az networkcloud baremetalmachine run-data-extracts-restricted` and it accepts arguments similarly to the `run-data-extract`.
737743

738744
**Example**
@@ -747,8 +753,5 @@ az networkcloud baremetalmachine run-data-extracts-restricted --name "<machine-n
747753
```
748754

749755

750-
[{"arguments":["--min-severity=8"],"command":"cluster-cve-report"}]' --output-directory ~/tmp
751-
752-
753756
### Storage and Output
754757
Output from run command executions are by default stored in the blob container defined by the `commandOutputSettings`. Override of the `commandOutputSettings` value is supported per command output type (i.e.BareMetalMachineRunDataExtractsRestricted). For how to specify the commandOutputSettings override for runcommand see [Azure Operator Nexus Cluster support for managed identities and user provided resources](./howto-cluster-managed-identity-user-provided-resources.md).

0 commit comments

Comments
 (0)