summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-log.xml.in
diff options
context:
space:
mode:
authorJeffWDH <jeffwdh@github.com>2023-10-28 09:42:07 -0400
committerJeffWDH <jeffwdh@github.com>2023-10-28 09:42:07 -0400
commite3f6196ffc904b6bfe349bac6dfb396c17535494 (patch)
treed1beb4ad93297ca328e50c1258ba6049b1d1006a /op-mode-definitions/show-log.xml.in
parentced9ddc3fa635b3bf79b506b0ddfd457b522f5c3 (diff)
downloadvyos-1x-e3f6196ffc904b6bfe349bac6dfb396c17535494.tar.gz
vyos-1x-e3f6196ffc904b6bfe349bac6dfb396c17535494.zip
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..a54d28288 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 dynamic-protection log</help>
+ </properties>
+ <command>journalctl --no-hostname -p info -t sshguard -o short</command>
+ </node>
+ </children>
+ </node>
<tagNode name="tail">
<properties>
<help>Show last n changes to messages</help>