Comment On Alert

thehive.add_alert_comment
ActionBusiness appsconnection required

Calls the TheHive API with the connection's credentials.

Add a comment to an alert.

Connection

Required
Yes — the node will not save without one
Auth type
Bearer token
Providers
TheHive
Secret shape
the TheHive API key, or {"api_key": "…"}
Config it needs
base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
alert_id
TheHive id of the alert.
stringYes——~41353304
message
The comment text, as Markdown.
stringYes———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "alert_id": "~41353304"
}

Output

One shape.

result

FieldTypeExample
_id
TheHive's internal id for the comment.
string—
message
The comment text.
string—
createdBy
Login of the user who wrote the comment.
string—
createdAt
When the comment was written, in epoch milliseconds.
number—
isEdited
True when the comment has been edited since.
boolean—
{
  "_id": "",
  "createdAt": 0,
  "createdBy": "",
  "isEdited": false,
  "message": ""
}

See Comment On Alert run in a workflow.

In a technical demo we add the TheHive connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.