Skip to content

Commit

Permalink
telemetry(codewhisperer): code scan scope #720
Browse files Browse the repository at this point in the history
Problem
Report scan scope to telemetry metrics

Solution
Add codewhispererCodeScanScope field
  • Loading branch information
ctlai95 authored Apr 11, 2024
1 parent 78beebe commit e290891
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,15 @@
"type": "double",
"description": "The total size in bytes of customer project to perform security scan on"
},
{
"name": "codewhispererCodeScanScope",
"type": "string",
"description": "The scope of the security scan being performed",
"allowedValues": [
"FILE",
"PROJECT"
]
},
{
"name": "codewhispererCodeScanSrcPayloadBytes",
"type": "int",
Expand Down Expand Up @@ -3416,6 +3425,10 @@
"type": "codewhispererCodeScanProjectBytes",
"required": false
},
{
"type": "codewhispererCodeScanScope",
"required": false
},
{
"type": "codewhispererCodeScanSrcPayloadBytes"
},
Expand Down

0 comments on commit e290891

Please sign in to comment.