summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-04 19:22:40 +0200
committerGitHub <noreply@github.com>2023-04-04 19:22:40 +0200
commit73c797b0b369367cb505c2c770926387bf147c69 (patch)
treedef315c331f81ba4b5d7cc36bb10bd60aff70f61 /op-mode-definitions
parente520e08410131a1a65723fd32aeb1d278efa42c4 (diff)
parentf72fa135986186544b6125481bae4691ddd4dded (diff)
downloadvyos-1x-73c797b0b369367cb505c2c770926387bf147c69.tar.gz
vyos-1x-73c797b0b369367cb505c2c770926387bf147c69.zip
Merge pull request #1938 from sever-sever/T5142
T5142: Add audit tool to monitor security-relevant events
Diffstat (limited to 'op-mode-definitions')
-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>