Skip to content

[PS]Migrate SecurityInsights From Autorest v3 to v4#29664

Merged
Pan-Qi merged 20 commits into
Azure:mainfrom
JiaSeng-v:jiaseng/main/SecurityInsights-v4-new
May 22, 2026
Merged

[PS]Migrate SecurityInsights From Autorest v3 to v4#29664
Pan-Qi merged 20 commits into
Azure:mainfrom
JiaSeng-v:jiaseng/main/SecurityInsights-v4-new

Conversation

@JiaSeng-v
Copy link
Copy Markdown
Contributor

@JiaSeng-v JiaSeng-v commented May 22, 2026

Description

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

@JiaSeng-v JiaSeng-v added the Contains Breaking Change This PR contains breaking change label May 22, 2026
Copilot AI review requested due to automatic review settings May 22, 2026 01:26
@JiaSeng-v JiaSeng-v added the autorest v4 migration pr migrating module from generated by autorest.powershell v3 to v4 label May 22, 2026
@azure-client-tools-bot-prd
Copy link
Copy Markdown

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

@github-actions
Copy link
Copy Markdown

To the author of the pull request,
This PR was labeled "Contains Breaking Change" because breaking changes have been detected by the static analysis pipeline.

  • According to our policy, breaking changes can only take place during major release and they must be preannounced.
  • Please follow our guide on the detailed steps.
  • Required: Please fill in the task below to facilitate our contact,you will receive notifications related to breaking changes.

@JiaSeng-v JiaSeng-v changed the title Jiaseng/main/security insights v4 new [PS]Migrate SecurityInsights From Autorest v3 to v4 May 22, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 EntityQueryIdId (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 EntityQueryIdId (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 EntityQueryIdId (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 Pan-Qi merged commit 2551357 into Azure:main May 22, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autorest v4 migration pr migrating module from generated by autorest.powershell v3 to v4 Contains Breaking Change This PR contains breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants