You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/Azure.Mcp.Core/tests/Azure.Mcp.Core.UnitTests/Areas/Server/Commands/ToolLoading/BaseToolLoaderTests.cs
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -420,7 +420,7 @@ public async Task HandleSecretElicitation_WhenUserDeclines_RejectsOperation()
logger.LogInformation("Tool '{Tool}' handles sensitive data. Requesting user confirmation via elicitation.",toolName);
194
194
195
-
// Create the elicitation request with a confirmation checkbox
195
+
// Create the elicitation request with a single-select enum for approve/reject
196
196
varprotocolRequest=newElicitRequestParams
197
197
{
198
198
Message=$"⚠️ SECURITY WARNING: The tool '{toolName}' may expose secrets or sensitive information.\n\nThis operation could reveal confidential data such as passwords, API keys, certificates, or other sensitive values.\n\nDo you want to continue with this potentially sensitive operation?",
0 commit comments