UNPKG

n8n-nodes-arubacentral

Version:

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

50 lines (49 loc) 2.06 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.widsDescriptions = exports.widsOperationSelector = void 0; const deduplicate_1 = require("../../../helpers/deduplicate"); const getInfrastructureAttacks_descriptions_1 = require("./operations/getInfrastructureAttacks.descriptions"); const getClientAttacks_descriptions_1 = require("./operations/getClientAttacks.descriptions"); const getWidsEvents_descriptions_1 = require("./operations/getWidsEvents.descriptions"); /** * Operation selector for the wids resource */ exports.widsOperationSelector = { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { resource: ['wids'], domain: ['rapids'], }, }, options: [ { name: 'List Infrastructure Attacks', value: 'getInfrastructureAttacks', description: 'Get infrastructure attacks over a time period', action: 'List Infrastructure Attacks', }, { name: 'List Client Attacks', value: 'getClientAttacks', description: 'Get client attacks over a time period', action: 'List Client Attacks', }, { name: 'WIDS Events', value: 'getWidsEvents', description: 'Get WIDS events over a time period', action: 'Get WIDS Events', }, ], default: 'getInfrastructureAttacks', }; // Combined descriptions for all operations in this resource exports.widsDescriptions = [exports.widsOperationSelector]; // Add each operation's descriptions (0, deduplicate_1.addDescriptions)(exports.widsDescriptions, getInfrastructureAttacks_descriptions_1.getInfrastructureAttacksDescription); (0, deduplicate_1.addDescriptions)(exports.widsDescriptions, getClientAttacks_descriptions_1.getClientAttacksDescription); (0, deduplicate_1.addDescriptions)(exports.widsDescriptions, getWidsEvents_descriptions_1.getWidsEventsDescription);