Scan for vulnerabilities on all dependencies recursively and ignore sweetalert2 #417
Closed
2 tasks done
Labels
4 - Done
Code has been added to the repository, and has been reviewed by a team member
Improvement
Issues that enhances existing functionality, or adds new features
Milestone
Checklist
Is Your Feature Request Related To A Problem? Please describe.
Right now, in the
audit.yaml
file, we are runningyarn npm audit --severity moderate
, however, this does not seem to scan enough dependencies to catch everything that might be reported by Dependabot. In addition, it reports a low severity vulnerability for sweetalert2, which we have deemed to be ignorable.Describe The Solution. Why is it needed?
We should instead change the command to:
yarn npm audit --all --recursive --ignore 1094698
to ensure that all dependencies are audited recursively. This will ensure that we catch all vulnerabilities before shipping. This also ignores the specific vulnerability ID for sweetalert2 found at GHSA-mrr8-v49w-3333.Additional Context
Related Issues
No response
The text was updated successfully, but these errors were encountered: