diff options
author | JeffWDH <jeffwdh@github.com> | 2023-10-21 14:29:05 -0400 |
---|---|---|
committer | JeffWDH <jeffwdh@github.com> | 2023-10-21 14:29:05 -0400 |
commit | 8cdf6eb47052445cde3b4f22e422afa9422a9a73 (patch) | |
tree | 9015b9842f47a5a02d99f0d245330591bac17e60 /op-mode-definitions/show-log.xml.in | |
parent | 69fb230ee022100234af233f2a2823f887c95059 (diff) | |
download | vyos-1x-8cdf6eb47052445cde3b4f22e422afa9422a9a73.tar.gz vyos-1x-8cdf6eb47052445cde3b4f22e422afa9422a9a73.zip |
T5661: Add show show ssh dynamic-protection attacker 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.in | 12 |
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 a2a210543..dcfede991 100644 --- a/op-mode-definitions/show-log.xml.in +++ b/op-mode-definitions/show-log.xml.in @@ -618,12 +618,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> |