-
Notifications
You must be signed in to change notification settings - Fork 61
telemetry: add definitions for code scan changes #892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| "description": "The compressed payload size of built jars in bytes of customer project context sent for security scan. This is only applicable for Java project" | ||
| }, | ||
| { | ||
| "name": "codewhispererCodeScanInvocationSource", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not use the generic source field? it exists for this purpose.
aws-toolkit-common/telemetry/definitions/commonDefinitions.json
Lines 1649 to 1651 in b2a6280
| "name": "source", | |
| "type": "string", | |
| "description": "The source of the operation" |
| }, | ||
| { | ||
| "name": "codewhisperer_codeScanIssueIgnore", | ||
| "description": "Called when a code scan issue is ignored", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the description is a good place to explain non-obvious fields. e.g. could mention :
| "description": "Called when a code scan issue is ignored", | |
| "description": "User ignored a code scan issue. variant=all means the user ignored all issues. ", |
| } | ||
| ] | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like your editor might be removing the final EOL. please check your editor/IDE settings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it gets removed by running the validation script, but I can add it back manually
| }, | ||
| { | ||
| "name": "codewhisperer_codeScanIssueGenerateFix", | ||
| "description": "Called when a code scan issue fix is generated", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "description": "Called when a code scan issue fix is generated", | |
| "description": "Generated a code scan issue. varant=... means ...", |
Problem
Continuation of #890
Solution
Add definitions for code scan changes
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.