EnterpriseAuditRecord class
Tamper-Aware Enterprise Audit Record.
Constructors
-
EnterpriseAuditRecord.create({required String correlationId, required AuditEventType eventType, required AuditActor actor, required String operation, required String packageOrProject, String? command, required AuditEventOutcome outcome, String? relevantVersion, AuditSecurityClassification securityClassification = AuditSecurityClassification.internal, String? failureInformation, String? policyDecision, Map<
String, dynamic> metadata = const {}, String? previousRecordHash, DateTime? timestamp, String? eventId}) -
Factory constructing and hashing a sanitized tamper-aware record.
factory
-
EnterpriseAuditRecord.fromJson(Map<
String, dynamic> json) -
factory
Properties
- actor → AuditActor
-
final
- command → String?
-
final
- correlationId → String
-
final
- eventId → String
-
final
- eventType → AuditEventType
-
final
- failureInformation → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ Map<
String, dynamic> -
final
- operation → String
-
final
- outcome → AuditEventOutcome
-
final
- packageOrProject → String
-
final
- policyDecision → String?
-
final
- previousRecordHash → String?
-
final
- recordHash → String
-
final
- relevantVersion → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- securityClassification → AuditSecurityClassification
-
final
- timestamp → DateTime
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
-
verifyIntegrity(
) → bool - Verifies cryptographic integrity of this record against its payload and previous hash.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited