Skip to main content

MicrosoftSentinelSubmitNewComment

This Script is part of the Microsoft Sentinel Pack.#

Supported versions

Supported Cortex XSOAR versions: 5.5.0 and later.

Use this script to add a comment which will then be mirrored as a comment to a Sentinal event. This script should be run within an incident.

Note: Comments in Cortex XSOAR can only be added 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
new_commentThe comment text to be added to the incident comments.Required
incident_idThe ID of the incident to add the comment to. This argument is 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.AddComment.InstanceNameThe name of the instance where the comment is added.string
AzureSentinel.AddComment.IncidentIdThe ID of the incident where the comment was added.string
AzureSentinel.AddComment.MessageThe message of the comment added to the incident.string