value : $action, $actorId, $actorEmail, $actorName, $context), id: $actorId, email: $actorEmail, label: $actorName, ); return $this->auditRecorder->record( action: $action, context: $context, workspace: $workspace, actor: $resolvedActor, target: new AuditTargetSnapshot( type: $resourceType, id: $resourceId, label: $targetLabel, ), outcome: $status, recordedAt: CarbonImmutable::now(), summary: $summary, operationRunId: $operationRunId, ); } }