/** * Elastic Security Node - Version 1 * Discriminator: resource=case, operation=create */ interface Credentials { elasticSecurityApi: CredentialReference; } /** Create a case */ export type ElasticSecurityV1CaseCreateParams = { resource: 'case'; operation: 'create'; /** * Title */ title?: string | Expression | PlaceholderValue; /** * Connectors allow you to send Elastic Security cases into other systems (only ServiceNow, Jira, or IBM Resilient). Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ connectorId?: string | Expression; /** * Connector Type * @default .jira */ connectorType?: '.resilient' | '.jira' | '.servicenow' | Expression; /** * Type of the Jira issue to create for this case * @displayOptions.show { connectorType: [".jira"] } */ issueType?: string | Expression | PlaceholderValue; /** * Priority of the Jira issue to create for this case * @displayOptions.show { connectorType: [".jira"] } */ priority?: string | Expression | PlaceholderValue; /** * Urgency of the ServiceNow ITSM issue to create for this case * @displayOptions.show { connectorType: [".servicenow"] } * @default 1 */ urgency?: 1 | 2 | 3 | Expression; /** * Severity of the ServiceNow ITSM issue to create for this case * @displayOptions.show { connectorType: [".servicenow"] } * @default 1 */ severity?: 1 | 2 | 3 | Expression; /** * Impact of the ServiceNow ITSM issue to create for this case * @displayOptions.show { connectorType: [".servicenow"] } * @default 1 */ impact?: 1 | 2 | 3 | Expression; /** * Category of the ServiceNow ITSM issue to create for this case * @displayOptions.show { connectorType: [".servicenow"] } */ category?: string | Expression | PlaceholderValue; /** * Comma-separated list of numerical types of the IBM Resilient issue to create for this case * @displayOptions.show { connectorType: [".resilient"] } */ issueTypes?: string | Expression | PlaceholderValue; /** * Severity code of the IBM Resilient issue to create for this case * @displayOptions.show { connectorType: [".resilient"] } * @default 1 */ severityCode?: number | Expression; /** * Additional Fields * @default {} */ additionalFields?: { /** Description */ description?: string | Expression | PlaceholderValue; /** Valid application owner registered within the Cases Role Based Access Control system */ owner?: string | Expression | PlaceholderValue; /** Whether to synchronize with alerts * @default false */ syncAlerts?: boolean | Expression; }; }; export type ElasticSecurityV1CaseCreateNode = { type: 'n8n-nodes-base.elasticSecurity'; version: 1; credentials?: Credentials; config: NodeConfig; };