UNPKG

n8n-nodes-tenable-community

Version:

n8n node for the Tenable One platform

195 lines (194 loc) 5.75 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.pciAsvFields = exports.pciAsvOperations = void 0; exports.pciAsvOperations = [ { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { resource: [ 'attestations', ], }, }, options: [ { name: 'Get Details', value: 'getDetails', description: 'Returns the details for the specified PCI attestation', action: 'Get attestation details', }, { name: 'List', value: 'list', description: 'Returns a list of PCI attestations in PCI ASV', action: 'List attestations', }, { name: 'List Assets', value: 'listAssets', description: 'Returns a list of PCI assets attested in the specified attestation in PCI ASV', action: 'List attestation assets', }, { name: 'List Disputes', value: 'listDisputes', description: 'Returns a list of disputes for the specified PCI attestation', action: 'List attestation disputes', }, { name: 'List Undisputed Failures', value: 'listUndisputedFailures', description: 'Returns a list of undisputed failures of the specified PCI attestation', action: 'List undisputed failures', }, ], default: 'list', }, { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { resource: [ 'pciScans', ], }, }, options: [ { name: 'List', value: 'list', description: 'Returns a list of PCI scans in PCI ASV', action: 'List pci scans', }, ], default: 'list', }, ]; exports.pciAsvFields = [ // ATTESTATIONS { displayName: 'Attestation UUID', name: 'attestationUuid', type: 'string', required: true, displayOptions: { show: { resource: [ 'attestations', ], operation: [ 'getDetails', 'listDisputes', 'listUndisputedFailures', 'listAssets', ], }, }, default: '', description: 'The UUID of the PCI attestation', }, { displayName: 'Additional Fields', name: 'additionalFields', type: 'collection', placeholder: 'Add Field', default: {}, displayOptions: { show: { resource: [ 'attestations', ], operation: [ 'list', 'listDisputes', 'listUndisputedFailures', 'listAssets', ], }, }, options: [ { displayName: 'Status Type', name: 'status_type', type: 'string', default: '', description: 'Filters the list of PCI attestations by status', }, { displayName: 'Sort', name: 'sort', type: 'string', default: '', description: 'The field you want to use to sort the results by along with the sort order', }, { displayName: 'Limit', name: 'limit', type: 'number', typeOptions: { minValue: 1, }, default: 50, description: 'Max number of results to return', }, { displayName: 'Offset', name: 'offset', type: 'number', default: 0, description: 'The starting record to retrieve', }, ], }, // PCI SCANS { displayName: 'Additional Fields', name: 'additionalFields', type: 'collection', placeholder: 'Add Field', default: {}, displayOptions: { show: { resource: [ 'pciScans', ], operation: [ 'list', ], }, }, options: [ { displayName: 'Sort', name: 'sort', type: 'string', default: '', description: 'The field you want to use to sort the results by along with the sort order', }, { displayName: 'Limit', name: 'limit', type: 'number', typeOptions: { minValue: 1, }, default: 50, description: 'Max number of results to return', }, { displayName: 'Offset', name: 'offset', type: 'number', default: 0, description: 'The starting record to retrieve', }, ], }, ];