From 2a19bcbb8be7e97cb82ade42d53f4547432ee2b7 Mon Sep 17 00:00:00 2001 From: Adrien Chabod Date: Thu, 12 Dec 2024 13:34:48 +0100 Subject: [PATCH 1/2] hide radius accounting secret --- lib/oxidized/model/xos.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oxidized/model/xos.rb b/lib/oxidized/model/xos.rb index 80ca2372f..9885f093c 100644 --- a/lib/oxidized/model/xos.rb +++ b/lib/oxidized/model/xos.rb @@ -13,7 +13,7 @@ class XOS < Oxidized::Model end cmd :secret do |cfg| - cfg.gsub! /^(configure radius (netlogin|mgmt-access) (primary|secondary) shared-secret encrypted).+/, '\\1