Skip to content
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

feat: add language server and report analytics via ls [HEAD-911] #458

Merged
merged 15 commits into from
Nov 13, 2023

Conversation

bastiandoetsch
Copy link
Collaborator

@bastiandoetsch bastiandoetsch commented Nov 7, 2023

Description

sends analytics data after scan via language server.

2023-11-08 10:05:00,159 [  88822]   INFO - Snyk Language Server - 2023-11-08T10:05:00+01:00 DBG analytics.sendAnalyticsToAPI - Analytics Payload payload="{"data":{"type":"analytics","attributes":{"deviceId":"95913651-64f8-4d76-b528-4b8a1254e8fa","application":"IntelliJ IDEA 2023.1","application_version":"2023.1","os":"Mac OS X","arch":"x86_64","integration_name":"JETBRAINS_IDE","integration_version":"2.5.7-SNAPSHOT","integration_environment":"INTELLIJ IDEA IC","integration_environment_version":"2023.1","event_type":"Scan done","status":"Succeeded","scan_type":"Snyk Code","unique_issue_count":{"critical":0,"high":5,"medium":17,"low":8},"duration_ms":"4590","timestamp_finished":"2023-11-08T09:05:00.151050Z"}}}"

2023-11-08 10:05:02,109 [  90772]   INFO - Snyk Language Server - 2023-11-08T10:05:02+01:00 DBG analytics.sendAnalyticsToAPI - Analytics Payload payload="{"data":{"type":"analytics","attributes":{"deviceId":"95913651-64f8-4d76-b528-4b8a1254e8fa","application":"IntelliJ IDEA 2023.1","application_version":"2023.1","os":"Mac OS X","arch":"x86_64","integration_name":"JETBRAINS_IDE","integration_version":"2.5.7-SNAPSHOT","integration_environment":"INTELLIJ IDEA IC","integration_environment_version":"2023.1","event_type":"Scan done","status":"Succeeded","scan_type":"Snyk Open Source","unique_issue_count":{"critical":2,"high":49,"medium":46,"low":7},"duration_ms":"6547","timestamp_finished":"2023-11-08T09:05:02.107294Z"}}}"

2023-11-08 10:05:08,094 [  96757]   INFO - Snyk Language Server - 2023-11-08T10:05:08+01:00 DBG analytics.sendAnalyticsToAPI - Analytics Payload payload="{"data":{"type":"analytics","attributes":{"deviceId":"95913651-64f8-4d76-b528-4b8a1254e8fa","application":"IntelliJ IDEA 2023.1","application_version":"2023.1","os":"Mac OS X","arch":"x86_64","integration_name":"JETBRAINS_IDE","integration_version":"2.5.7-SNAPSHOT","integration_environment":"INTELLIJ IDEA IC","integration_environment_version":"2023.1","event_type":"Scan done","status":"Succeeded","scan_type":"Snyk IaC","unique_issue_count":{"critical":0,"high":6,"medium":18,"low":26},"duration_ms":"12534","timestamp_finished":"2023-11-08T09:05:08.093543Z"}}}"

2023-11-08 10:06:19,800 [ 168463]   INFO - Snyk Language Server - 2023-11-08T10:06:19+01:00 DBG analytics.sendAnalyticsToAPI - Analytics Payload payload="{"data":{"type":"analytics","attributes":{"deviceId":"95913651-64f8-4d76-b528-4b8a1254e8fa","application":"IntelliJ IDEA 2023.1","application_version":"2023.1","os":"Mac OS X","arch":"x86_64","integration_name":"JETBRAINS_IDE","integration_version":"2.5.7-SNAPSHOT","integration_environment":"INTELLIJ IDEA IC","integration_environment_version":"2023.1","event_type":"Scan done","status":"Succeeded","scan_type":"Snyk Container","unique_issue_count":{"critical":0,"high":15,"medium":25,"low":2},"duration_ms":"84239","timestamp_finished":"2023-11-08T09:06:19.798330Z"}}}"

Checklist

  • Tests added and all succeed
  • Linted
  • CHANGELOG.md updated
  • README.md updated, if user-facing

Screenshots / GIFs

Visuals that may help the reviewer. Please add screenshots for any UI change. GIFs are most welcome!

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

detekt found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.

@bastiandoetsch bastiandoetsch marked this pull request as ready for review November 8, 2023 10:38
@bastiandoetsch bastiandoetsch requested a review from a team as a code owner November 8, 2023 10:38
@bastiandoetsch bastiandoetsch enabled auto-merge (squash) November 8, 2023 15:18
Copy link
Contributor

@cat2608 cat2608 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔝

@bastiandoetsch bastiandoetsch merged commit 3bb216f into master Nov 13, 2023
8 checks passed
@bastiandoetsch bastiandoetsch deleted the feat/HEAD-911_add-lsp4j-to-intellij branch November 13, 2023 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants