diff --git a/telemetry/definitions/commonDefinitions.json b/telemetry/definitions/commonDefinitions.json index e0751a474..1314e31a2 100644 --- a/telemetry/definitions/commonDefinitions.json +++ b/telemetry/definitions/commonDefinitions.json @@ -528,6 +528,15 @@ "type": "int", "description": "The compressed payload size of built jars in bytes of customer project context sent for security scan. This is only applicable for Java project" }, + { + "name": "codewhispererCodeScanInvocationSource", + "description": "The location where the code scan is being invoked from", + "type": "string", + "allowedValues": [ + "chat", + "menu" + ] + }, { "name": "codewhispererCodeScanIssuesWithFixes", "type": "int", @@ -554,6 +563,8 @@ "description": "The scope of the security scan being performed", "allowedValues": [ "FILE", + "FILE_AUTO", + "FILE_ON_DEMAND", "PROJECT" ] }, @@ -885,7 +896,8 @@ "infobar", "hover", "webview", - "quickfix" + "quickfix", + "tree" ], "description": "The IDE or OS component used for the action. (Examples: S3 download to filesystem, S3 upload from editor, ...). See also `featureId` for specific feature names, `module` for low-level modules, and `resourceType`." }, @@ -1131,7 +1143,7 @@ "remoteDesktop", "ssh", "scp", - "ssm", + "ssm", "remoteWorkspace" ], "description": "Ways to connect to an EC2 Instance" @@ -4322,6 +4334,16 @@ ], "passive": true }, + { + "name": "codewhisperer_codeScanChatNewTab", + "description": "Called when a new chat tab is opened in the code scan view", + "metadata": [ + { + "type": "credentialSourceId", + "required": false + } + ] + }, { "name": "codewhisperer_codeScanIssueApplyFix", "description": "Called when a code scan issue suggested fix is applied", @@ -4340,15 +4362,35 @@ "type": "findingId" }, { - "type": "reason", + "type": "ruleId", "required": false + } + ] + }, + { + "name": "codewhisperer_codeScanIssueGenerateFix", + "description": "Called when a code scan issue fix is generated", + "metadata": [ + { + "type": "component" }, { - "type": "result" + "type": "credentialStartUrl", + "required": false + }, + { + "type": "detectorId" + }, + { + "type": "findingId" }, { "type": "ruleId", "required": false + }, + { + "type": "variant", + "required": false } ] }, @@ -4375,6 +4417,33 @@ } ] }, + { + "name": "codewhisperer_codeScanIssueIgnore", + "description": "Called when a code scan issue is ignored", + "metadata": [ + { + "type": "component" + }, + { + "type": "credentialStartUrl", + "required": false + }, + { + "type": "detectorId" + }, + { + "type": "findingId" + }, + { + "type": "ruleId", + "required": false + }, + { + "type": "variant", + "required": false + } + ] + }, { "name": "codewhisperer_codeScanIssueViewDetails", "description": "Called when a code scan issue webview is opened", @@ -4481,6 +4550,10 @@ "type": "codewhispererCodeScanBuildZipFileBytes", "required": false }, + { + "type": "codewhispererCodeScanInvocationSource", + "required": false + }, { "type": "codewhispererCodeScanIssuesWithFixes", "required": false @@ -6969,4 +7042,4 @@ ] } ] -} +} \ No newline at end of file