refactor: Format nodes-base package (A-F) (#3800)
* 🔨 prettier formated nodes - A * 🔨 prettier formated nodes - B * ⚡ prettier formated nodes - C * ⚡ prettier formated nodes - D * ⚡ prettier formated nodes - E-F * 🎨 Adjust nodes-base formatting command (#3805) * Format additional files in nodes A-F (#3811) * ⚡ fixes * 🎨 Add Mindee to ignored dirs Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
import {
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const caseCommentOperations: INodeProperties[] = [
|
||||
{
|
||||
@@ -10,9 +8,7 @@ export const caseCommentOperations: INodeProperties[] = [
|
||||
type: 'options',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseComment',
|
||||
],
|
||||
resource: ['caseComment'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -64,12 +60,8 @@ export const caseCommentFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseComment',
|
||||
],
|
||||
operation: [
|
||||
'add',
|
||||
],
|
||||
resource: ['caseComment'],
|
||||
operation: ['add'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -81,12 +73,8 @@ export const caseCommentFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseComment',
|
||||
],
|
||||
operation: [
|
||||
'add',
|
||||
],
|
||||
resource: ['caseComment'],
|
||||
operation: ['add'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -96,12 +84,8 @@ export const caseCommentFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseComment',
|
||||
],
|
||||
operation: [
|
||||
'add',
|
||||
],
|
||||
resource: ['caseComment'],
|
||||
operation: ['add'],
|
||||
},
|
||||
},
|
||||
default: true,
|
||||
@@ -115,12 +99,8 @@ export const caseCommentFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseComment',
|
||||
],
|
||||
operation: [
|
||||
'add',
|
||||
],
|
||||
resource: ['caseComment'],
|
||||
operation: ['add'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -128,7 +108,8 @@ export const caseCommentFields: INodeProperties[] = [
|
||||
displayName: 'Owner',
|
||||
name: 'owner',
|
||||
type: 'string',
|
||||
description: 'Valid application owner registered within the Cases Role Based Access Control system',
|
||||
description:
|
||||
'Valid application owner registered within the Cases Role Based Access Control system',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
@@ -146,12 +127,8 @@ export const caseCommentFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseComment',
|
||||
],
|
||||
operation: [
|
||||
'get',
|
||||
],
|
||||
resource: ['caseComment'],
|
||||
operation: ['get'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -164,12 +141,8 @@ export const caseCommentFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseComment',
|
||||
],
|
||||
operation: [
|
||||
'get',
|
||||
],
|
||||
resource: ['caseComment'],
|
||||
operation: ['get'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -185,12 +158,8 @@ export const caseCommentFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseComment',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['caseComment'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -202,12 +171,8 @@ export const caseCommentFields: INodeProperties[] = [
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseComment',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['caseComment'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -222,15 +187,9 @@ export const caseCommentFields: INodeProperties[] = [
|
||||
},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseComment',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
returnAll: [
|
||||
false,
|
||||
],
|
||||
resource: ['caseComment'],
|
||||
operation: ['getAll'],
|
||||
returnAll: [false],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -247,12 +206,8 @@ export const caseCommentFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseComment',
|
||||
],
|
||||
operation: [
|
||||
'remove',
|
||||
],
|
||||
resource: ['caseComment'],
|
||||
operation: ['remove'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -264,12 +219,8 @@ export const caseCommentFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseComment',
|
||||
],
|
||||
operation: [
|
||||
'remove',
|
||||
],
|
||||
resource: ['caseComment'],
|
||||
operation: ['remove'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -286,12 +237,8 @@ export const caseCommentFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseComment',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: ['caseComment'],
|
||||
operation: ['update'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -303,12 +250,8 @@ export const caseCommentFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseComment',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: ['caseComment'],
|
||||
operation: ['update'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -321,12 +264,8 @@ export const caseCommentFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseComment',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: ['caseComment'],
|
||||
operation: ['update'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -336,12 +275,8 @@ export const caseCommentFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseComment',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: ['caseComment'],
|
||||
operation: ['update'],
|
||||
},
|
||||
},
|
||||
default: true,
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
import {
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const caseOperations: INodeProperties[] = [
|
||||
{
|
||||
@@ -10,9 +8,7 @@ export const caseOperations: INodeProperties[] = [
|
||||
type: 'options',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
resource: ['case'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -69,19 +65,16 @@ export const caseFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Connector Name or ID',
|
||||
name: 'connectorId',
|
||||
description: '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-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'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-examples/expressions/">expression</a>.',
|
||||
type: 'options',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -90,12 +83,8 @@ export const caseFields: INodeProperties[] = [
|
||||
},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -121,12 +110,8 @@ export const caseFields: INodeProperties[] = [
|
||||
],
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -140,15 +125,9 @@ export const caseFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
connectorType: [
|
||||
'.jira',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['create'],
|
||||
connectorType: ['.jira'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -162,15 +141,9 @@ export const caseFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
connectorType: [
|
||||
'.jira',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['create'],
|
||||
connectorType: ['.jira'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -197,15 +170,9 @@ export const caseFields: INodeProperties[] = [
|
||||
],
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
connectorType: [
|
||||
'.servicenow',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['create'],
|
||||
connectorType: ['.servicenow'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -232,15 +199,9 @@ export const caseFields: INodeProperties[] = [
|
||||
],
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
connectorType: [
|
||||
'.servicenow',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['create'],
|
||||
connectorType: ['.servicenow'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -267,15 +228,9 @@ export const caseFields: INodeProperties[] = [
|
||||
],
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
connectorType: [
|
||||
'.servicenow',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['create'],
|
||||
connectorType: ['.servicenow'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -289,37 +244,26 @@ export const caseFields: INodeProperties[] = [
|
||||
placeholder: 'Helpdesk',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
connectorType: [
|
||||
'.servicenow',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['create'],
|
||||
connectorType: ['.servicenow'],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Issue Types',
|
||||
name: 'issueTypes',
|
||||
description: 'Comma-separated list of numerical types of the IBM Resilient issue to create for this case',
|
||||
description:
|
||||
'Comma-separated list of numerical types of the IBM Resilient issue to create for this case',
|
||||
type: 'string',
|
||||
placeholder: '123,456',
|
||||
required: true,
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
connectorType: [
|
||||
'.resilient',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['create'],
|
||||
connectorType: ['.resilient'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -335,15 +279,9 @@ export const caseFields: INodeProperties[] = [
|
||||
default: 1,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
connectorType: [
|
||||
'.resilient',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['create'],
|
||||
connectorType: ['.resilient'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -355,12 +293,8 @@ export const caseFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -374,7 +308,8 @@ export const caseFields: INodeProperties[] = [
|
||||
displayName: 'Owner',
|
||||
name: 'owner',
|
||||
type: 'string',
|
||||
description: 'Valid application owner registered within the Cases Role Based Access Control system',
|
||||
description:
|
||||
'Valid application owner registered within the Cases Role Based Access Control system',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -398,12 +333,8 @@ export const caseFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'delete',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['delete'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -419,12 +350,8 @@ export const caseFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'get',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['get'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -440,12 +367,8 @@ export const caseFields: INodeProperties[] = [
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -460,19 +383,13 @@ export const caseFields: INodeProperties[] = [
|
||||
},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
returnAll: [
|
||||
false,
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['getAll'],
|
||||
returnAll: [false],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
{
|
||||
displayName: 'Filters',
|
||||
name: 'filters',
|
||||
type: 'collection',
|
||||
@@ -480,12 +397,8 @@ export const caseFields: INodeProperties[] = [
|
||||
placeholder: 'Add Filter',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -513,7 +426,8 @@ export const caseFields: INodeProperties[] = [
|
||||
displayName: 'Tag Names or IDs',
|
||||
name: 'tags',
|
||||
type: 'multiOptions',
|
||||
description: 'Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
description:
|
||||
'Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
default: [],
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTags',
|
||||
@@ -529,12 +443,8 @@ export const caseFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -590,12 +500,8 @@ export const caseFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['update'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -607,12 +513,8 @@ export const caseFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'case',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: ['case'],
|
||||
operation: ['update'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
import {
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const caseTagOperations: INodeProperties[] = [
|
||||
{
|
||||
@@ -10,9 +8,7 @@ export const caseTagOperations: INodeProperties[] = [
|
||||
noDataExpression: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseTag',
|
||||
],
|
||||
resource: ['caseTag'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -45,12 +41,8 @@ export const caseTagFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseTag',
|
||||
],
|
||||
operation: [
|
||||
'add',
|
||||
],
|
||||
resource: ['caseTag'],
|
||||
operation: ['add'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -58,7 +50,8 @@ export const caseTagFields: INodeProperties[] = [
|
||||
displayName: 'Tag Name or ID',
|
||||
name: 'tag',
|
||||
type: 'options',
|
||||
description: 'Tag to attach to the case. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'Tag to attach to the case. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
required: true,
|
||||
default: '',
|
||||
typeOptions: {
|
||||
@@ -66,12 +59,8 @@ export const caseTagFields: INodeProperties[] = [
|
||||
},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseTag',
|
||||
],
|
||||
operation: [
|
||||
'add',
|
||||
],
|
||||
resource: ['caseTag'],
|
||||
operation: ['add'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -87,12 +76,8 @@ export const caseTagFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseTag',
|
||||
],
|
||||
operation: [
|
||||
'remove',
|
||||
],
|
||||
resource: ['caseTag'],
|
||||
operation: ['remove'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -100,7 +85,8 @@ export const caseTagFields: INodeProperties[] = [
|
||||
displayName: 'Tag Name or ID',
|
||||
name: 'tag',
|
||||
type: 'options',
|
||||
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
description:
|
||||
'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
required: true,
|
||||
default: '',
|
||||
typeOptions: {
|
||||
@@ -108,12 +94,8 @@ export const caseTagFields: INodeProperties[] = [
|
||||
},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'caseTag',
|
||||
],
|
||||
operation: [
|
||||
'remove',
|
||||
],
|
||||
resource: ['caseTag'],
|
||||
operation: ['remove'],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
import {
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const connectorOperations: INodeProperties[] = [
|
||||
{
|
||||
@@ -10,9 +8,7 @@ export const connectorOperations: INodeProperties[] = [
|
||||
type: 'options',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'connector',
|
||||
],
|
||||
resource: ['connector'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -34,18 +30,15 @@ export const connectorFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Connector Name',
|
||||
name: 'name',
|
||||
description: 'Connectors allow you to send Elastic Security cases into other systems (only ServiceNow, Jira, or IBM Resilient)',
|
||||
description:
|
||||
'Connectors allow you to send Elastic Security cases into other systems (only ServiceNow, Jira, or IBM Resilient)',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'connector',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['connector'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -71,12 +64,8 @@ export const connectorFields: INodeProperties[] = [
|
||||
],
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'connector',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['connector'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -89,12 +78,8 @@ export const connectorFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'connector',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['connector'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -108,15 +93,9 @@ export const connectorFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'connector',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
connectorType: [
|
||||
'.jira',
|
||||
],
|
||||
resource: ['connector'],
|
||||
operation: ['create'],
|
||||
connectorType: ['.jira'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -129,15 +108,9 @@ export const connectorFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'connector',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
connectorType: [
|
||||
'.jira',
|
||||
],
|
||||
resource: ['connector'],
|
||||
operation: ['create'],
|
||||
connectorType: ['.jira'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -150,15 +123,9 @@ export const connectorFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'connector',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
connectorType: [
|
||||
'.jira',
|
||||
],
|
||||
resource: ['connector'],
|
||||
operation: ['create'],
|
||||
connectorType: ['.jira'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -171,15 +138,9 @@ export const connectorFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'connector',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
connectorType: [
|
||||
'.servicenow',
|
||||
],
|
||||
resource: ['connector'],
|
||||
operation: ['create'],
|
||||
connectorType: ['.servicenow'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -192,15 +153,9 @@ export const connectorFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'connector',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
connectorType: [
|
||||
'.servicenow',
|
||||
],
|
||||
resource: ['connector'],
|
||||
operation: ['create'],
|
||||
connectorType: ['.servicenow'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -213,15 +168,9 @@ export const connectorFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'connector',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
connectorType: [
|
||||
'.resilient',
|
||||
],
|
||||
resource: ['connector'],
|
||||
operation: ['create'],
|
||||
connectorType: ['.resilient'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -234,15 +183,9 @@ export const connectorFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'connector',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
connectorType: [
|
||||
'.resilient',
|
||||
],
|
||||
resource: ['connector'],
|
||||
operation: ['create'],
|
||||
connectorType: ['.resilient'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -255,15 +198,9 @@ export const connectorFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'connector',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
connectorType: [
|
||||
'.resilient',
|
||||
],
|
||||
resource: ['connector'],
|
||||
operation: ['create'],
|
||||
connectorType: ['.resilient'],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user