Skip to content

Commit 31321b5

Browse files
committed
telemetry: add definitions for reviewbird
1 parent 49de773 commit 31321b5

File tree

1 file changed

+178
-1
lines changed

1 file changed

+178
-1
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 178 additions & 1 deletion
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
},
@@ -4395,6 +4398,180 @@
43954398
}
43964399
]
43974400
},
4401+
{
4402+
"name": "codewhisperer_codeScanIssueIgnore",
4403+
"description": "Called when a code scan issue is ignored",
4404+
"metadata": [
4405+
{
4406+
"type": "component"
4407+
},
4408+
{
4409+
"type": "credentialStartUrl",
4410+
"required": false
4411+
},
4412+
{
4413+
"type": "detectorId"
4414+
},
4415+
{
4416+
"type": "findingId"
4417+
},
4418+
{
4419+
"type": "ruleId",
4420+
"required": false
4421+
}
4422+
]
4423+
},
4424+
{
4425+
"name": "codewhisperer_codeScanIssueIgnoreAll",
4426+
"description": "Called when all code scan issues of a specific type are ignored",
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+
},
4447+
{
4448+
"name": "codewhisperer_codeScanIssueGenerateFix",
4449+
"description": "Called when a code scan issue fix is generated",
4450+
"metadata": [
4451+
{
4452+
"type": "component"
4453+
},
4454+
{
4455+
"type": "credentialStartUrl",
4456+
"required": false
4457+
},
4458+
{
4459+
"type": "detectorId"
4460+
},
4461+
{
4462+
"type": "findingId"
4463+
},
4464+
{
4465+
"type": "ruleId",
4466+
"required": false
4467+
},
4468+
{
4469+
"type": "reason",
4470+
"required": false
4471+
},
4472+
{
4473+
"type": "result",
4474+
"required": true
4475+
}
4476+
]
4477+
},
4478+
{
4479+
"name": "codewhisperer_codeScanIssueRegenerateFix",
4480+
"description": "Called when a code scan issue fix is regenerated",
4481+
"metadata": [
4482+
{
4483+
"type": "component"
4484+
},
4485+
{
4486+
"type": "credentialStartUrl",
4487+
"required": false
4488+
},
4489+
{
4490+
"type": "detectorId"
4491+
},
4492+
{
4493+
"type": "findingId"
4494+
},
4495+
{
4496+
"type": "ruleId",
4497+
"required": false
4498+
},
4499+
{
4500+
"type": "reason",
4501+
"required": false
4502+
},
4503+
{
4504+
"type": "result",
4505+
"required": true
4506+
}
4507+
]
4508+
},
4509+
{
4510+
"name": "codewhisperer_codeScanChatNewTab",
4511+
"description": "Called when a new chat tab is opened in the code scan view",
4512+
"metadata": [
4513+
{
4514+
"type": "codeScanSessionId",
4515+
"required": false
4516+
},
4517+
{
4518+
"type": "credentialSourceId",
4519+
"required": false
4520+
},
4521+
{
4522+
"type": "reason",
4523+
"required": false
4524+
},
4525+
{
4526+
"type": "result",
4527+
"required": true
4528+
}
4529+
]
4530+
},
4531+
{
4532+
"name": "codewhisperer_codeScanChatProjectScan",
4533+
"description": "Called when project scan is selected from chat",
4534+
"metadata": [
4535+
{
4536+
"type": "codeScanSessionId",
4537+
"required": false
4538+
},
4539+
{
4540+
"type": "credentialSourceId",
4541+
"required": false
4542+
},
4543+
{
4544+
"type": "reason",
4545+
"required": false
4546+
},
4547+
{
4548+
"type": "result",
4549+
"required": true
4550+
}
4551+
]
4552+
},
4553+
{
4554+
"name": "codewhisperer_codeScanChatFileScan",
4555+
"description": "Called when file scan is selected from chat",
4556+
"metadata": [
4557+
{
4558+
"type": "codeScanSessionId",
4559+
"required": false
4560+
},
4561+
{
4562+
"type": "credentialSourceId",
4563+
"required": false
4564+
},
4565+
{
4566+
"type": "reason",
4567+
"required": false
4568+
},
4569+
{
4570+
"type": "result",
4571+
"required": true
4572+
}
4573+
]
4574+
},
43984575
{
43994576
"name": "codewhisperer_enabled",
44004577
"description": "Whether or not CodeWhisperer is enabled",

0 commit comments

Comments
 (0)