From 6580b927b32756e614b761460c7032ab322d950c Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 21 Dec 2023 08:40:37 +0000 Subject: [PATCH] docs: Add notice to TheHive triggers to highlight manual steps (#8051) --- .../nodes-base/nodes/TheHive/TheHiveTrigger.node.ts | 11 ++++++++++- .../TheHiveProject/TheHiveProjectTrigger.node.ts | 7 +++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/TheHive/TheHiveTrigger.node.ts b/packages/nodes-base/nodes/TheHive/TheHiveTrigger.node.ts index d293d40348..a3e7b8e5e1 100644 --- a/packages/nodes-base/nodes/TheHive/TheHiveTrigger.node.ts +++ b/packages/nodes-base/nodes/TheHive/TheHiveTrigger.node.ts @@ -29,7 +29,16 @@ export class TheHiveTrigger implements INodeType { path: 'webhook', }, ], - properties: [...eventsDescription], + properties: [ + { + displayName: + 'You must set up the webhook in TheHive — instructions here', + name: 'notice', + type: 'notice', + default: '', + }, + ...eventsDescription, + ], }; webhookMethods = { diff --git a/packages/nodes-base/nodes/TheHiveProject/TheHiveProjectTrigger.node.ts b/packages/nodes-base/nodes/TheHiveProject/TheHiveProjectTrigger.node.ts index 93a6c2315d..074573e7de 100644 --- a/packages/nodes-base/nodes/TheHiveProject/TheHiveProjectTrigger.node.ts +++ b/packages/nodes-base/nodes/TheHiveProject/TheHiveProjectTrigger.node.ts @@ -31,6 +31,13 @@ export class TheHiveProjectTrigger implements INodeType { }, ], properties: [ + { + displayName: + 'You must set up the webhook in TheHive — instructions here', + name: 'notice', + type: 'notice', + default: '', + }, { displayName: 'Events', name: 'events',