From 05c53dce2d2849d6e2caf1c119a8c4f02da473e3 Mon Sep 17 00:00:00 2001 From: westey <164392973+westey-m@users.noreply.github.com> Date: Mon, 30 Mar 2026 17:34:45 +0100 Subject: [PATCH] Suppress CodeQL false positive (#4948) Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com> --- dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgent.cs b/dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgent.cs index 05caff4d83..b7001f9a87 100644 --- a/dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgent.cs +++ b/dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgent.cs @@ -1019,7 +1019,7 @@ public sealed partial class ChatClientAgent : AIAgent var loggingAgentName = this.GetLoggingAgentName(); this._logger.LogAgentChatClientMissingPersistingClient( this.Id, - loggingAgentName); + loggingAgentName); // CodeQL [CWE-359] False positive: Agent name is not personal information, but rather just the name of a code component (agent in this case). } }