Skip to content

Commit

Permalink
telemetry: add includesFix to codeScanIssueHover (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctlai95 authored Feb 20, 2024
1 parent 1f2f113 commit 24ebf06
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,11 @@
"type": "string",
"description": "The id of the rule which produced the code scan issue"
},
{
"name": "includesFix",
"type": "boolean",
"description": "Whether the security issue includes a suggested fix"
},
{
"name": "syncedResources",
"type": "string",
Expand Down Expand Up @@ -2975,7 +2980,12 @@
{
"name": "codewhisperer_codeScanIssueHover",
"description": "Called when a code scan issue is hovered over",
"metadata": [{ "type": "findingId" }, { "type": "detectorId" }, { "type": "ruleId", "required": false }]
"metadata": [
{ "type": "findingId" },
{ "type": "detectorId" },
{ "type": "ruleId", "required": false },
{ "type": "includesFix" }
]
},
{
"name": "codewhisperer_codeScanIssueApplyFix",
Expand Down

0 comments on commit 24ebf06

Please sign in to comment.