summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/oxidized/model/panos.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/oxidized/model/panos.rb b/lib/oxidized/model/panos.rb
index 35624b7..68d80c3 100644
--- a/lib/oxidized/model/panos.rb
+++ b/lib/oxidized/model/panos.rb
@@ -11,7 +11,14 @@ class PanOS < Oxidized::Model
end
cmd 'show system info' do |cfg|
- cfg.gsub! /^(up)?time:\ .*\n/, ''
+ cfg.gsub! /^(up)?time:\ .*$/, ''
+ cfg.gsub! /^app-.*?:\ .*$/, ''
+ cfg.gsub! /^av-.*?:\ .*$/, ''
+ cfg.gsub! /^threat-.*?:\ .*$/, ''
+ cfg.gsub! /^wildfire-.*?:\ .*$/, ''
+ cfg.gsub! /^wf-private.*?:\ .*$/, ''
+ cfg.gsub! /^url-filtering.*?:\ .*$/, ''
+ cfg.gsub! /^global-.*?:\ .*$/, ''
comment cfg
end