chore: log proxy pcexec auth context
This commit is contained in:
@@ -112,6 +112,10 @@ function register(api: any, config?: any) {
|
||||
async execute(_id: string, params: any) {
|
||||
const command = params.command;
|
||||
const proxyFor = params['proxy-for'];
|
||||
logger.info('proxy-pcexec auth check', {
|
||||
agentId,
|
||||
proxyAllowlist,
|
||||
});
|
||||
if (!command) {
|
||||
throw new Error('Missing required parameter: command');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user