mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-03 18:27:09 +02:00
83 lines
1.5 KiB
JSON
83 lines
1.5 KiB
JSON
{
|
|
"name": "TheHive Alert Get Test Workflow",
|
|
"nodes": [
|
|
{
|
|
"parameters": {},
|
|
"type": "n8n-nodes-base.manualTrigger",
|
|
"typeVersion": 1,
|
|
"position": [0, 0],
|
|
"id": "manual-trigger",
|
|
"name": "When clicking 'Execute Workflow'"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "alert",
|
|
"operation": "get",
|
|
"alertId": {
|
|
"__rl": true,
|
|
"mode": "id",
|
|
"value": "~123456"
|
|
},
|
|
"options": {
|
|
"includeSimilarAlerts": true
|
|
}
|
|
},
|
|
"type": "n8n-nodes-base.theHiveProject",
|
|
"typeVersion": 1,
|
|
"position": [200, 0],
|
|
"id": "thehive-node",
|
|
"name": "TheHive Alert Get",
|
|
"credentials": {
|
|
"theHiveProjectApi": {
|
|
"id": "thehive-creds",
|
|
"name": "TheHive API Credentials"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"pinData": {
|
|
"TheHive Alert Get": [
|
|
{
|
|
"json": {
|
|
"_id": "~123456",
|
|
"_type": "Alert",
|
|
"title": "Test Alert",
|
|
"description": "Test alert description",
|
|
"type": "incident",
|
|
"severity": 2,
|
|
"status": "New",
|
|
"tags": ["test", "n8n"],
|
|
"source": "n8n-test",
|
|
"sourceRef": "test-ref-001",
|
|
"follow": true,
|
|
"createdAt": 1698753600000,
|
|
"updatedAt": 1698753600000,
|
|
"similarAlerts": [
|
|
{
|
|
"_id": "~alert456",
|
|
"title": "Similar Alert"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"connections": {
|
|
"When clicking 'Execute Workflow'": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "TheHive Alert Get",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"active": false,
|
|
"settings": {
|
|
"executionOrder": "v1"
|
|
}
|
|
}
|