chore: log proxy pcexec auth context

This commit is contained in:
nav
2026-03-30 11:38:05 +00:00
parent 98a75a50d3
commit a2b965094d

View File

@@ -112,6 +112,10 @@ function register(api: any, config?: any) {
async execute(_id: string, params: any) { async execute(_id: string, params: any) {
const command = params.command; const command = params.command;
const proxyFor = params['proxy-for']; const proxyFor = params['proxy-for'];
logger.info('proxy-pcexec auth check', {
agentId,
proxyAllowlist,
});
if (!command) { if (!command) {
throw new Error('Missing required parameter: command'); throw new Error('Missing required parameter: command');
} }