147 профілів на 67 вендорів у ncm.profiles: Cisco, Huawei, Juniper, MikroTik, Eltex, D-Link, HP, Brocade, Extreme, Alcatel, Allied Telesis, Qtech, ZTE, BDCOM та інші. Розбір через ast, без виконання: NOC-скрипт тягне половину свого фреймворку, і імпортувати його означало б або принести весь NOC, або підсунути заглушки, які мовчки змінюють поведінку. З кожного get_config.py береться перша команда збору, гілка startup, strip_first_lines і регекси платформ. Альтернативи лишаються в коментарі. Шум (exit, sh, changeto system, terminal width 200) відсіюється явним списком: Cisco.ASA після фільтра дає рівно more system:running-config, Juniper.JUNOSe — рівно show running-configuration замість чотирьох команд із сусідніх гілок. Пейджер додається лише мережевому CLI: Eltex SMG і TAU знімають конфіг через cat, і terminal datadump у bash просто впав би. Важливо: команди — з NOC, а промпти й вимкнення пейджера — ні. У дампі всі __init__.py порожні (359 із 364), а NOC тримає pattern_prompt саме там. Вони проставлені за родиною вендора з типових значень і потребують перевірки на живому залізі. Не витягнулись 23 з 170, і не через помилку: 21 знімає конфіг по HTTP (камери, відеокодери, MikroTik SwOS, HP iLO2), 2 — порожні заглушки в самому NOC. Виконувати профілі поки нікому: агентського модуля ncm (SSH/Telnet) немає, це Етап 7. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1191 lines
64 KiB
SQL
1191 lines
64 KiB
SQL
-- =====================================================================
|
||
-- NetPulse :: 0014_ncm_profiles.sql
|
||
-- Профілі збору конфігу, імпортовані з NOC Project.
|
||
--
|
||
-- Команди взято з get_config.py відповідного профілю NOC — це
|
||
-- головна цінність імпорту: сотні годин чужої роботи з реальним
|
||
-- залізом.
|
||
--
|
||
-- Промпти, вимкнення пейджера й шаблони маскування NOC у переданому
|
||
-- дампі НЕ містив: усі __init__.py, де він їх тримає, порожні. Тому
|
||
-- вони проставлені за родиною вендора з типових значень і
|
||
-- потребують перевірки на живому залізі перед промисловим ужитком.
|
||
-- =====================================================================
|
||
|
||
-- Профілів: 147; вендорів: 67
|
||
|
||
-- 3Com/4500/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, '3com-4500', '3Com 4500', '3com', 'ssh', '["screen-length 0 temporary", "display current-configuration"]', '[\]>]\s*$',
|
||
false, '["^!Last configuration was updated"]', '["(password|cipher) \\S+", "snmp-agent community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- 3Com/SuperStack3_4500/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, '3com-superstack3-4500', '3Com SuperStack3_4500', '3com', 'ssh', '["screen-length 0 temporary", "display current-configuration"]', '[\]>]\s*$',
|
||
false, '["^!Last configuration was updated"]', '["(password|cipher) \\S+", "snmp-agent community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- AddPac/APOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'addpac-apos', 'AddPac APOS', 'addpac', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Alcatel/7302/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'alcatel-7302', 'Alcatel 7302', 'alcatel', 'ssh', '["terminal length 0", "environment inhibit-alarms mode batch terminal-timeout timeout:30"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Alcatel/AOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'alcatel-aos', 'Alcatel AOS', 'alcatel', 'ssh', '["terminal length 0", "show configuration snapshot"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Alcatel/OS62xx/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'alcatel-os62xx', 'Alcatel OS62xx', 'alcatel', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Alcatel/TIMOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'alcatel-timos', 'Alcatel TIMOS', 'alcatel', 'ssh', '["terminal length 0", "admin display"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- AlliedTelesis/AT8000/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'alliedtelesis-at8000', 'AlliedTelesis AT8000', 'alliedtelesis', 'ssh', '["show config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- AlliedTelesis/AT8000S/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'alliedtelesis-at8000s', 'AlliedTelesis AT8000S', 'alliedtelesis', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- AlliedTelesis/AT8100/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'alliedtelesis-at8100', 'AlliedTelesis AT8100', 'alliedtelesis', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- AlliedTelesis/AT8500/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'alliedtelesis-at8500', 'AlliedTelesis AT8500', 'alliedtelesis', 'ssh', '["show config dynamic"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- AlliedTelesis/AT9400/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'alliedtelesis-at9400', 'AlliedTelesis AT9400', 'alliedtelesis', 'ssh', '["show config dynamic"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- AlliedTelesis/AT9900/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'alliedtelesis-at9900', 'AlliedTelesis AT9900', 'alliedtelesis', 'ssh', '["show config dynamic"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Alstec/24xx/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'alstec-24xx', 'Alstec 24xx', 'alstec', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Alstec/7200/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'alstec-7200', 'Alstec 7200', 'alstec', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Alstec/ALS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'alstec-als', 'Alstec ALS', 'alstec', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Alstec/MSPU/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'alstec-mspu', 'Alstec MSPU', 'alstec', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Angtel/Topaz/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'angtel-topaz', 'Angtel Topaz', 'angtel', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Arista/EOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'arista-eos', 'Arista EOS', 'arista', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Aruba/ArubaOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'aruba-arubaos', 'Aruba ArubaOS', 'aruba', 'ssh', '["no page", "show running-config"]', '[>#]\s*$',
|
||
true, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Audiocodes/Mediant2000/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'audiocodes-mediant2000', 'Audiocodes Mediant2000', 'audiocodes', 'ssh', '["conf"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- BDCOM/IOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'bdcom-ios', 'BDCOM IOS', 'bdcom', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- BDCOM/xPON/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'bdcom-xpon', 'BDCOM xPON', 'bdcom', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Brocade/ADX/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'brocade-adx', 'Brocade ADX', 'brocade', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Brocade/CER/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'brocade-cer', 'Brocade CER', 'brocade', 'ssh', '["terminal length 0", "show config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Brocade/CER-ADV/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'brocade-cer-adv', 'Brocade CER-ADV', 'brocade', 'ssh', '["terminal length 0", "show config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Brocade/FabricOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'brocade-fabricos', 'Brocade FabricOS', 'brocade', 'ssh', '["terminal length 0", "configshow"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Brocade/IronWare/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'brocade-ironware', 'Brocade IronWare', 'brocade', 'ssh', '["terminal length 0", "show config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Carelink/SWG/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'carelink-swg', 'Carelink SWG', 'carelink', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- CData/xPON/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'cdata-xpon', 'CData xPON', 'cdata', 'ssh', '["screen-length 0 temporary", "show current-config"]', '[\]>]\s*$',
|
||
false, '["^!Last configuration was updated"]', '["(password|cipher) \\S+", "snmp-agent community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Cisco/1900/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'cisco-1900', 'Cisco 1900', 'cisco', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Cisco/AireOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'cisco-aireos', 'Cisco AireOS', 'cisco', 'ssh', '["terminal length 0", "show run-config commands"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Cisco/ASA/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'cisco-asa', 'Cisco ASA', 'cisco', 'ssh', '["terminal length 0", "more system:running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Cisco/CatOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'cisco-catos', 'Cisco CatOS', 'cisco', 'ssh', '["terminal length 0", "show config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Cisco/FWSM/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'cisco-fwsm', 'Cisco FWSM', 'cisco', 'ssh', '["terminal length 0", "terminal pager 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Cisco/IOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'cisco-ios', 'Cisco IOS', 'cisco', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Cisco/IOSXR/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'cisco-iosxr', 'Cisco IOSXR', 'cisco', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Cisco/NXOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'cisco-nxos', 'Cisco NXOS', 'cisco', 'ssh', '["terminal length 0", "show running-config | no-more"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Cisco/SANOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'cisco-sanos', 'Cisco SANOS', 'cisco', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Cisco/SCOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'cisco-scos', 'Cisco SCOS', 'cisco', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Cisco/SMB/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'cisco-smb', 'Cisco SMB', 'cisco', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Cisco/WLC/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'cisco-wlc', 'Cisco WLC', 'cisco', 'ssh', '["terminal length 0", "show run-config commands"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- DCN/DCWS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'dcn-dcws', 'DCN DCWS', 'dcn', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Dell/Powerconnect55xx/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'dell-powerconnect55xx', 'Dell Powerconnect55xx', 'dell', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Dell/Powerconnect62xx/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'dell-powerconnect62xx', 'Dell Powerconnect62xx', 'dell', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- DLink/DGS3100/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'dlink-dgs3100', 'DLink DGS3100', 'dlink', 'ssh', '["disable clipaging", "show configuration running"]', '[>#:]\s*$',
|
||
false, '["^#-+", "^# \\w+ Configuration"]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- DLink/DVG/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'dlink-dvg', 'DLink DVG', 'dlink', 'ssh', '["cat /tmp/etc/default/config.json"]', '[>#:]\s*$',
|
||
false, '["^#-+", "^# \\w+ Configuration"]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- DLink/DxS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'dlink-dxs', 'DLink DxS', 'dlink', 'ssh', '["disable clipaging", "show config active"]', '[>#:]\s*$',
|
||
false, '["^#-+", "^# \\w+ Configuration"]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- DLink/DxS_Cisco_CLI/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'dlink-dxs-cisco-cli', 'DLink DxS_Cisco_CLI', 'dlink', 'ssh', '["disable clipaging", "show running-config"]', '[>#:]\s*$',
|
||
false, '["^#-+", "^# \\w+ Configuration"]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- DLink/DxS_Industrial_CLI/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'dlink-dxs-industrial-cli', 'DLink DxS_Industrial_CLI', 'dlink', 'ssh', '["disable clipaging", "show running-config"]', '[>#:]\s*$',
|
||
false, '["^#-+", "^# \\w+ Configuration"]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- EdgeCore/ES/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'edgecore-es', 'EdgeCore ES', 'edgecore', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Eltex/ESR/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'eltex-esr', 'Eltex ESR', 'eltex', 'ssh', '["terminal datadump", "show running-config"]', '[>#]\s*$',
|
||
true, '[]', '["(password|encrypted) \\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Eltex/LTE/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'eltex-lte', 'Eltex LTE', 'eltex', 'ssh', '["terminal datadump", "show running-config"]', '[>#]\s*$',
|
||
true, '[]', '["(password|encrypted) \\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Eltex/LTP/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'eltex-ltp', 'Eltex LTP', 'eltex', 'ssh', '["terminal datadump", "show running-config"]', '[>#]\s*$',
|
||
true, '[]', '["(password|encrypted) \\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Eltex/LTP16N/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'eltex-ltp16n', 'Eltex LTP16N', 'eltex', 'ssh', '["terminal datadump", "show running-config"]', '[>#]\s*$',
|
||
true, '[]', '["(password|encrypted) \\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Eltex/MA4000/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'eltex-ma4000', 'Eltex MA4000', 'eltex', 'ssh', '["terminal datadump", "show running-config"]', '[>#]\s*$',
|
||
true, '[]', '["(password|encrypted) \\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Eltex/MES/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'eltex-mes', 'Eltex MES', 'eltex', 'ssh', '["terminal datadump", "show running-config"]', '[>#]\s*$',
|
||
true, '[]', '["(password|encrypted) \\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Eltex/MES24xx/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'eltex-mes24xx', 'Eltex MES24xx', 'eltex', 'ssh', '["terminal datadump", "show running-config"]', '[>#]\s*$',
|
||
true, '[]', '["(password|encrypted) \\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Eltex/MES5448/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'eltex-mes5448', 'Eltex MES5448', 'eltex', 'ssh', '["terminal datadump", "show running-config"]', '[>#]\s*$',
|
||
true, '[]', '["(password|encrypted) \\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Eltex/PON/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'eltex-pon', 'Eltex PON', 'eltex', 'ssh', '["terminal datadump", "show running-config"]', '[>#]\s*$',
|
||
true, '[]', '["(password|encrypted) \\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Eltex/RG/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'eltex-rg', 'Eltex RG', 'eltex', 'ssh', '["tail -n +1 /tmp/etc/config/cert/* /tmp/etc/config/*"]', '[>#]\s*$',
|
||
true, '[]', '["(password|encrypted) \\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Eltex/SMG/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'eltex-smg', 'Eltex SMG', 'eltex', 'ssh', '["cat /etc/config/cfg.yaml"]', '[>#]\s*$',
|
||
true, '[]', '["(password|encrypted) \\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Eltex/TAU/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'eltex-tau', 'Eltex TAU', 'eltex', 'ssh', '["cat /etc/config/cfg.yaml"]', '[>#]\s*$',
|
||
true, '[]', '["(password|encrypted) \\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Eltex/WOPLR/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'eltex-woplr', 'Eltex WOPLR', 'eltex', 'ssh', '["terminal datadump", "show-config"]', '[>#]\s*$',
|
||
true, '[]', '["(password|encrypted) \\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Ericsson/MINI_LINK/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'ericsson-mini-link', 'Ericsson MINI_LINK', 'ericsson', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Ericsson/SEOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'ericsson-seos', 'Ericsson SEOS', 'ericsson', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Extreme/ISW/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'extreme-isw', 'Extreme ISW', 'extreme', 'ssh', '["disable clipaging", "flash:startup-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Extreme/Summit200/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'extreme-summit200', 'Extreme Summit200', 'extreme', 'ssh', '["disable clipaging", "show configuration"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Extreme/XOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'extreme-xos', 'Extreme XOS', 'extreme', 'ssh', '["disable clipaging", "show config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- f5/BIGIP/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'f5-bigip', 'f5 BIGIP', 'f5', 'ssh', '["list"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Force10/FTOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'force10-ftos', 'Force10 FTOS', 'force10', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Force10/SFTOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'force10-sftos', 'Force10 SFTOS', 'force10', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Fortinet/Fortigate/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'fortinet-fortigate', 'Fortinet Fortigate', 'fortinet', 'ssh', '["show"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- GWD/GFA/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'gwd-gfa', 'GWD GFA', 'gwd', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- H3C/VRP/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'h3c-vrp', 'H3C VRP', 'h3c', 'ssh', '["screen-length 0 temporary", "undo terminal monitor", "display current-configuration"]', '[\]>]\s*$',
|
||
false, '["^!Last configuration was updated"]', '["(password|cipher) \\S+", "snmp-agent community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- HP/1910/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'hp-1910', 'HP 1910', 'hp', 'ssh', '["no page", "display current-configuration"]', '[>#]\s*$',
|
||
true, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- HP/Aruba/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'hp-aruba', 'HP Aruba', 'hp', 'ssh', '["no page", "show running-config"]', '[>#]\s*$',
|
||
true, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- HP/Comware/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'hp-comware', 'HP Comware', 'hp', 'ssh', '["no page", "undo terminal monitor", "display current-configuration"]', '[>#]\s*$',
|
||
true, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- HP/GbE2/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'hp-gbe2', 'HP GbE2', 'hp', 'ssh', '["/cfg/dump"]', '[>#]\s*$',
|
||
true, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- HP/ProCurve/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'hp-procurve', 'HP ProCurve', 'hp', 'ssh', '["no page", "show config"]', '[>#]\s*$',
|
||
true, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- HP/ProCurve9xxx/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'hp-procurve9xxx', 'HP ProCurve9xxx', 'hp', 'ssh', '["no page", "show config"]', '[>#]\s*$',
|
||
true, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Huawei/MA5300/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'huawei-ma5300', 'Huawei MA5300', 'huawei', 'ssh', '["screen-length 0 temporary", "show running-config"]', '[\]>]\s*$',
|
||
false, '["^!Last configuration was updated"]', '["(password|cipher) \\S+", "snmp-agent community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Huawei/MA5600T/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'huawei-ma5600t', 'Huawei MA5600T', 'huawei', 'ssh', '["screen-length 0 temporary", "display current-configuration"]', '[\]>]\s*$',
|
||
false, '["^!Last configuration was updated"]', '["(password|cipher) \\S+", "snmp-agent community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Huawei/UMG8900/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'huawei-umg8900', 'Huawei UMG8900', 'huawei', 'ssh', '["screen-length 0 temporary", "dsp cfg;"]', '[\]>]\s*$',
|
||
false, '["^!Last configuration was updated"]', '["(password|cipher) \\S+", "snmp-agent community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Huawei/VRP/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'huawei-vrp', 'Huawei VRP', 'huawei', 'ssh', '["screen-length 0 temporary", "undo terminal monitor", "display current-configuration"]', '[\]>]\s*$',
|
||
false, '["^!Last configuration was updated"]', '["(password|cipher) \\S+", "snmp-agent community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Huawei/VRP3/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'huawei-vrp3', 'Huawei VRP3', 'huawei', 'ssh', '["screen-length 0 temporary", "no monitor", "show running-config"]', '[\]>]\s*$',
|
||
false, '["^!Last configuration was updated"]', '["(password|cipher) \\S+", "snmp-agent community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- IBM/NOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'ibm-nos', 'IBM NOS', 'ibm', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- InfiNet/WANFlexX/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'infinet-wanflexx', 'InfiNet WANFlexX', 'infinet', 'ssh', '["config show"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Intracom/UltraLink/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'intracom-ultralink', 'Intracom UltraLink', 'intracom', 'ssh', '["config show current"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Iskratel/ESCOM/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'iskratel-escom', 'Iskratel ESCOM', 'iskratel', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Iskratel/MBAN/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'iskratel-mban', 'Iskratel MBAN', 'iskratel', 'ssh', '["terminal length 0", "show system config detail"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Iskratel/MSAN/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'iskratel-msan', 'Iskratel MSAN', 'iskratel', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Juniper/EX2500/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'juniper-ex2500', 'Juniper EX2500', 'juniper', 'ssh', '["set cli screen-length 0", "show active-config"]', '[%>#]\s*$',
|
||
false, '["^## Last commit:"]', '["encrypted-password \\S+", "\"\\$9\\$\\S+\""]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Juniper/JUNOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'juniper-junos', 'Juniper JUNOS', 'juniper', 'ssh', '["set cli screen-length 0", "show configuration | display omit"]', '[%>#]\s*$',
|
||
false, '["^## Last commit:"]', '["encrypted-password \\S+", "\"\\$9\\$\\S+\""]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Juniper/JUNOSe/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'juniper-junose', 'Juniper JUNOSe', 'juniper', 'ssh', '["set cli screen-length 0", "show running-configuration"]', '[%>#]\s*$',
|
||
false, '["^## Last commit:"]', '["encrypted-password \\S+", "\"\\$9\\$\\S+\""]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Juniper/ScreenOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'juniper-screenos', 'Juniper ScreenOS', 'juniper', 'ssh', '["set cli screen-length 0", "get config"]', '[%>#]\s*$',
|
||
false, '["^## Last commit:"]', '["encrypted-password \\S+", "\"\\$9\\$\\S+\""]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Juniper/SRCPE/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'juniper-srcpe', 'Juniper SRCPE', 'juniper', 'ssh', '["set cli screen-length 0", "show configuration"]', '[%>#]\s*$',
|
||
false, '["^## Last commit:"]', '["encrypted-password \\S+", "\"\\$9\\$\\S+\""]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Linksys/SPS2xx/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'linksys-sps2xx', 'Linksys SPS2xx', 'linksys', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Maipu/OS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'maipu-os', 'Maipu OS', 'maipu', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Mellanox/Cumulus/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'mellanox-cumulus', 'Mellanox Cumulus', 'mellanox', 'ssh', '["net show configuration commands"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Mellanox/Onyx/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'mellanox-onyx', 'Mellanox Onyx', 'mellanox', 'ssh', '["show configuration running"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- MikroTik/RouterOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'mikrotik-routeros', 'MikroTik RouterOS', 'mikrotik', 'ssh', '["export"]', '\] > $',
|
||
false, '["^# \\w{3}/\\d{2}/\\d{4}"]', '["password=\\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- NAG/SNR/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'nag-snr', 'NAG SNR', 'nag', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- NAG/SNR_eNOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'nag-snr-enos', 'NAG SNR_eNOS', 'nag', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Nateks/FlexGain/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'nateks-flexgain', 'Nateks FlexGain', 'nateks', 'ssh', '["terminal length 0", "show runningcfg"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Nateks/NetXpert/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'nateks-netxpert', 'Nateks NetXpert', 'nateks', 'ssh', '["terminal length 0", "show configuration"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Nortel/BayStack425/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'nortel-baystack425', 'Nortel BayStack425', 'nortel', 'ssh', '["show run"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- NSCComm/LPOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'nsccomm-lpos', 'NSCComm LPOS', 'nsccomm', 'ssh', '["show cfg.sys"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- NSN/hiX56xx/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'nsn-hix56xx', 'NSN hiX56xx', 'nsn', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- NSN/TIMOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'nsn-timos', 'NSN TIMOS', 'nsn', 'ssh', '["admin display"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Orion/NOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'orion-nos', 'Orion NOS', 'orion', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- OS/ESXi/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'os-esxi', 'OS ESXi', 'os', 'ssh', '["cat /etc/vmware/esx.conf"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Planet/WGSD/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'planet-wgsd', 'Planet WGSD', 'planet', 'ssh', '["show startup-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Polygon/IOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'polygon-ios', 'Polygon IOS', 'polygon', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Protei/MediaGateway/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'protei-mediagateway', 'Protei MediaGateway', 'protei', 'ssh', '["cd /usr/protei/CLI/Client"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Qtech/QOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'qtech-qos', 'Qtech QOS', 'qtech', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Qtech/QSW/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'qtech-qsw', 'Qtech QSW', 'qtech', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Qtech/QSW2500/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'qtech-qsw2500', 'Qtech QSW2500', 'qtech', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Qtech/QSW2800/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'qtech-qsw2800', 'Qtech QSW2800', 'qtech', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Qtech/QSW8200/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'qtech-qsw8200', 'Qtech QSW8200', 'qtech', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Raisecom/RCIOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'raisecom-rcios', 'Raisecom RCIOS', 'raisecom', 'ssh', '["terminal page-break disable", "show running-config"]', '[>#]\s*$',
|
||
true, '[]', '["password \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Raisecom/ROS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'raisecom-ros', 'Raisecom ROS', 'raisecom', 'ssh', '["terminal page-break disable", "show running-config"]', '[>#]\s*$',
|
||
true, '[]', '["password \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Raritan/DominionSX/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'raritan-dominionsx', 'Raritan DominionSX', 'raritan', 'ssh', '["maintenance"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Rotek/RTBS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'rotek-rtbs', 'Rotek RTBS', 'rotek', 'ssh', '["terminal length 0", "show config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Rotek/RTBSv1/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'rotek-rtbsv1', 'Rotek RTBSv1', 'rotek', 'ssh', '["terminal length 0", "show config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Ruckus/ZoneDirector/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'ruckus-zonedirector', 'Ruckus ZoneDirector', 'ruckus', 'ssh', '["terminal length 0", "show config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Siklu/EH/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'siklu-eh', 'Siklu EH', 'siklu', 'ssh', '["copy running-configuration display"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- SKS/SKS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'sks-sks', 'SKS SKS', 'sks', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Sun/iLOM3/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'sun-ilom3', 'Sun iLOM3', 'sun', 'ssh', '["cd /SP/config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Supertel/K2X/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'supertel-k2x', 'Supertel K2X', 'supertel', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Symbol/AP/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'symbol-ap', 'Symbol AP', 'symbol', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Terayon/BW/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'terayon-bw', 'Terayon BW', 'terayon', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- TPLink/T2600G/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'tplink-t2600g', 'TPLink T2600G', 'tplink', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Ubiquiti/AirOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'ubiquiti-airos', 'Ubiquiti AirOS', 'ubiquiti', 'ssh', '["cat /tmp/system.cfg"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Upvel/UP/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'upvel-up', 'Upvel UP', 'upvel', 'ssh', '["terminal length 0", "show running-config"]', '[>#]\s*$',
|
||
true, '["^Building configuration", "^Current configuration : \\d+ bytes", "^ntp clock-period"]', '["(password|secret) \\d? ?\\S+", "snmp-server community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Vitesse/VSC/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'vitesse-vsc', 'Vitesse VSC', 'vitesse', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Vyatta/Vyatta/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'vyatta-vyatta', 'Vyatta Vyatta', 'vyatta', 'ssh', '["set cli screen-length 0", "show configuration"]', '[%>#]\s*$',
|
||
false, '["^## Last commit:"]', '["encrypted-password \\S+", "\"\\$9\\$\\S+\""]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Zebra/Zebra/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'zebra-zebra', 'Zebra Zebra', 'zebra', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Zhone/Bitstorm/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'zhone-bitstorm', 'Zhone Bitstorm', 'zhone', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+", "community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- ZTE/ZXA10/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'zte-zxa10', 'ZTE ZXA10', 'zte', 'ssh', '["screen-length 0 temporary", "show running-config"]', '[\]>]\s*$',
|
||
false, '["^!Last configuration was updated"]', '["(password|cipher) \\S+", "snmp-agent community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- ZTE/ZXDSL531/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'zte-zxdsl531', 'ZTE ZXDSL531', 'zte', 'ssh', '["screen-length 0 temporary", "dumpcfg"]', '[\]>]\s*$',
|
||
false, '["^!Last configuration was updated"]', '["(password|cipher) \\S+", "snmp-agent community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- ZTE/ZXDSL98xx/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'zte-zxdsl98xx', 'ZTE ZXDSL98xx', 'zte', 'ssh', '["screen-length 0 temporary", "show running-config"]', '[\]>]\s*$',
|
||
false, '["^!Last configuration was updated"]', '["(password|cipher) \\S+", "snmp-agent community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- ZTE/ZXR10/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'zte-zxr10', 'ZTE ZXR10', 'zte', 'ssh', '["screen-length 0 temporary", "show running-config"]', '[\]>]\s*$',
|
||
false, '["^!Last configuration was updated"]', '["(password|cipher) \\S+", "snmp-agent community \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Zyxel/DSLAM/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'zyxel-dslam', 'Zyxel DSLAM', 'zyxel', 'ssh', '["show config-0"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Zyxel/MSAN/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'zyxel-msan', 'Zyxel MSAN', 'zyxel', 'ssh', '["show config-0"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Zyxel/ZyNOS/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'zyxel-zynos', 'Zyxel ZyNOS', 'zyxel', 'ssh', '["show running-config"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|
||
|
||
-- Zyxel/ZyNOSv2/get_config.py
|
||
INSERT INTO ncm.profiles
|
||
(tenant_id, key, name, vendor, transport, commands, prompt_regex,
|
||
enable_required, scrub_patterns, redact_patterns, is_builtin)
|
||
VALUES (NULL, 'zyxel-zynosv2', 'Zyxel ZyNOSv2', 'zyxel', 'ssh', '["fm cat init"]', '[>#]\s*$',
|
||
false, '[]', '["password \\S+"]', true)
|
||
ON CONFLICT DO NOTHING;
|