@@ -530,7 +530,7 @@ export class CxWrapper {
530530 return new ExecutionService ( ) . executeCommands ( this . config . pathToExecutable , commands , CxConstants . MASK_TYPE ) ;
531531 }
532532
533- telemetryAIEvent ( aiProvider : string , agent : string , eventType : string , subType : string , engine : string , problemSeverity : string ) : Promise < CxCommandOutput > {
533+ telemetryAIEvent ( aiProvider : string , agent : string , eventType : string , subType : string , engine : string , problemSeverity : string , scanType : string , status : string , totalCount : number ) : Promise < CxCommandOutput > {
534534 const commands : string [ ] = [
535535 CxConstants . TELEMETRY ,
536536 CxConstants . SUB_CMD_TELEMETRY_AI ,
@@ -539,7 +539,10 @@ export class CxWrapper {
539539 CxConstants . TYPE , eventType ,
540540 CxConstants . SUB_TYPE , subType ,
541541 CxConstants . ENGINE , engine ,
542- CxConstants . PROBLEM_SEVERITY , problemSeverity
542+ CxConstants . PROBLEM_SEVERITY , problemSeverity ,
543+ CxConstants . SCAN_TYPE_FLAG , scanType ,
544+ CxConstants . STATUS , status ,
545+ CxConstants . TOTAL_COUNT , totalCount . toString ( )
543546 ] ;
544547 commands . push ( ...this . initializeCommands ( false ) ) ;
545548 const exec = new ExecutionService ( ) ;
0 commit comments