Skip to content

Commit

Permalink
telemetry(cwspr): add startUrl to non-passive CodeWhisperer metrics #702
Browse files Browse the repository at this point in the history
  • Loading branch information
leigaol authored Feb 26, 2024
1 parent 11775c0 commit 56434f8
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2951,6 +2951,10 @@
{
"type": "codewhispererCustomizationArn",
"required": false
},
{
"type": "credentialStartUrl",
"required": false
}
],
"passive": true
Expand Down Expand Up @@ -3026,7 +3030,8 @@
{ "type": "findingId" },
{ "type": "detectorId" },
{ "type": "ruleId", "required": false },
{ "type": "includesFix" }
{ "type": "includesFix" },
{ "type": "credentialStartUrl", "required": false }
]
},
{
Expand All @@ -3038,13 +3043,19 @@
{ "type": "component" },
{ "type": "ruleId", "required": false },
{ "type": "result" },
{ "type": "reason", "required": false }
{ "type": "reason", "required": false },
{ "type": "credentialStartUrl", "required": false }
]
},
{
"name": "codewhisperer_codeScanIssueViewDetails",
"description": "Called when a code scan issue webview is opened",
"metadata": [{ "type": "findingId" }, { "type": "detectorId" }, { "type": "ruleId", "required": false }]
"metadata": [
{ "type": "findingId" },
{ "type": "detectorId" },
{ "type": "ruleId", "required": false },
{ "type": "credentialStartUrl", "required": false }
]
},
{
"name": "codewhisperer_serviceInvocation",
Expand Down Expand Up @@ -3514,6 +3525,10 @@
{
"type": "enabled",
"required": true
},
{
"type": "credentialStartUrl",
"required": false
}
]
},
Expand Down

0 comments on commit 56434f8

Please sign in to comment.