Websockets Implementation for the Connecting screen#310
Websockets Implementation for the Connecting screen#310codingLogan wants to merge 7 commits intomasterfrom
Conversation
| @@ -1,17 +0,0 @@ | |||
| name: NPM Audit | |||
There was a problem hiding this comment.
Does snyk do an npm audit? In my experience it hasn't
There was a problem hiding this comment.
@wesrisenmay-mx yes it does, but I can't speak to the exact details of Snyk's checks (what counts as critical/high/medium etc. I believe there are more areas involved that check how easily exploitable a problem is when it determines to block or not).
If you follow the links in GitHub where the Snyk check is, you can find where it says no new high vulnerabilities were found.
There was a problem hiding this comment.
I really think we should be running npm audit on our code. I know a couple times ago when there were big npm vulnerabilities I was asked if we were running npm audit in our pipelines.
There was a problem hiding this comment.
Previously, we didn't have Snyk set up in our project, so we ran manual npm audit scripts. Now we have Snyk, which infosec has more flexibility and control for the organization.
When I spoke with infosec about vulnerability audits a bit ago, the recommended approach is to rely on Snyk, and no longer use manual audits in pipelines. There are advantages with Snyk that we do not get with raw npm audits.
- If no fix is available yet, we can temporarily bypass a CVE with infosec's help/approval
- If a vulnerability is reported, but is hard/impossible to exploit, Snyk takes that into account for us and won't block a pipeline
I do agree that we need to be actively taking care of vulnerabilities that come up, and Snyk is the more wholistic approach to handling it. We can additionally handle CVEs on our dev machines when we notice things too. For intstance, when npm gives us the audit results after installing we are alerted to the current CVEs. Really we should be diligent at the dev level at that point as well.
|
Recent Test Runs With the new feature enabled With the new feature disabled |
How the feature works
The hosting app does a lot of the heavy lifting and passes in what is required by the UI
How to pass the values into the UI package
In the hosting app, pass in a new prop object to the ConnectWidget named
webSocketConnectionTo enable the widget to use those values, you must also enable the
useWebSocketsexperimental feature