Skip to content

Commit 6fed4ae

Browse files
authored
telemetry: q security scan #892
1 parent ac8376e commit 6fed4ae

File tree

1 file changed

+67
-3
lines changed

1 file changed

+67
-3
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 67 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,8 @@
554554
"description": "The scope of the security scan being performed",
555555
"allowedValues": [
556556
"FILE",
557+
"FILE_AUTO",
558+
"FILE_ON_DEMAND",
557559
"PROJECT"
558560
]
559561
},
@@ -885,7 +887,8 @@
885887
"infobar",
886888
"hover",
887889
"webview",
888-
"quickfix"
890+
"quickfix",
891+
"tree"
889892
],
890893
"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`."
891894
},
@@ -4335,6 +4338,16 @@
43354338
],
43364339
"passive": true
43374340
},
4341+
{
4342+
"name": "codewhisperer_codeScanChatNewTab",
4343+
"description": "Called when a new chat tab is opened in the code scan view",
4344+
"metadata": [
4345+
{
4346+
"type": "credentialSourceId",
4347+
"required": false
4348+
}
4349+
]
4350+
},
43384351
{
43394352
"name": "codewhisperer_codeScanIssueApplyFix",
43404353
"description": "Called when a code scan issue suggested fix is applied",
@@ -4353,15 +4366,35 @@
43534366
"type": "findingId"
43544367
},
43554368
{
4356-
"type": "reason",
4369+
"type": "ruleId",
4370+
"required": false
4371+
}
4372+
]
4373+
},
4374+
{
4375+
"name": "codewhisperer_codeScanIssueGenerateFix",
4376+
"description": "Generated fix for a code scan issue. variant=refresh means the user chose to generate a fix again after one already exists.",
4377+
"metadata": [
4378+
{
4379+
"type": "component"
4380+
},
4381+
{
4382+
"type": "credentialStartUrl",
43574383
"required": false
43584384
},
43594385
{
4360-
"type": "result"
4386+
"type": "detectorId"
4387+
},
4388+
{
4389+
"type": "findingId"
43614390
},
43624391
{
43634392
"type": "ruleId",
43644393
"required": false
4394+
},
4395+
{
4396+
"type": "variant",
4397+
"required": false
43654398
}
43664399
]
43674400
},
@@ -4388,6 +4421,33 @@
43884421
}
43894422
]
43904423
},
4424+
{
4425+
"name": "codewhisperer_codeScanIssueIgnore",
4426+
"description": "User ignored a code scan issue. variant=all means the user ignored all issues of a specific type.",
4427+
"metadata": [
4428+
{
4429+
"type": "component"
4430+
},
4431+
{
4432+
"type": "credentialStartUrl",
4433+
"required": false
4434+
},
4435+
{
4436+
"type": "detectorId"
4437+
},
4438+
{
4439+
"type": "findingId"
4440+
},
4441+
{
4442+
"type": "ruleId",
4443+
"required": false
4444+
},
4445+
{
4446+
"type": "variant",
4447+
"required": false
4448+
}
4449+
]
4450+
},
43914451
{
43924452
"name": "codewhisperer_codeScanIssueViewDetails",
43934453
"description": "Called when a code scan issue webview is opened",
@@ -4541,6 +4601,10 @@
45414601
},
45424602
{
45434603
"type": "result"
4604+
},
4605+
{
4606+
"type": "source",
4607+
"required": false
45444608
}
45454609
]
45464610
},

0 commit comments

Comments
 (0)