cisagov / crossfeed

External monitoring for organization assets
https://docs.crossfeed.cyber.dhs.gov
Creative Commons Zero v1.0 Universal
359 stars 54 forks source link

Fix Failing GitHub Actions Frontend Vulnerability Check (Bump node-ip 1.1.8 -> 1.1.9) #2554

Closed Matthew-Grayson closed 5 months ago

Matthew-Grayson commented 5 months ago

๐Ÿ—ฃ Description

๐Ÿ’ญ Motivation and context

Closes issue #2553 Fix frontend vulnerability and address associated failing GitHub Actions check.

๐Ÿงช Testing

โœ… Pre-approval checklist

โœ… Pre-merge checklist

โœ… Post-merge checklist

schmelz21 commented 5 months ago

@Matthew-Grayson, @nickviola, @cduhn17 - When rerunning checks yesterday evening, it looks like Github has reinstated the vulnerability. Can we look at updating to v2.0.1. and do some tests. There is indications that this release is passing in some of the comments in the 'node-ip' repo.

schmelz21 commented 5 months ago

noting dependabot fix - same code change. https://github.com/cisagov/crossfeed/pull/2560

schmelz21 commented 5 months ago

Wouldn't we need to update the package.json instead of the package-lock.json? There could be something I'm missing in how we want to deploy, but that should be the normal process, correct?

@nickviola - Per our conversation can we satisfy this comment and approve?

nickviola commented 5 months ago

Wouldn't we need to update the package.json instead of the package-lock.json? There could be something I'm missing in how we want to deploy, but that should be the normal process, correct?

@nickviola - Per our conversation can we satisfy this comment and approve?

If just updating package-lock.json doesn't cause any issues, thats good with me. I was just thinking that we needed to update in package.json regardless of whatever version we decide. If someone can verify, all good on my end.

schmelz21 commented 5 months ago

Wouldn't we need to update the package.json instead of the package-lock.json? There could be something I'm missing in how we want to deploy, but that should be the normal process, correct?

@nickviola - Per our conversation can we satisfy this comment and approve?

If just updating package-lock.json doesn't cause any issues, thats good with me. I was just thinking that we needed to update in package.json regardless of whatever version we decide. If someone can verify, all good on my end. [ ]

@nickviola - Note the file change from dependabot. (https://github.com/cisagov/crossfeed/pull/2560/files). I figure we use this PR as it contains history and tracked against the project. Also, some additional scope around your question. see the "Answer" . https://stackoverflow.com/questions/58372839/whats-difference-between-package-lock-json-and-package-json-when-is-package-jso

nickviola commented 5 months ago

Wouldn't we need to update the package.json instead of the package-lock.json? There could be something I'm missing in how we want to deploy, but that should be the normal process, correct?

@nickviola - Per our conversation can we satisfy this comment and approve?

If just updating package-lock.json doesn't cause any issues, thats good with me. I was just thinking that we needed to update in package.json regardless of whatever version we decide. If someone can verify, all good on my end. [ ]

@nickviola - Note the file change from dependabot. (https://github.com/cisagov/crossfeed/pull/2560/files). I figure we use this PR as it contains history and tracked against the project. Also, some additional scope around your question. see the "Answer" . https://stackoverflow.com/questions/58372839/whats-difference-between-package-lock-json-and-package-json-when-is-package-jso

Sounds good. I'll resolve the requested changes.