Loading...
Loading...
Compare original and translation side by side
| Category | Connector Types |
|---|---|
| LLM Providers | OpenAI, Google Gemini, Amazon Bedrock, Elastic Managed LLMs, AI Connector, MCP (Preview, 9.3+) |
| Incident Management | PagerDuty, Opsgenie, ServiceNow (ITSM, SecOps, ITOM), Jira, Jira Service Management (9.2+), IBM Resilient, Swimlane, Torq, Tines, D3 Security, XSOAR (9.1+), TheHive |
| Endpoint Security | CrowdStrike, SentinelOne, Microsoft Defender for Endpoint |
| Messaging | Slack (API / Webhook), Microsoft Teams, Email |
| Logging & Observability | Server log, Index, Observability AI Assistant |
| Webhook | Webhook, Webhook - Case Management, xMatters |
| Elastic | Cases |
| 分类 | 连接器类型 |
|---|---|
| 大语言模型提供商 | OpenAI、Google Gemini、Amazon Bedrock、Elastic托管LLM、AI Connector、MCP(预览版,9.3+) |
| 事件管理 | PagerDuty、Opsgenie、ServiceNow(ITSM、SecOps、ITOM)、Jira、Jira Service Management(9.2+)、IBM Resilient、Swimlane、Torq、Tines、D3 Security、XSOAR(9.1+)、TheHive |
| 终端安全 | CrowdStrike、SentinelOne、Microsoft Defender for Endpoint |
| 消息通知 | Slack(API / Webhook)、Microsoft Teams、邮件 |
| 日志与可观测性 | 服务器日志、索引、可观测性AI助手 |
| Webhook | Webhook、Webhook - 案例管理、xMatters |
| Elastic | 案例管理 |
kbn-xsrfkbn-xsrf: truekbn-xsrfkbn-xsrf: trueallall<kibana_url>/api/actions/s/<space_id>/api/actions| Operation | Method | Endpoint |
|---|---|---|
| Create connector | POST | |
| Update connector | PUT | |
| Get connector | GET | |
| Delete connector | DELETE | |
| Get all connectors | GET | |
| Get connector types | GET | |
| Run connector | POST | |
<kibana_url>/api/actions/s/<space_id>/api/actions| 操作 | 请求方法 | 端点 |
|---|---|---|
| 创建连接器 | POST | |
| 更新连接器 | PUT | |
| 获取连接器详情 | GET | |
| 删除连接器 | DELETE | |
| 获取所有连接器列表 | GET | |
| 获取连接器类型 | GET | |
| 测试连接器运行 | POST | |
| Field | Type | Description |
|---|---|---|
| string | Display name for the connector |
| string | The connector type (e.g., |
| object | Type-specific configuration (non-secret settings) |
| object | Type-specific secrets (API keys, passwords, tokens) |
| 字段 | 类型 | 描述 |
|---|---|---|
| 字符串 | 连接器的显示名称 |
| 字符串 | 连接器类型(例如: |
| 对象 | 特定类型的配置(非敏感设置) |
| 对象 | 特定类型的敏感信息(API密钥、密码、令牌) |
curl -X POST "https://my-kibana:5601/api/actions/connector/my-slack-connector" \
-H "kbn-xsrf: true" \
-H "Content-Type: application/json" \
-H "Authorization: ApiKey <your-api-key>" \
-d '{
"name": "Production Slack Alerts",
"connector_type_id": ".slack",
"config": {},
"secrets": {
"webhookUrl": "https://hooks.slack.com/services/T00/B00/XXXX"
}
}'connector_type_idconfigsecretscurl -X POST "https://my-kibana:5601/api/actions/connector/my-slack-connector" \
-H "kbn-xsrf: true" \
-H "Content-Type: application/json" \
-H "Authorization: ApiKey <your-api-key>" \
-d '{
"name": "生产环境Slack告警",
"connector_type_id": ".slack",
"config": {},
"secrets": {
"webhookUrl": "https://hooks.slack.com/services/T00/B00/XXXX"
}
}'curl -X POST "https://my-kibana:5601/api/actions/connector/my-pagerduty" \
-H "kbn-xsrf: true" \
-H "Content-Type: application/json" \
-H "Authorization: ApiKey <your-api-key>" \
-d '{
"name": "PagerDuty Incidents",
"connector_type_id": ".pagerduty",
"config": {
"apiUrl": "https://events.pagerduty.com/v2/enqueue"
},
"secrets": {
"routingKey": "your-pagerduty-integration-key"
}
}'curl -X POST "https://my-kibana:5601/api/actions/connector/my-pagerduty" \
-H "kbn-xsrf: true" \
-H "Content-Type: application/json" \
-H "Authorization: ApiKey <your-api-key>" \
-d '{
"name": "PagerDuty事件",
"connector_type_id": ".pagerduty",
"config": {
"apiUrl": "https://events.pagerduty.com/v2/enqueue"
},
"secrets": {
"routingKey": "your-pagerduty-integration-key"
}
}'PUT /api/actions/connector/{id}connector_type_idPUT /api/actions/connector/{id}connector_type_idundefinedundefined
The `GET /api/actions/connectors` response includes `referenced_by_count` showing how many rules use each connector.
Always check this before deleting.
`GET /api/actions/connectors`的响应包含`referenced_by_count`字段,显示有多少规则正在使用该连接器。删除前请务必检查该字段。curl -X POST "https://my-kibana:5601/api/actions/connector/my-slack-connector/_execute" \
-H "kbn-xsrf: true" \
-H "Content-Type: application/json" \
-H "Authorization: ApiKey <your-api-key>" \
-d '{
"params": {
"message": "Test alert from API"
}
}'curl -X POST "https://my-kibana:5601/api/actions/connector/my-slack-connector/_execute" \
-H "kbn-xsrf: true" \
-H "Content-Type: application/json" \
-H "Authorization: ApiKey <your-api-key>" \
-d '{
"params": {
"message": "来自API的测试告警"
}
}'curl -X DELETE "https://my-kibana:5601/api/actions/connector/my-slack-connector" \
-H "kbn-xsrf: true" \
-H "Authorization: ApiKey <your-api-key>"referenced_by_countcurl -X DELETE "https://my-kibana:5601/api/actions/connector/my-slack-connector" \
-H "kbn-xsrf: true" \
-H "Authorization: ApiKey <your-api-key>"referenced_by_countelasticstackelasticstack_kibana_action_connectorterraform {
required_providers {
elasticstack = {
source = "elastic/elasticstack"
}
}
}
provider "elasticstack" {
kibana {
endpoints = ["https://my-kibana:5601"]
api_key = var.kibana_api_key
}
}
resource "elasticstack_kibana_action_connector" "slack" {
name = "Production Slack Alerts"
connector_type_id = ".slack"
config = jsonencode({})
secrets = jsonencode({
webhookUrl = "https://hooks.slack.com/services/T00/B00/XXXX"
})
}
resource "elasticstack_kibana_action_connector" "index" {
name = "Alert Index Writer"
connector_type_id = ".index"
config = jsonencode({
index = "alert-history"
executionTimeField = "@timestamp"
})
secrets = jsonencode({})
}configsecretsjsonencode()terraform import elasticstack_kibana_action_connector.my_connector <space_id>/<connector_id>defaultelasticstackelasticstack_kibana_action_connectorterraform {
required_providers {
elasticstack = {
source = "elastic/elasticstack"
}
}
}
provider "elasticstack" {
kibana {
endpoints = ["https://my-kibana:5601"]
api_key = var.kibana_api_key
}
}
resource "elasticstack_kibana_action_connector" "slack" {
name = "生产环境Slack告警"
connector_type_id = ".slack"
config = jsonencode({})
secrets = jsonencode({
webhookUrl = "https://hooks.slack.com/services/T00/B00/XXXX"
})
}
resource "elasticstack_kibana_action_connector" "index" {
name = "告警索引写入器"
connector_type_id = ".index"
config = jsonencode({
index = "alert-history"
executionTimeField = "@timestamp"
})
secrets = jsonencode({})
}configsecretsjsonencode()terraform import elasticstack_kibana_action_connector.my_connector <space_id>/<connector_id>defaultkibana.ymlxpack.actions.preconfigured:
my-slack-connector:
name: "Production Slack"
actionTypeId: .slack
secrets:
webhookUrl: "https://hooks.slack.com/services/T00/B00/XXXX"
my-webhook:
name: "Custom Webhook"
actionTypeId: .webhook
config:
url: "https://api.example.com/alerts"
method: post
hasAuth: true
secrets:
user: "alert-user"
password: "secret-password"is_preconfigured: trueconfigis_missing_secretskibana.ymlxpack.actions.preconfigured:
my-slack-connector:
name: "生产环境Slack"
actionTypeId: .slack
secrets:
webhookUrl: "https://hooks.slack.com/services/T00/B00/XXXX"
my-webhook:
name: "自定义Webhook"
actionTypeId: .webhook
config:
url: "https://api.example.com/alerts"
method: post
hasAuth: true
secrets:
user: "alert-user"
password: "secret-password"is_preconfigured: trueconfigis_missing_secretskibana.ymlundefinedkibana.ymlundefinedundefinedundefined| Workflow | Connector Types | Key Pattern |
|---|---|---|
| ITSM ticketing | ServiceNow, Jira, IBM Resilient | Create ticket on active, close on |
| On-call escalation | PagerDuty, Opsgenie | |
| Case management | Cases (system action) | UI-only; groups alerts into investigation Cases; can auto-push to ITSM |
| Messaging / awareness | Slack, Teams, Email | |
| Audit logging | Index | |
| AI workflows | OpenAI, Bedrock, Gemini, AI Connector | Powers Elastic AI Assistant and Attack Discovery; system-managed |
| Custom integrations | Webhook | Generic HTTP outbound with Mustache-templated JSON body |
| 工作流 | 连接器类型 | 核心模式 |
|---|---|---|
| ITSM工单 | ServiceNow、Jira、IBM Resilient | 触发时创建工单,恢复时关闭工单 |
| 值班升级 | PagerDuty、Opsgenie | 触发时 |
| 案例管理 | Cases(系统动作) | 仅支持UI;将告警分组为调查案例;可自动推送到ITSM |
| 消息通知 / 同步 | Slack、Teams、邮件 | 针对事件频道使用 |
| 审计日志 | Index | 触发告警时将完整告警时间序列写入Elasticsearch |
| AI工作流 | OpenAI、Bedrock、Gemini、AI Connector | 为Elastic AI助手和攻击发现提供支持;由系统管理 |
| 自定义集成 | Webhook | 支持Mustache模板JSON请求体的通用HTTP出站集成 |
_executereferenced_by_countxpack.actions.email.domain_allowlistsensitive = true.kibana-event-log-*dedupKeyalias{{rule.id}}-{{alert.id}}xpack.actions.enabledActionTypesxpack.actions.allowedHosts_executereferenced_by_countxpack.actions.email.domain_allowlistsensitive = true.kibana-event-log-*dedupKeyalias{{rule.id}}-{{alert.id}}xpack.actions.enabledActionTypesxpack.actions.allowedHostskbn-xsrfkbn-xsrf: trueconnector_type_id.slackslackGET /api/actions/connector_typessecrets.index.server-log"secrets": {}connector_type_idis_missing_secrets: truekibana.ymlxpack.actions.customHostSettingsminimum_license_requiredGET /api/actions/connector_typesenabled_in_config: trueenabled_in_license: falseterraform applykbn-xsrfkbn-xsrf: trueconnector_type_id.slackslackGET /api/actions/connector_typessecrets.index.server-log"secrets": {}connector_type_idis_missing_secrets: truekibana.ymlxpack.actions.customHostSettingsGET /api/actions/connector_typesminimum_license_requiredenabled_in_config: trueenabled_in_license: falseterraform apply| Type ID | Name | License |
|---|---|---|
| Gold | |
| Slack (Webhook) | Gold |
| Slack (API) | Gold |
| PagerDuty | Gold |
| Jira | Gold |
| ServiceNow ITSM | Platinum |
| ServiceNow SecOps | Platinum |
| ServiceNow ITOM | Platinum |
| Webhook | Gold |
| Index | Basic |
| Server log | Basic |
| Opsgenie | Gold |
| Microsoft Teams | Gold |
| OpenAI | Enterprise |
| Amazon Bedrock | Enterprise |
| Google Gemini | Enterprise |
| Cases | Platinum |
| CrowdStrike | Enterprise |
| SentinelOne | Enterprise |
| Microsoft Defender for Endpoint | Enterprise |
| TheHive | Gold |
Note: Useto discover all available types on your deployment along with their exactGET /api/actions/connector_typesvalues. Connector types for XSOAR, Jira Service Management, and MCP are available but may not appear in older API spec versions.minimum_license_required
| 类型ID | 名称 | 许可证 |
|---|---|---|
| 邮件 | Gold |
| Slack(Webhook) | Gold |
| Slack(API) | Gold |
| PagerDuty | Gold |
| Jira | Gold |
| ServiceNow ITSM | Platinum |
| ServiceNow SecOps | Platinum |
| ServiceNow ITOM | Platinum |
| Webhook | Gold |
| Index | Basic |
| 服务器日志 | Basic |
| Opsgenie | Gold |
| Microsoft Teams | Gold |
| OpenAI | Enterprise |
| Amazon Bedrock | Enterprise |
| Google Gemini | Enterprise |
| Cases | Platinum |
| CrowdStrike | Enterprise |
| SentinelOne | Enterprise |
| Microsoft Defender for Endpoint | Enterprise |
| TheHive | Gold |
注意: 使用可发现您部署中所有可用的类型及其确切的GET /api/actions/connector_types值。XSOAR、Jira Service Management和MCP的连接器类型可用,但可能不会出现在旧版API规范中。minimum_license_required
POST /api/actions/connectorconnector_type_id: ".slack"secrets.webhookUrlidPOST /api/actions/connector/{id}/_executeGET /api/actions/connectorsreferenced_by_countDELETE /api/actions/connector/{id}POST /api/actions/connectorconnector_type_id: ".slack"secrets.webhookUrlidPOST /api/actions/connector/{id}/_executeGET /api/actions/connectorsreferenced_by_countDELETE /api/actions/connector/{id}kbn-xsrf: trueconnector_type_id"secrets": {}.index.server-logreferenced_by_count/s/<space_id>/api/actions/_executekbn-xsrf: trueconnector_type_id.index.server-log"secrets": {}referenced_by_count/s/<space_id>/api/actions/_execute