Skip to main content

MicrosoftSentinelSetOwner

This Script is part of the Microsoft Sentinel Pack.#

Supported versions

Supported Cortex XSOAR versions: 5.5.0 and later.

This script can be run from the War Room or used by a layout to set the Owner field in Microsoft Sentinel.

Note: The Owner field in Cortex XSOAR can only be modified when the Mirroring Direction in the Instance Settings is set to Incoming or Incoming and Outgoing.

Script Data#


NameDescription
Script Typepython3
Tagsdynamic-section
Cortex XSOAR Version5.5.0

Inputs#


Argument NameDescriptionRequired
owner_emailThe owner email to set as the user principal name. If there is a user in Microsoft Sentinel for this email, they will be represented by their name in the remote incident and will be mirrored with all their details. Otherwise, only the email will be displayed on the remote incident, and only the email will be mirrored, with the rest of the details null.Required
incident_idThe ID of the remote incident to update. Relevant only when the script is called directly from the War Room.Optional (Required When the script is called directly from the War Room)

Outputs#


PathDescriptionType
AzureSentinel.Incident.IDThe incident ID.String
AzureSentinel.Incident.TitleThe incident's title.String
AzureSentinel.Incident.DescriptionDescription of the incident.String
AzureSentinel.Incident.SeverityThe incident severity.String
AzureSentinel.Incident.StatusThe incident status.String
AzureSentinel.Incident.AssigneeNameThe name of the incident assignee.String
AzureSentinel.Incident.AssigneeEmailThe email address of the incident assignee.String
AzureSentinel.Incident.AssigneeObjectIDThe object ID of the incident assignee.string
AzureSentinel.Incident.AssigneeUPNThe user principal name of the incident assignee.string
AzureSentinel.Incident.Label.NameThe name of the incident label.String
AzureSentinel.Incident.Label.TypeThe incident label type.String
AzureSentinel.Incident.FirstActivityTimeUTCThe date and time of the incident's first activity.Date
AzureSentinel.Incident.LastActivityTimeUTCThe date and time of the incident's last activity.Date
AzureSentinel.Incident.LastModifiedTimeUTCThe date and time the incident was last modified.Date
AzureSentinel.Incident.CreatedTimeUTCThe date and time the incident was created.Date
AzureSentinel.Incident.IncidentNumberThe incident number.Number
AzureSentinel.Incident.AlertsCountThe number of alerts in the incident.Number
AzureSentinel.Incident.BookmarkCountThe number of bookmarks in the incident.Number
AzureSentinel.Incident.CommentCountThe number of comments in the incident.Number
AzureSentinel.Incident.AlertProductNamesThe alert product names of the incident.String
AzureSentinel.Incident.TacticsThe incident's tactics.String
AzureSentinel.Incident.FirstActivityTimeGeneratedThe incident's generated first activity time.Date
AzureSentinel.Incident.LastActivityTimeGeneratedThe incident's generated last activity time.Date
AzureSentinel.Incident.EtagThe Etag of the incident.String