Skip to content

Conversation

@Mayank77maruti
Copy link
Contributor

This PR :- introduces an automated security check by integrating npm audit into the CI/CD pipeline. The enhancement ensures that installed npm packages are scanned for vulnerabilities, providing detailed reports on critical, high, and moderate issues. The pipeline is configured to fail if vulnerabilities are detected, enforcing secure code practices. For flexibility, a SKIP_AUDIT_FAILURE environment variable allows the pipeline to continue if needed, enabling quick iterations while still flagging security concerns. This implementation aligns with best practices, improves security posture, and reduces the risk of deploying code with known vulnerabilities.

closes #4119

@Mayank77maruti
Copy link
Contributor Author

Hey @walterbender , do review this.
Thank you.

@walterbender walterbender merged commit ec1ecdc into sugarlabs:master Dec 8, 2024
4 checks passed
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.

Implementing a Comprehensive Security Scan Workflow

2 participants