Skip to main content

Integration Workflow Actions

Available Actions

Action Name

Description

Supported Event Types

sendMooletInform

Forwards events to Kafka through the integration.

Alert, Situation, Thread Entry

Action Usage Example

sendMooletInform

Sends alerts, situations, or thread entries to configured Kafka topics based on the defined mapping rules.

Arguments

Parameter

Type

Required

Description

target

string

yes

Must be set to "KafkaForwarder".

subject

string

yes

Must be set to "forwardToKafka".

details

object

yes

Configuration object containing forwarding parameters.

Details Parameters

Table 1. For Alerts

Parameter

Type

Required

Description

alert_map

string

no

Name of the alert mapping to use.

alert_kafka_name

string

no

Overrides the configured Kafka connection.

alert_topic

string

no

Overrides the target Kafka topic.

alert_key

string

no

Overrides the message key.



Table 2. For Situations

Parameter

Type

Required

Description

sig_map

string

no

Name of the situation mapping to use.

sig_kafka_name

string

no

Overrides the configured Kafka connection.

sig_topic

string

no

Overrides the target Kafka topic.

sig_key

string

no

Overrides the message key.

forward_alerts

boolean

no

Overrides the alert-forwarding setting.



Table 3. For Thread Entries

Parameter

Type

Required

Description

thread_map

string

no

Name of the thread-entry mapping to use.

thread_kafka_name

string

no

Overrides the configured Kafka connection.

thread_topic

string

no

Overrides the target Kafka topic.

thread_key

string

no

Overrides the message key.



Example

// In a workflow action
sendMooletInform
arguments: {
    "target": "KafkaForwarder",
    "subject": "forwardToKafka",
    "details": {
        "alert_map": "high_priority",
        "alert_topic": "critical_alerts",
        "alert_key": "$(source)::$(alert_id)"
    }
}