|
Common System 0.2.0
Common interfaces and patterns for system integration
|
Represents a single audit event for registry mutations. More...
#include <registry_audit_log.h>

Public Member Functions | |
| registry_event (registry_action act, std::string target, const source_location &loc=source_location::current(), bool succeeded=true, std::string error="") | |
| Construct a registry event. | |
Public Attributes | |
| registry_action | action |
| The type of action performed. | |
| std::string | target_name |
| Name of the service or logger (empty for clear/freeze operations) | |
| std::string | file |
| File where the operation was initiated. | |
| int | line |
| Line number where the operation was initiated. | |
| std::string | function |
| Function where the operation was initiated. | |
| std::chrono::system_clock::time_point | timestamp |
| Timestamp when the event occurred. | |
| bool | success |
| Whether the operation was successful. | |
| std::string | error_message |
| Error message if the operation failed (empty on success) | |
Represents a single audit event for registry mutations.
Captures all relevant information about a registry operation for security auditing and compliance purposes.
Definition at line 85 of file registry_audit_log.h.
|
inline |
Construct a registry event.
| act | The action type |
| target | Target name (service/logger name) |
| loc | Source location of the operation |
| succeeded | Whether the operation succeeded |
| error | Error message if failed |
Definition at line 119 of file registry_audit_log.h.
| registry_action kcenon::common::interfaces::registry_event::action |
The type of action performed.
Definition at line 87 of file registry_audit_log.h.
| std::string kcenon::common::interfaces::registry_event::error_message |
Error message if the operation failed (empty on success)
Definition at line 108 of file registry_audit_log.h.
| std::string kcenon::common::interfaces::registry_event::file |
File where the operation was initiated.
Definition at line 93 of file registry_audit_log.h.
| std::string kcenon::common::interfaces::registry_event::function |
Function where the operation was initiated.
Definition at line 99 of file registry_audit_log.h.
| int kcenon::common::interfaces::registry_event::line |
Line number where the operation was initiated.
Definition at line 96 of file registry_audit_log.h.
| bool kcenon::common::interfaces::registry_event::success |
Whether the operation was successful.
Definition at line 105 of file registry_audit_log.h.
| std::string kcenon::common::interfaces::registry_event::target_name |
Name of the service or logger (empty for clear/freeze operations)
Definition at line 90 of file registry_audit_log.h.
| std::chrono::system_clock::time_point kcenon::common::interfaces::registry_event::timestamp |
Timestamp when the event occurred.
Definition at line 102 of file registry_audit_log.h.