diff --git a/app/Services/Cloudflare/AuditLogService.php b/app/Services/Cloudflare/AuditLogService.php index c1066c2..db618ca 100644 --- a/app/Services/Cloudflare/AuditLogService.php +++ b/app/Services/Cloudflare/AuditLogService.php @@ -78,7 +78,9 @@ class AuditLogService extends CloudflareService log_message("notice", "\n----------Account {$account_entity->getTitle()}의 AuditLog 처리 시작-----------"); try { - $endpoint = sprintf("accounts/%s/audit_logs?since=%s", $account_entity->getPK(), date("Y-m-d")); + // 오늘 날짜의 ISO 8601 형식 문자열 생성 + $today = date('Y-m-d') . 'T00:00:00+00:00'; + $endpoint = sprintf("accounts/%s/audit_logs?since=%s", $account_entity->getPK(), $today); log_message("debug", "Auditlog Endpoint: " . $endpoint); $response = $this->getMySocket()->get($endpoint); $body = json_decode($response->getBody());