pub struct AccessLog {
pub log_id: Uuid,
pub timestamp: NaiveDateTime,
pub user_id: String,
pub user_name: String,
pub system: String,
pub action: String,
pub success: bool,
pub ip_address: String,
pub session_duration_minutes: Option<u32>,
}Expand description
IT access log entry for ITGC testing.
Captures user authentication and authorization events across IT systems. Auditors review access logs to assess logical access controls (ISA 315, SOX 404 ITGC) including segregation of duties and privileged access.
Fields§
§log_id: UuidUnique identifier for this log entry
timestamp: NaiveDateTimeTimestamp of the access event
user_id: StringEmployee identifier (references master data)
user_name: StringDisplay name of the user
system: StringIT system accessed (e.g. “SAP-FI”, “Active Directory”, “Oracle-HR”)
action: StringAction performed: “login”, “logout”, “failed_login”, “privilege_change”, “data_export”
success: boolWhether the action succeeded
ip_address: StringSource IP address (internal network 10.x.x.x)
session_duration_minutes: Option<u32>Session duration in minutes (populated for logout events)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AccessLog
impl<'de> Deserialize<'de> for AccessLog
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AccessLog
impl RefUnwindSafe for AccessLog
impl Send for AccessLog
impl Sync for AccessLog
impl Unpin for AccessLog
impl UnsafeUnpin for AccessLog
impl UnwindSafe for AccessLog
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more