Skip to content

Commit

Permalink
telemetry: q security scan #892
Browse files Browse the repository at this point in the history
  • Loading branch information
ctlai95 authored Oct 23, 2024
1 parent ac8376e commit 6fed4ae
Showing 1 changed file with 67 additions and 3 deletions.
70 changes: 67 additions & 3 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,8 @@
"description": "The scope of the security scan being performed",
"allowedValues": [
"FILE",
"FILE_AUTO",
"FILE_ON_DEMAND",
"PROJECT"
]
},
Expand Down Expand Up @@ -885,7 +887,8 @@
"infobar",
"hover",
"webview",
"quickfix"
"quickfix",
"tree"
],
"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`."
},
Expand Down Expand Up @@ -4335,6 +4338,16 @@
],
"passive": true
},
{
"name": "codewhisperer_codeScanChatNewTab",
"description": "Called when a new chat tab is opened in the code scan view",
"metadata": [
{
"type": "credentialSourceId",
"required": false
}
]
},
{
"name": "codewhisperer_codeScanIssueApplyFix",
"description": "Called when a code scan issue suggested fix is applied",
Expand All @@ -4353,15 +4366,35 @@
"type": "findingId"
},
{
"type": "reason",
"type": "ruleId",
"required": false
}
]
},
{
"name": "codewhisperer_codeScanIssueGenerateFix",
"description": "Generated fix for a code scan issue. variant=refresh means the user chose to generate a fix again after one already exists.",
"metadata": [
{
"type": "component"
},
{
"type": "credentialStartUrl",
"required": false
},
{
"type": "result"
"type": "detectorId"
},
{
"type": "findingId"
},
{
"type": "ruleId",
"required": false
},
{
"type": "variant",
"required": false
}
]
},
Expand All @@ -4388,6 +4421,33 @@
}
]
},
{
"name": "codewhisperer_codeScanIssueIgnore",
"description": "User ignored a code scan issue. variant=all means the user ignored all issues of a specific type.",
"metadata": [
{
"type": "component"
},
{
"type": "credentialStartUrl",
"required": false
},
{
"type": "detectorId"
},
{
"type": "findingId"
},
{
"type": "ruleId",
"required": false
},
{
"type": "variant",
"required": false
}
]
},
{
"name": "codewhisperer_codeScanIssueViewDetails",
"description": "Called when a code scan issue webview is opened",
Expand Down Expand Up @@ -4541,6 +4601,10 @@
},
{
"type": "result"
},
{
"type": "source",
"required": false
}
]
},
Expand Down

0 comments on commit 6fed4ae

Please sign in to comment.