class

Shellmin::Utils::SecurityAuditor

Inherits Reference < Object

Security Auditor for comprehensive security monitoring

Class methods

generate_security_report

Generate comprehensive security report

Source
get_audit_log(level : Level | Nil = nil, limit : Int32 = 50) : Array(Event)

Get audit log filtered by criteria

Source
log_event(level : Level, user : String, host : String, command : String, reason : String, context : Hash(String, String) = {} of String => String)

Log a security event

Source
validate_command_with_audit(command : String, user : String = "unknown", host : String = "localhost") : Bool

Enhanced command validation with auditing

Source

Nested types