Add new tool "crau-monitor"#206
Merged
ueno merged 3 commits intolatchset:mainfrom Jan 25, 2026
Merged
Conversation
t184256
reviewed
Dec 11, 2025
Collaborator
t184256
left a comment
There was a problem hiding this comment.
Inline: less of a review, more of a mixture of high-level questions with learning Rust questions.
| use std::time::Duration; | ||
| use toml::{Table, Value}; | ||
|
|
||
| const CONFIG: &str = "/etc/crypto-auditing/monitor.conf"; |
Collaborator
There was a problem hiding this comment.
I'm not sure it needs a config, what's would be a compelling reason to use one you're anticipating?
dff8e6a to
a8a56d4
Compare
t184256
approved these changes
Jan 20, 2026
Collaborator
t184256
left a comment
There was a problem hiding this comment.
no more concerns other than the CREATE events
Signed-off-by: Daiki Ueno <dueno@redhat.com>
It is a common use-case to monitor cryptographic usage on the system at real time. This adds a dedicated CLI tool, crau-monitor, by combining the functionalities of event-broker and client. Unlike those, crau-monitor doesn't require any system service but directly reads the log file. Signed-off-by: Daiki Ueno <dueno@redhat.com>
Signed-off-by: Daiki Ueno <dueno@redhat.com>
Contributor
Author
|
Thanks for the review, merging. There will be a follow up on further refactoring of the shared code between log-parser and monitor on tracking contexts. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It is a common use-case to monitor cryptographic usage on the system
at real time. This adds a dedicated CLI tool, crau-monitor, by
combining the functionalities of event-broker and client. Unlike
those, crau-monitor doesn't require any system service but directly
reads the log file.