Skip to content

Commit c42c8ba

Browse files
authored
add autoDetected to code scan events (#989)
## Problem Hover, ignore, and view details events are missing a flag to indicate the finding was auto-detected ## Solution Add `autoDetected` to code scan events <!--- REMINDER: - Read CONTRIBUTING.md first. - Add test coverage for your changes. - Link to related issues/commits. - Testing: how did you test your changes? - Screenshots if applicable --> ## License By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 1c6c863 commit c42c8ba

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4669,6 +4669,10 @@
46694669
"name": "codewhisperer_codeScanIssueHover",
46704670
"description": "Called when a code scan issue is hovered over",
46714671
"metadata": [
4672+
{
4673+
"type": "autoDetected",
4674+
"required": false
4675+
},
46724676
{
46734677
"type": "credentialStartUrl",
46744678
"required": false
@@ -4692,6 +4696,10 @@
46924696
"name": "codewhisperer_codeScanIssueIgnore",
46934697
"description": "User ignored a code scan issue. variant=all means the user ignored all issues of a specific type.",
46944698
"metadata": [
4699+
{
4700+
"type": "autoDetected",
4701+
"required": false
4702+
},
46954703
{
46964704
"type": "component"
46974705
},
@@ -4719,6 +4727,10 @@
47194727
"name": "codewhisperer_codeScanIssueViewDetails",
47204728
"description": "Called when a code scan issue webview is opened",
47214729
"metadata": [
4730+
{
4731+
"type": "autoDetected",
4732+
"required": false
4733+
},
47224734
{
47234735
"type": "credentialStartUrl",
47244736
"required": false

0 commit comments

Comments
 (0)