[PS]Migrate SecurityInsights From Autorest v3 to v4#29664
Merged
Pan-Qi merged 20 commits intoMay 22, 2026
Conversation
…sues for AutoRest v4 migration (Azure#29316) Co-authored-by: hadasi6 <hadasi6@users.noreply.github.com> Co-authored-by: JiaSeng-v <v-jiasenglaw@microsoft.com>
This reverts commit 555e2d4.
…fix CredScan (Azure#29336) Co-authored-by: hadasi6 <hadasi6@users.noreply.github.com>
…Scan (Azure#29339) Co-authored-by: hadasi6 <hadasi6@users.noreply.github.com>
…m/Azure/azure-powershell into jiaseng/main/SecurityInsight-v4
| Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
|
To the author of the pull request, |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR migrates the Az.SecurityInsights module from AutoRest PowerShell v3 to v4, updating generated cmdlet surface area, model types, and associated documentation/tests to align with the v4 SDK shape.
Changes:
- Regenerated/updated cmdlet help & docs to reflect v4 model namespaces, updated parameter types (many enum →
String), and additional identity/JSON input parameter sets. - Updated module packaging metadata (manifest export list, assembly version) and refreshed recordings/deployment template parameters used by tests.
- Updated custom wrapper cmdlets (e.g.,
New/Update-AzSentinelEntityQuery,Update-AzSentinelSetting) and adjusted some Pester tests for changed service behavior.
Reviewed changes
Copilot reviewed 120 out of 232 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| src/SecurityInsights/SecurityInsights/help/Update-AzSentinelSetting.md | Update help types/signatures for v4 models/parameter types. |
| src/SecurityInsights/SecurityInsights/help/Update-AzSentinelIncidentRelation.md | Add identity param set + update output type names. |
| src/SecurityInsights/SecurityInsights/help/Update-AzSentinelIncidentComment.md | Add identity param set + update output type names. |
| src/SecurityInsights/SecurityInsights/help/Update-AzSentinelIncident.md | Update parameter types to v4 shape (many enum → string) + model namespace updates. |
| src/SecurityInsights/SecurityInsights/help/Update-AzSentinelEntityQuery.md | Rename EntityQueryId → Id (alias preserved) + model type updates. |
| src/SecurityInsights/SecurityInsights/help/Update-AzSentinelBookmarkRelation.md | Add bookmark identity param set + output type updates. |
| src/SecurityInsights/SecurityInsights/help/Update-AzSentinelBookmark.md | Update parameter types and add UpdatedBy* parameters. |
| src/SecurityInsights/SecurityInsights/help/Update-AzSentinelAutomationRule.md | Update synopsis/types to v4 model namespace. |
| src/SecurityInsights/SecurityInsights/help/Test-AzSentinelDataConnectorCheckRequirement.md | Change Kind type from enum to string in help. |
| src/SecurityInsights/SecurityInsights/help/Remove-AzSentinelOnboardingState.md | Remove “construct hash table” note for identity input. |
| src/SecurityInsights/SecurityInsights/help/Remove-AzSentinelIncidentRelation.md | Add incident identity param set documentation. |
| src/SecurityInsights/SecurityInsights/help/Remove-AzSentinelIncidentComment.md | Add incident identity param set documentation. |
| src/SecurityInsights/SecurityInsights/help/Remove-AzSentinelIncident.md | Remove “construct hash table” note for identity input. |
| src/SecurityInsights/SecurityInsights/help/Remove-AzSentinelEntityQuery.md | Remove “construct hash table” note for identity input. |
| src/SecurityInsights/SecurityInsights/help/Remove-AzSentinelDataConnector.md | Remove “construct hash table” note for identity input. |
| src/SecurityInsights/SecurityInsights/help/Remove-AzSentinelBookmarkRelation.md | Add bookmark identity param set documentation. |
| src/SecurityInsights/SecurityInsights/help/Remove-AzSentinelBookmark.md | Remove “construct hash table” note for identity input. |
| src/SecurityInsights/SecurityInsights/help/Remove-AzSentinelAutomationRule.md | Remove “construct hash table” note for identity input. |
| src/SecurityInsights/SecurityInsights/help/Remove-AzSentinelAlertRuleAction.md | Add alert rule identity param set documentation. |
| src/SecurityInsights/SecurityInsights/help/Remove-AzSentinelAlertRule.md | Remove “construct hash table” note for identity input. |
| src/SecurityInsights/SecurityInsights/help/New-AzSentinelOnboardingState.md | Switch create input to JsonFilePath/JsonString parameter sets in help. |
| src/SecurityInsights/SecurityInsights/help/New-AzSentinelIncidentTeam.md | Switch create input to JsonFilePath/JsonString parameter sets in help. |
| src/SecurityInsights/SecurityInsights/help/New-AzSentinelIncident.md | Add JsonFilePath/JsonString parameter sets + update parameter types. |
| src/SecurityInsights/SecurityInsights/help/New-AzSentinelEntityQuery.md | Update kind/entity type params to string + model type updates. |
| src/SecurityInsights/SecurityInsights/help/New-AzSentinelBookmark.md | Add JsonFilePath/JsonString parameter sets + add UpdatedBy* parameters. |
| src/SecurityInsights/SecurityInsights/help/New-AzSentinelAutomationRule.md | Switch create input to JsonFilePath/JsonString parameter sets in help. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelThreatIntelligenceIndicatorMetric.md | Update output type name to list model. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelThreatIntelligenceIndicator.md | Update output type namespace. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelSetting.md | Update output types to include list model + item model. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelOnboardingState.md | Update output types to include list model + item model. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelMetadata.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelIncidentRelation.md | Add incident identity param set documentation. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelIncidentEntity.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelIncidentComment.md | Add incident identity param set documentation. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelIncidentBookmark.md | Update output type to list model. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelIncidentAlert.md | Update output type to list model. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelIncident.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelEntityTimeline.md | Change Kind type to string array + model namespace updates. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelEntityRelation.md | Add entity identity param set documentation. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelEntityQueryTemplate.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelEntityQuery.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelEntityInsight.md | Add identity param set + update output model namespace. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelEntityActivity.md | Add identity param set + update output type to response model. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelEntity.md | Example variable name fix + output model namespace update. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelEnrichment.md | Remove identity parameter sets from help; adjust parameter sets. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelDataConnector.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelBookmarkRelation.md | Add bookmark identity param set documentation. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelBookmark.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelAutomationRule.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelAlertRuleTemplate.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelAlertRuleAction.md | Add alert rule identity param set documentation. |
| src/SecurityInsights/SecurityInsights/help/Get-AzSentinelAlertRule.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights/help/Az.SecurityInsights.md | Update cmdlet index descriptions; add Update-AzSentinelOnboardingState. |
| src/SecurityInsights/SecurityInsights/Az.SecurityInsights.psd1 | Update manifest metadata/exports (incl. Update-AzSentinelOnboardingState) + formatting. |
| src/SecurityInsights/SecurityInsights.Autorest/test/Update-AzSentinelOnboardingState.Tests.ps1 | Add new test skeleton and correct recording name (currently skipped). |
| src/SecurityInsights/SecurityInsights.Autorest/test/Update-AzSentinelIncidentRelation.Tests.ps1 | Adjust expected behavior to 409 conflict; update assertions accordingly. |
| src/SecurityInsights/SecurityInsights.Autorest/test/Update-AzSentinelAutomationRule.Tests.ps1 | Update model type references to v4 namespace. |
| src/SecurityInsights/SecurityInsights.Autorest/test/Update-AzSentinelAlertRule.Recording.json | Removed recording file. |
| src/SecurityInsights/SecurityInsights.Autorest/test/Remove-AzSentinelOnboardingState.Recording.json | Refresh recording with sanitized headers and newer environment data. |
| src/SecurityInsights/SecurityInsights.Autorest/test/Remove-AzSentinelDataConnector.Tests.ps1 | Update test to use GenericUI connector (avoids MCAS licensing). |
| src/SecurityInsights/SecurityInsights.Autorest/test/New-AzSentinelAutomationRule.Tests.ps1 | Update model type references to v4 namespace. |
| src/SecurityInsights/SecurityInsights.Autorest/test/Get-AzSentinelThreatIntelligenceIndicatorMetric.Recording.json | Refresh recording with newer environment data. |
| src/SecurityInsights/SecurityInsights.Autorest/test/deployment-templates/workspace/template.parameters.json | Update test workspace parameter values. |
| src/SecurityInsights/SecurityInsights.Autorest/test/deployment-templates/threatIntelligenceIndicator/template.parameters.json | Update TI indicator parameter values (IDs, date, workspace). |
| src/SecurityInsights/SecurityInsights.Autorest/test/deployment-templates/metadata/template.parameters.json | Update workspace parameter value. |
| src/SecurityInsights/SecurityInsights.Autorest/test/deployment-templates/incidentRelation/template.parameters.json | Update incident relation parameter values (IDs, dates, workspace). |
| src/SecurityInsights/SecurityInsights.Autorest/test/deployment-templates/incidentComment/template.parameters.json | Update incident comment parameter values. |
| src/SecurityInsights/SecurityInsights.Autorest/test/deployment-templates/incident/template.parameters.json | Update incident id/workspace parameters. |
| src/SecurityInsights/SecurityInsights.Autorest/test/deployment-templates/entityQuery/template.parameters.json | Update entity query id/workspace parameters. |
| src/SecurityInsights/SecurityInsights.Autorest/test/deployment-templates/dataConnector/template.parameters.json | Update data connector ids/workspace parameters. |
| src/SecurityInsights/SecurityInsights.Autorest/test/deployment-templates/customData/alertRules.parameters.json | Update custom alert rule GUID parameters/workspace. |
| src/SecurityInsights/SecurityInsights.Autorest/test/deployment-templates/bookmarkRelation/template.parameters.json | Update bookmark relation parameters (IDs, dates, workspace). |
| src/SecurityInsights/SecurityInsights.Autorest/test/deployment-templates/bookmark/template.parameters.json | Update bookmark parameters (IDs, dates, workspace). |
| src/SecurityInsights/SecurityInsights.Autorest/test/deployment-templates/automationRule/template.parameters.json | Update automation rule parameters (IDs, logic app resource id, workspace). |
| src/SecurityInsights/SecurityInsights.Autorest/test/deployment-templates/authorization/template.parameters.json | Update service principal parameter value. |
| src/SecurityInsights/SecurityInsights.Autorest/test/deployment-templates/alertRuleAction/template.parameters.json | Update alert rule action parameters; redact trigger URL. |
| src/SecurityInsights/SecurityInsights.Autorest/test/deployment-templates/alertRule/template.parameters.json | Update alert rule id/workspace parameters. |
| src/SecurityInsights/SecurityInsights.Autorest/Properties/AssemblyInfo.cs | Bump assembly version to 3.2.2. |
| src/SecurityInsights/SecurityInsights.Autorest/generate-info.json | Update generation ID. |
| src/SecurityInsights/SecurityInsights.Autorest/examples/Update-AzSentinelOnboardingState.md | Add example for new onboarding state update cmdlet. |
| src/SecurityInsights/SecurityInsights.Autorest/examples/Update-AzSentinelAutomationRule.md | Update model type references to v4 namespace. |
| src/SecurityInsights/SecurityInsights.Autorest/examples/Update-AzSentinelAlertRuleAction.md | Minor formatting/whitespace update. |
| src/SecurityInsights/SecurityInsights.Autorest/examples/New-AzSentinelIncidentTeam.md | Sanitize example output tenant id. |
| src/SecurityInsights/SecurityInsights.Autorest/examples/New-AzSentinelAutomationRule.md | Update model type references to v4 namespace. |
| src/SecurityInsights/SecurityInsights.Autorest/examples/New-AzSentinelAlertRule.md | Fix example typo + adjust query casing in sample. |
| src/SecurityInsights/SecurityInsights.Autorest/examples/Get-AzSentinelEntityInsight.md | Sanitize entity id in example. |
| src/SecurityInsights/SecurityInsights.Autorest/examples/Get-AzSentinelEntity.md | Fix plural variable naming in example. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Update-AzSentinelSetting.md | Update docs types for v4 models/parameter types. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Update-AzSentinelIncidentRelation.md | Add incident identity param set + update output types. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Update-AzSentinelIncidentComment.md | Add incident identity param set + update output types. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Update-AzSentinelIncident.md | Update parameter types to v4 shape + model namespace updates. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Update-AzSentinelEntityQuery.md | Rename EntityQueryId → Id (alias preserved) + model type updates. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Update-AzSentinelBookmarkRelation.md | Add bookmark identity param set + update output types. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Update-AzSentinelBookmark.md | Update parameter types and add UpdatedBy* parameters. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Update-AzSentinelAutomationRule.md | Update synopsis/types to v4 model namespace. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Test-AzSentinelDataConnectorCheckRequirement.md | Change Kind type from enum to string in docs. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Remove-AzSentinelOnboardingState.md | Remove “construct hash table” note for identity input. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Remove-AzSentinelIncidentRelation.md | Add incident identity param set documentation. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Remove-AzSentinelIncidentComment.md | Add incident identity param set documentation. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Remove-AzSentinelIncident.md | Remove “construct hash table” note for identity input. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Remove-AzSentinelEntityQuery.md | Remove “construct hash table” note for identity input. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Remove-AzSentinelDataConnector.md | Remove “construct hash table” note for identity input. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Remove-AzSentinelBookmarkRelation.md | Add bookmark identity param set documentation. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Remove-AzSentinelBookmark.md | Remove “construct hash table” note for identity input. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Remove-AzSentinelAutomationRule.md | Remove “construct hash table” note for identity input. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Remove-AzSentinelAlertRuleAction.md | Add alert rule identity param set documentation. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Remove-AzSentinelAlertRule.md | Remove “construct hash table” note for identity input. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/New-AzSentinelOnboardingState.md | Switch create input to JsonFilePath/JsonString parameter sets in docs. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/New-AzSentinelIncidentTeam.md | Switch create input to JsonFilePath/JsonString parameter sets in docs. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/New-AzSentinelIncidentRelation.md | Add identity/JSON input parameter sets + update inputs/outputs. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/New-AzSentinelIncidentComment.md | Add identity/JSON input parameter sets + update inputs/outputs. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/New-AzSentinelIncident.md | Add JsonFilePath/JsonString parameter sets + update parameter types. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/New-AzSentinelEntityQuery.md | Update kind/entity type params to string + model type updates. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/New-AzSentinelBookmark.md | Add JsonFilePath/JsonString parameter sets + add UpdatedBy* parameters. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelThreatIntelligenceIndicatorMetric.md | Update output type name to list model. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelThreatIntelligenceIndicator.md | Update output type namespace. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelSetting.md | Update output types to include list model + item model. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelOnboardingState.md | Update output types to include list model + item model. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelMetadata.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelIncidentRelation.md | Add incident identity param set documentation. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelIncidentEntity.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelIncidentComment.md | Add incident identity param set documentation. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelIncidentBookmark.md | Update output type to list model. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelIncidentAlert.md | Update output type to list model. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelIncident.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelEntityTimeline.md | Change Kind type to string array + model namespace updates. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelEntityRelation.md | Add entity identity param set documentation. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelEntityQueryTemplate.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelEntityQuery.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelEntityInsight.md | Add identity param set + update output model namespace. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelEntityActivity.md | Add identity param set + update output type to response model. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelEntity.md | Fix plural variable naming in example + output model updates. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelEnrichment.md | Remove identity parameter sets from docs; adjust parameter sets. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelDataConnector.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelBookmarkRelation.md | Add bookmark identity param set documentation. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelBookmark.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelAutomationRule.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelAlertRuleTemplate.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelAlertRuleAction.md | Add alert rule identity param set documentation. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Get-AzSentinelAlertRule.md | Update output model namespace. |
| src/SecurityInsights/SecurityInsights.Autorest/docs/Az.SecurityInsights.md | Update docs index cmdlet descriptions + add onboarding state update cmdlet. |
| src/SecurityInsights/SecurityInsights.Autorest/custom/Update-AzSentinelSetting.ps1 | Update output type and switch enum completers to string argument completers. |
| src/SecurityInsights/SecurityInsights.Autorest/custom/Update-AzSentinelEntityQuery.ps1 | Rename EntityQueryId → Id (alias preserved) + update model types. |
| src/SecurityInsights/SecurityInsights.Autorest/custom/New-AzSentinelEntityQuery.ps1 | Update model types + change kind/entity type params to strings + argument completers. |
Comment on lines
31
to
35
| -QueryStartTime (get-date).ToUniversalTime() -QueryEndTime (get-date).AddDays(-1).ToUniversalTime() -EventTime (get-date).ToUniversalTime() | ||
| $incidentRelation = Get-AzSentinelIncidentRelation -ResourceGroupName $env.resourceGroupName -WorkspaceName $env.workspaceName ` | ||
| -IncidentId $env.UpdateViaIdincidentRelationIncidentId -RelationName $env.UpdateViaIdincidentRelationId | ||
| $incidentRelationUpdate = Update-AzSentinelIncidentRelation -InputObject $IncidentRelation -RelatedResourceId $bookmark.Id | ||
| $incidentRelationUpdate.RelatedResourceId | should -be $bookmark.id | ||
| { Update-AzSentinelIncidentRelation -InputObject $IncidentRelation -RelatedResourceId $bookmark.Id } | Should -Throw "already exists on incident" | ||
| } |
Comment on lines
50
to
56
| [Parameter(ParameterSetName = 'UpdateActivity', Mandatory)] | ||
| [Alias('EntityQueryId')] | ||
| [Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Category('Path')] | ||
| [System.String] | ||
| # The Id of the Entity Query. | ||
| ${EntityQueryId}, | ||
| ${Id}, | ||
|
|
Comment on lines
+59
to
60
| [Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.PSArgumentCompleterAttribute("Activity","Expansion")] | ||
| [Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Category('Body')] |
Comment on lines
104
to
+107
| 'Update-AzSentinelDataConnector', 'Update-AzSentinelEntityQuery', | ||
| 'Update-AzSentinelIncident', 'Update-AzSentinelIncidentComment', | ||
| 'Update-AzSentinelIncidentRelation', 'Update-AzSentinelSetting' | ||
| 'Update-AzSentinelIncidentRelation', | ||
| 'Update-AzSentinelOnboardingState', 'Update-AzSentinelSetting' |
Comment on lines
198
to
203
| ### -Label | ||
| List of labels relevant to this incident | ||
| To construct, see NOTES section for LABEL properties and create a hash table. | ||
|
|
||
| ```yaml | ||
| Type: Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IIncidentLabel[] | ||
| Type: Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.IIncidentLabel[] | ||
| Parameter Sets: (All) |
Comment on lines
197
to
202
| ### -Label | ||
| List of labels relevant to this incident | ||
| To construct, see NOTES section for LABEL properties and create a hash table. | ||
|
|
||
| ```yaml | ||
| Type: Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IIncidentLabel[] | ||
| Type: Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.IIncidentLabel[] | ||
| Parameter Sets: (All) |
Pan-Qi
approved these changes
May 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.mdand reviewed the following information:ChangeLog.mdfile(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.## Upcoming Releaseheader in the past tense.ChangeLog.mdif no new release is required, such as fixing test case only.