summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-05-26 22:18:40 +0300
committerytti <saku@ytti.fi>2016-05-26 22:18:40 +0300
commit54322b866942bee47a9a907f22c2ba1a8ac295cd (patch)
tree5854ec74a16fdee2aa9b59ee3f6c75a90e2ee87d
parent6858d908c214e869f72b95fed66390bf50efe3b1 (diff)
parent9c3b9963b1cfa930781372c981bef0e2a95507b0 (diff)
Merge pull request #444 from charlesklement/issue-439
Issue-439
-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