Add comprehensive security scanning workflows for Node.js#724
Add comprehensive security scanning workflows for Node.js#724lukeina2z wants to merge 1 commit intoaws:masterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #724 +/- ##
=======================================
Coverage 84.31% 84.31%
=======================================
Files 36 36
Lines 1817 1817
=======================================
Hits 1532 1532
Misses 285 285 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
48e5299 to
1761b83
Compare
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
15ca9aa to
50ac3ce
Compare
This commit implements complete security scanning for aws-xray-sdk-node: - CodeQL analysis for JavaScript/TypeScript code security scanning with security-extended queries - npm audit for comprehensive dependency vulnerability scanning - Retire.js for detecting vulnerable JavaScript libraries - Snyk integration for advanced vulnerability detection (requires SNYK_TOKEN secret) - ESLint security plugin for static code analysis - Semgrep for additional security pattern detection - Runs on PR/push and weekly schedule - Proper Lerna monorepo support with package-level scanning - Scans published NPM packages twice daily - Monitors all major packages: core, express, mysql, postgres, restify, main - Downloads and analyzes actual published packages from npm registry - Detects new vulnerabilities in existing published packages - Focuses on actionable security findings - Generates detailed summary reports with vulnerability counts - Comprehensive current dependency scanning with multiple tools - Comprehensive coverage: source code, dependencies, published npm packages - Node.js-focused: npm audit, Retire.js, Snyk, ESLint security, Semgrep - Monorepo support: Lerna-aware scanning of all packages - Security-focused: commit hashes, proper permissions, categorized results - Production-ready: scans actual published packages from npm registry - Robust: proper timeouts, error handling, and caching - Multi-tool approach: combines multiple security scanners for comprehensive coverage - Actionable: clear reporting and GitHub Security tab integration Addresses the critical security gap where aws-xray-sdk-node had no automated security scanning despite being critical infrastructure used in production.
50ac3ce to
728a653
Compare
This commit implements complete security scanning for aws-xray-sdk-node:
CodeQL Security Analysis (.github/workflows/codeql-analysis.yml)
Daily Security Scan (.github/workflows/daily-scan.yml)
Key Features
Addresses the critical security gap where aws-xray-sdk-node had no automated security scanning despite being critical infrastructure used in production.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.