Enum AuditLogRole
- Namespace
- Excalibur.AuditLogging
- Assembly
- Excalibur.AuditLogging.dll
Defines the access levels for audit log operations.
public enum AuditLogRole
Fields
Administrator = 4Administrator with full access including export capabilities.
Full access to all audit operations including export and integrity verification. Should be restricted to a minimal number of users.
ComplianceOfficer = 3Compliance officer with read access to all events.
Read-only access to the complete audit trail for compliance reporting and SOC2 evidence collection.
Developer = 1Developer role with no audit log access.
Developers should not have access to audit logs in production to maintain segregation of duties.
None = 0No audit log access.
SecurityAnalyst = 2Security analyst with read access to security-related events only.
Can view: Authentication, Authorization, Security event types. Cannot view: DataAccess, DataModification, Compliance events.
Remarks
Audit log access is role-based with the following hierarchy: - None: No audit log access - Developer: No audit log access (development role) - SecurityAnalyst: Read security events only - ComplianceOfficer: Read all events (compliance reporting) - Administrator: Full access including export
Roles are ordered by increasing privilege level for comparison operations.