/** * MISP Node - Version 1 * Discriminator: resource=event, operation=update */ interface Credentials { mispApi: CredentialReference; } export type MispV1EventUpdateParams = { resource: 'event'; operation: 'update'; /** * UUID or numeric ID of the event */ eventId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Analysis maturity level of the event * @default 0 */ analysis?: 0 | 1 | 2 | Expression; /** Who will be able to see this event once published * @default 0 */ distribution?: 3 | 2 | 5 | 4 | 1 | 0 | Expression; /** Information on the event - max 65535 characters */ information?: string | Expression | PlaceholderValue; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. Use only for when <code>Sharing Group</code> is selected in <code>Distribution</code>. */ sharing_group_id?: string | Expression; /** Threat Level ID * @default 1 */ threat_level_id?: 1 | 2 | 3 | 4 | Expression; }; }; export type MispV1EventUpdateNode = { type: 'n8n-nodes-base.misp'; version: 1; credentials?: Credentials; config: NodeConfig; };