PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
audit_record.h File Reference

Audit log record data structures. More...

#include <chrono>
#include <optional>
#include <string>
Include dependency graph for audit_record.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::pacs::storage::audit_record
 Audit log record from the database. More...
 
struct  kcenon::pacs::storage::audit_query
 Query parameters for audit log search. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::pacs
 
namespace  kcenon::pacs::storage
 

Enumerations

enum class  kcenon::pacs::storage::audit_event_type {
  kcenon::pacs::storage::association_established , kcenon::pacs::storage::association_released , kcenon::pacs::storage::c_store , kcenon::pacs::storage::c_find ,
  kcenon::pacs::storage::c_move , kcenon::pacs::storage::c_get , kcenon::pacs::storage::security_event , kcenon::pacs::storage::configuration_change ,
  kcenon::pacs::storage::system_startup , kcenon::pacs::storage::system_shutdown , kcenon::pacs::storage::user_login , kcenon::pacs::storage::user_logout ,
  kcenon::pacs::storage::data_access , kcenon::pacs::storage::data_export , kcenon::pacs::storage::error
}
 Audit event type enumeration. More...
 
enum class  kcenon::pacs::storage::audit_outcome { kcenon::pacs::storage::success , kcenon::pacs::storage::failure , kcenon::pacs::storage::warning }
 Audit log outcome/status. More...
 

Functions

auto kcenon::pacs::storage::to_string (audit_event_type type) -> std::string
 Convert audit_event_type enum to string representation.
 
auto kcenon::pacs::storage::parse_audit_event_type (std::string_view str) -> std::optional< audit_event_type >
 Parse string to audit_event_type enum.
 
auto kcenon::pacs::storage::to_string (audit_outcome outcome) -> std::string
 Convert audit_outcome enum to string.
 

Detailed Description

Audit log record data structures.

This file provides the audit_record and audit_query structures for storing and querying audit log entries in the PACS index database.

See also
NFR-3.3 (Audit Logging), HIPAA compliance requirements
Author
kcenon
Since
1.0.0

Definition in file audit_record.h.