n8n/packages/nodes-base/nodes/TheHiveProject/test/observable-create.workflow.json
Shireen Missi 3a9012819b
test: Add tests for nodes (no-changelog) (#20349)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-10-07 11:16:42 +01:00

87 lines
1.7 KiB
JSON

{
"name": "TheHive Observable Create Test Workflow",
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [0, 0],
"id": "manual-trigger",
"name": "When clicking 'Execute Workflow'"
},
{
"parameters": {
"resource": "observable",
"operation": "create",
"createIn": "case",
"id": {
"__rl": true,
"mode": "id",
"value": "~123789"
},
"dataType": "domain",
"data": "malicious.example.com",
"observableFields": {
"mappingMode": "defineBelow",
"value": {
"message": "Suspicious domain detected in analysis",
"tags": "malware,suspicious",
"tlp": 2,
"pap": 2,
"ioc": true,
"sighted": false
}
}
},
"type": "n8n-nodes-base.theHiveProject",
"typeVersion": 1,
"position": [200, 0],
"id": "thehive-node",
"name": "TheHive Observable Create",
"credentials": {
"theHiveProjectApi": {
"id": "thehive-creds",
"name": "TheHive API Credentials"
}
}
}
],
"pinData": {
"TheHive Observable Create": [
{
"json": {
"_id": "~456789",
"_type": "Observable",
"data": "malicious.example.com",
"dataType": "domain",
"message": "Suspicious domain detected in analysis",
"tags": ["malware", "suspicious"],
"tlp": 2,
"pap": 2,
"ioc": true,
"sighted": false,
"createdAt": 1698753600000,
"updatedAt": 1698753600000
}
}
]
},
"connections": {
"When clicking 'Execute Workflow'": {
"main": [
[
{
"node": "TheHive Observable Create",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
}
}