-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
Type of issue
Code doesn't work
Feedback
The page https://learn.microsoft.com/en-us/powershell/module/az.securityinsights/update-azsentinelincident?view=azps-15.2.0 contains an example of an update to an Incident, to the Owner field but the code does not work.
Update-AzSentinelIncident -InputObject $inc -Label $newLabels
Update-AzSentinelIncident : 'Title' must have a non-empty value
Update-AzSentinelIncident -InputObject $inc -Label $newLabels -Title $inc.Title -Severity $inc.Severity
Update-AzSentinelIncident : status must not be empty.
It seems that Title ,Status and Severity are not optional as stated in the documentation.
Which does not make sense as normally you'd assume that these are not fields to change on every update.
Page URL
Content source URL
Author
Document Id
80802688-cecb-c1f3-91cc-d030078446db
Platform Id
f1f38b8c-b150-3336-41c1-60cda1971b6a