UNPKG

n8n-nodes-arubacentral

Version:

n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities

148 lines (147 loc) 4.39 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getClientAttacksDescription = void 0; /** * UI parameters for the getClientAttacks operation */ exports.getClientAttacksDescription = [ { displayName: 'Return All', name: 'returnAll', type: 'boolean', displayOptions: { show: { domain: ['rapids'], resource: ['wids'], operation: ['getClientAttacks'], }, }, default: true, description: 'Whether to return all results or only up to a given limit', }, { displayName: 'Limit', name: 'limit', type: 'number', displayOptions: { show: { domain: ['rapids'], resource: ['wids'], operation: ['getClientAttacks'], returnAll: [false], }, }, typeOptions: { minValue: 1, maxValue: 1000, }, default: 100, description: 'Maximum number of results to return', }, { displayName: 'Additional Fields', name: 'additionalFields', type: 'collection', placeholder: 'Add Field', displayOptions: { show: { domain: ['rapids'], resource: ['wids'], operation: ['getClientAttacks'], }, }, default: {}, options: [ { displayName: 'Calculate Total', name: 'calculate_total', type: 'boolean', default: false, description: 'Whether to calculate total client attacks', }, { displayName: 'Group Names', name: 'group', type: 'string', default: '', description: 'List of group names (comma-separated)', }, { displayName: 'Label Names', name: 'label', type: 'string', default: '', description: 'List of label names (comma-separated)', }, { displayName: 'Site Names', name: 'site', type: 'string', default: '', description: 'List of site names (comma-separated)', }, { displayName: 'Sort', name: 'sort', type: 'options', options: [ { name: 'Timestamp (Ascending)', value: '+ts', }, { name: 'Timestamp (Descending)', value: '-ts', }, { name: 'MAC Address (Ascending)', value: '+macaddr', }, { name: 'MAC Address (Descending)', value: '-macaddr', }, ], default: '-ts', description: 'Sort order for results', }, { displayName: 'Swarm ID', name: 'swarm_id', type: 'string', default: '', description: 'Filter by Swarm ID', }, ], }, { displayName: 'Time Range', name: 'timeRange', type: 'collection', placeholder: 'Add Time Range', displayOptions: { show: { domain: ['rapids'], resource: ['wids'], operation: ['getClientAttacks'], }, }, default: {}, options: [ { displayName: 'From Timestamp', name: 'from_timestamp', type: 'dateTime', default: '', description: 'Need information from this timestamp', }, { displayName: 'To Timestamp', name: 'to_timestamp', type: 'dateTime', default: '', description: 'Need information to this timestamp', }, ], }, ];