diff --git a/src/kics/kicsRealtimeProvider.ts b/src/kics/kicsRealtimeProvider.ts index b70faea1..c7f9c4e7 100644 --- a/src/kics/kicsRealtimeProvider.ts +++ b/src/kics/kicsRealtimeProvider.ts @@ -296,9 +296,10 @@ export class KicsProvider { async createKicsScan(file: string | undefined) { let results; try { - const additionalParams = vscode.workspace + let additionalParams = vscode.workspace .getConfiguration("CheckmarxKICS") .get("Additional Parameters") as string; + additionalParams = additionalParams.replace(/("[^"]*")|\s+/g, (match, quoted) => quoted ? quoted : ","); if (file) { results = await cx.getResultsRealtime(file, additionalParams); } else {