summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-log.xml.in
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-04-04 10:36:24 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-04-04 10:36:24 +0000
commitf72fa135986186544b6125481bae4691ddd4dded (patch)
tree73b586d93e7fed96e1d3323f98ba8b5c4d9c475d /op-mode-definitions/show-log.xml.in
parent94b65bb3936b607a6bc85fe23176ff855c722519 (diff)
downloadvyos-1x-f72fa135986186544b6125481bae4691ddd4dded.tar.gz
vyos-1x-f72fa135986186544b6125481bae4691ddd4dded.zip
T5142: Add audit tool to monitor security-relevant events
Diffstat (limited to 'op-mode-definitions/show-log.xml.in')
-rw-r--r--op-mode-definitions/show-log.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in
index 7f6469ca9..7663e4c00 100644
--- a/op-mode-definitions/show-log.xml.in
+++ b/op-mode-definitions/show-log.xml.in
@@ -8,6 +8,12 @@
</properties>
<command>journalctl --no-hostname --boot</command>
<children>
+ <leafNode name="audit">
+ <properties>
+ <help>Show audit logs</help>
+ </properties>
+ <command>cat /var/log/audit/audit.log</command>
+ </leafNode>
<leafNode name="all">
<properties>
<help>Show contents of all master log files</help>