/** * MISP Node - Version 1 * Discriminator: resource=object, operation=search */ interface Credentials { mispApi: CredentialReference; } export type MispV1ObjectSearchParams = { resource: 'object'; operation: 'search'; /** * Whether to use JSON to specify the fields for the search request * @default false */ useJson?: boolean | Expression; /** * Get more info at {YOUR_BASE_URL_SPECIFIED_IN_CREDENTIALS}/api/openapi#operation/restSearchAttributes * @displayOptions.show { useJson: [true] } */ jsonOutput?: IDataObject | string | Expression; /** * Value * @displayOptions.show { useJson: [false] } */ value?: string | Expression | PlaceholderValue; /** * Additional Fields * @displayOptions.show { useJson: [false] } * @default {} */ additionalFields?: { /** Category */ category?: string | Expression | PlaceholderValue; /** Deleted * @default false */ deleted?: boolean | Expression; /** Search by matching any tag names, event descriptions, attribute values or attribute comments * @displayOptions.hide { /resource: ["attribute"] } */ searchall?: string | Expression | PlaceholderValue; /** Tags * @hint Comma-separated list of tags */ tags?: string | Expression | PlaceholderValue; /** Type */ type?: string | Expression | PlaceholderValue; /** Published * @default false */ published?: boolean | Expression; }; }; export type MispV1ObjectSearchNode = { type: 'n8n-nodes-base.misp'; version: 1; credentials?: Credentials; config: NodeConfig; };