summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-log.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-10-29 09:57:33 +0100
committerGitHub <noreply@github.com>2023-10-29 09:57:33 +0100
commit5974491d4b69932876ad697f82e1ef74cd37aa8f (patch)
tree6069e6cd61482e3873e641b586a377c8a7b3ad70 /op-mode-definitions/show-log.xml.in
parent2c87e2440cab8f6501faf3a4e2d08dbb43d6c73f (diff)
parent57000d752c610984c2074ad8cd2fa2d346794ba9 (diff)
downloadvyos-1x-5974491d4b69932876ad697f82e1ef74cd37aa8f.tar.gz
vyos-1x-5974491d4b69932876ad697f82e1ef74cd37aa8f.zip
Merge pull request #2412 from JeffWDH/sagitta
T5661: Add show ssh dynamic-protection and show log ssh dynamic-protection
Diffstat (limited to 'op-mode-definitions/show-log.xml.in')
-rw-r--r--op-mode-definitions/show-log.xml.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in
index 747622db6..08d5ae11a 100644
--- a/op-mode-definitions/show-log.xml.in
+++ b/op-mode-definitions/show-log.xml.in
@@ -398,12 +398,20 @@
</properties>
<command>journalctl --no-hostname --boot --unit snmpd.service</command>
</leafNode>
- <leafNode name="ssh">
+ <node name="ssh">
<properties>
<help>Show log for Secure Shell (SSH)</help>
</properties>
<command>journalctl --no-hostname --boot --unit ssh.service</command>
- </leafNode>
+ <children>
+ <node name="dynamic-protection">
+ <properties>
+ <help>Show SSH guard log</help>
+ </properties>
+ <command>journalctl --no-hostname --boot --unit sshguard.service</command>
+ </node>
+ </children>
+ </node>
<tagNode name="tail">
<properties>
<help>Show last n changes to messages</help>