UNPKG

n8n-nodes-tenable-community

Version:

n8n node for the Tenable One platform

178 lines (177 loc) 4.17 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.attackPathAnalysisFields = void 0; exports.attackPathAnalysisFields = [ { displayName: 'Resource', name: 'resource', type: 'options', noDataExpression: true, options: [ { name: 'Attack Path', value: 'attackPath', }, ], default: 'attackPath', }, // Operations { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { resource: [ 'attackPath', ], }, }, options: [ { name: 'List Attack Paths', value: 'listAttackPaths', action: 'List attack paths', }, { name: 'List Findings', value: 'listFindings', action: 'List findings', }, ], default: 'listAttackPaths', }, // Fields { displayName: 'Page Number', name: 'pageNumber', type: 'number', default: 1, displayOptions: { show: { resource: [ 'attackPath', ], operation: [ 'listAttackPaths', 'listFindings', ], }, }, }, { displayName: 'Limit', name: 'limit', type: 'number', typeOptions: { minValue: 1, }, description: 'Max number of results to return', default: 50, displayOptions: { show: { resource: [ 'attackPath', ], operation: [ 'listAttackPaths', 'listFindings', ], }, }, }, { displayName: 'Run AI Summarization', name: 'runAiSummarization', type: 'boolean', default: false, displayOptions: { show: { resource: [ 'attackPath', ], operation: [ 'listAttackPaths', ], }, }, }, { displayName: 'Filter', name: 'filter', type: 'json', default: '', displayOptions: { show: { resource: [ 'attackPath', ], operation: [ 'listAttackPaths', 'listFindings', ], }, }, }, { displayName: 'Sort Field', name: 'sortField', type: 'string', default: '', displayOptions: { show: { resource: [ 'attackPath', ], operation: [ 'listAttackPaths', 'listFindings', ], }, }, }, { displayName: 'Sort Order', name: 'sortOrder', type: 'options', options: [ { name: 'Ascending', value: 'asc', }, { name: 'Descending', value: 'desc', }, ], default: 'asc', displayOptions: { show: { resource: [ 'attackPath', ], operation: [ 'listAttackPaths', 'listFindings', ], }, }, }, { displayName: 'Next', name: 'next', type: 'string', default: '', displayOptions: { show: { resource: [ 'attackPath', ], operation: [ 'listFindings', ], }, }, }, ];