Skip to content

Commit

Permalink
telemetry: codewhisperer code scan metrics #654
Browse files Browse the repository at this point in the history
  • Loading branch information
ctlai95 authored Dec 19, 2023
1 parent bf131ec commit a48c20c
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,21 @@
"type": "string",
"description": "The user group identifier we assign to the customer and it should be unique identifier across different IDE platforms, i.e. Classifier, CrossFile etc."
},
{
"name": "findingId",
"type": "string",
"description": "The id of a security finding from a code scan"
},
{
"name": "detectorId",
"type": "string",
"description": "The id of the detector which produced the code scan issue"
},
{
"name": "ruleId",
"type": "string",
"description": "The id of the rule which produced the code scan issue"
},
{
"name": "syncedResources",
"type": "string",
Expand Down Expand Up @@ -2942,6 +2957,26 @@
}
]
},
{
"name": "codewhisperer_codeScanIssueHover",
"description": "Called when a code scan issue is hovered over",
"metadata": [{ "type": "findingId" }, { "type": "detectorId" }, { "type": "ruleId", "required": false }]
},
{
"name": "codewhisperer_codeScanIssueApplyFix",
"description": "Called when a code scan issue suggested fix is applied",
"metadata": [
{ "type": "findingId" },
{ "type": "detectorId" },
{ "type": "component" },
{ "type": "ruleId", "required": false }
]
},
{
"name": "codewhisperer_codeScanIssueViewDetails",
"description": "Called when a code scan issue webview is opened",
"metadata": [{ "type": "findingId" }, { "type": "detectorId" }, { "type": "ruleId", "required": false }]
},
{
"name": "codewhisperer_serviceInvocation",
"description": "Client side invocation of the CodeWhisperer service for suggestion",
Expand Down

0 comments on commit a48c20c

Please sign in to comment.