"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.pluginsRouter = void 0;
const express_1 = require("express");
const permissions_1 = require("../../util/config/permissions");
const plugins_1 = require("../controller/plugins");
const redteam_catalog_1 = require("../controller/redteam-catalog");
const permission_1 = require("../middlewares/permission");
exports.pluginsRouter = (0, express_1.Router)();
exports.pluginsRouter.get('/presets', (0, permission_1.hasPermission)(permissions_1.Permission.PROJECT_READ), plugins_1.getPluginPresets);
exports.pluginsRouter.get('/catalog', (0, permission_1.hasPermission)(permissions_1.Permission.PROJECT_READ), redteam_catalog_1.getRedteamPluginsCatalog);
//# sourceMappingURL=plugins.js.map